-
Notifications
You must be signed in to change notification settings - Fork 997
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
add option for resource attributes in metrics for prometheus exporter #4733
add option for resource attributes in metrics for prometheus exporter #4733
Commits on Nov 29, 2023
-
add option for resource attributes in metrics for prometheus exporter
This PR adds the `WithResourceAsConstantLabels` option to the Prometheus exporter to allow users to configure resource attributes to be applied on every metric. Fixes open-telemetry#4732 Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedNov 29, 2023 Configuration menu - View commit details
-
Copy full SHA for 20dd918 - Browse repository at this point
Copy the full SHA 20dd918View commit details -
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedNov 29, 2023 Configuration menu - View commit details
-
Copy full SHA for c117380 - Browse repository at this point
Copy the full SHA c117380View commit details -
add test for including only a subset of tags, dont use a ptr
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedNov 29, 2023 Configuration menu - View commit details
-
Copy full SHA for fe4a72f - Browse repository at this point
Copy the full SHA fe4a72fView commit details -
Update exporters/prometheus/config.go
Co-authored-by: David Ashpole <dashpole@google.com>
Configuration menu - View commit details
-
Copy full SHA for f228b81 - Browse repository at this point
Copy the full SHA f228b81View commit details -
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedNov 29, 2023 Configuration menu - View commit details
-
Copy full SHA for cdde3f4 - Browse repository at this point
Copy the full SHA cdde3f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0237d61 - Browse repository at this point
Copy the full SHA 0237d61View commit details
Commits on Nov 30, 2023
-
removed map in favour of single keyVals
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedNov 30, 2023 Configuration menu - View commit details
-
Copy full SHA for 88d070c - Browse repository at this point
Copy the full SHA 88d070cView commit details -
Update exporters/prometheus/config.go
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 930ff09 - Browse repository at this point
Copy the full SHA 930ff09View commit details
Commits on Dec 1, 2023
-
move check outside the createResourceAttributes and rename func
Signed-off-by: Alex Boten <aboten@lightstep.com>
Alex Boten committedDec 1, 2023 Configuration menu - View commit details
-
Copy full SHA for b7cb11c - Browse repository at this point
Copy the full SHA b7cb11cView commit details