-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[googlemanagedprometheusexporter] Include resource labels #12175
Comments
Just curious: which receiver are you using? The GMP exporter relies primarily on service.name, service.namespace, and service.instance.id (mapped to But regardless, the request to add the resourcetotelemetry helper is a good idea. |
Interesting.. I am using otlp receiver together with When using both GMP exporter and file exporter simultaneously, I can confirm that the file exporter "sees" Upd: improved wording |
Can you paste your resources from the file exporter? |
|
If you set
which would set I'll work on adding resourcetotelemetry |
Thanks, it worked. A small note - I had to specify
Looking forward to |
Maybe someone will find this usefull. After playing with
This basically copies |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Is your feature request related to a problem? Please describe.
In my use case, most of the labels are resource labels and they are ignored by the exporter, which leads to collisions ( "duplicate timeseries enountered" errors). I could be wrong, but I believe this issue is solved in prometheus and prometheusremotewrite exporters using resourcetotelemetry helper.
Describe the solution you'd like
Similar to how its implemented in
prometheusexporter
andprometheusremotewriteexporter
. Probably using resourcetotelemetry helperDescribe alternatives you've considered
I tried to promote resource labels to metrics labels using a processor but didn't find anything that could do the job. But I wouldn't be surprised there's a way.
Additional context
N/A
The text was updated successfully, but these errors were encountered: