-
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
OpenTelemetry integration #981
Conversation
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
…unning Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
…es to JavaDockerImageNames Signed-off-by: dhoard <doug.hoard@gmail.com>
…es to JavaDockerImageNames Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
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.
Hi Doug, sorry for the delay, I finally found the time for a first review. I focused mostly on the production code. Looking good, I left a few comments.
...ommon/src/main/java/io/prometheus/jmx/common/opentelemetry/OpenTelemetryExporterFactory.java
Outdated
Show resolved
Hide resolved
jmx_prometheus_javaagent/src/main/java/io/prometheus/jmx/JavaAgent.java
Outdated
Show resolved
Hide resolved
jmx_prometheus_javaagent/src/main/java/io/prometheus/jmx/JavaAgent.java
Outdated
Show resolved
Hide resolved
…cified Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
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.
Hi Doug, it's looking great!
I got a few minor comments regarding error messages or renames. Functionality is looking great.
jmx_prometheus_javaagent/src/main/java/io/prometheus/jmx/JavaAgent.java
Outdated
Show resolved
Hide resolved
jmx_prometheus_javaagent/src/main/java/io/prometheus/jmx/JavaAgent.java
Outdated
Show resolved
Hide resolved
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
Signed-off-by: dhoard <doug.hoard@gmail.com>
format("Malformed arguments for Standalone HTTP mode [%s]", agentArgument)); | ||
} | ||
} else { | ||
mode = Mode.OPEN_TELEMETRY; |
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.
If I understand correctly, if neither a port for the Prometheus HTTP endpoint nor opentelemetry:
in the config is specified, jmx_exporter
will silently do nothing.
Should we print an error and exit in that case?
I am closing PR for new/cleaner PR. |
👍 please ping me when the new PR is ready. |
OpenTelemetry integration.