-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 support for OpenTelemetry #995
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
812fed2
to
721a3b0
Compare
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
… output Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
@dhoard that's a big pr - can you walk me through it on the next meeting or set up a call? |
Definitely. |
Signed-off-by: dhoard <[email protected]>
ConfigurationException.supplier( | ||
"Missing /openTelemetry configuration")); | ||
|
||
String endpoint = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can configure otel based on env vars only (since 1.3.2) - see https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/
I'm not sure if this already works with this PR.
Maybe it would be an idea to add otel: true
or similar to make it obvious that those env vars should be used (since you'd have no otel config in the yaml)
+ " an integer greater than 0"))) | ||
.orElse(NO_INTERVAL); | ||
|
||
Map<String, String> headers = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be good to support resource attributes the same way
jmx_prometheus_javaagent/src/test/java/io/prometheus/jmx/ArgumentsTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
Signed-off-by: dhoard <[email protected]>
@fstab please review.