Replies: 1 comment 1 reply
-
You can have multiple span exporters, but not metrics at the moment. This will probably be addressed in coming months. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi , Currently we are using otel colletor to collect all the metrices and traces . Can i explicitly use prometheus exporter along with it , and if yes then how . I dont want metrics to be collected by otel-collector but directly by prometheus exporter.
Currently we are using in below formats :
java -javaagent:opentelemetry-javaagent-all.jar -Dotel.instrumentation.spring-batch.enabled=true -Dotel.exporter.otlp.endpoint="http://localhost:4317" -jar -Dotel.resource.attributes=service.name=importJob import/build/libs/*.jar
AND FOR DOCKER
export OTEL_EXPORTER_OTLP_HOST="${OTEL_EXPORTER_OTLP_HOST:=xx.xxx.xx.xx}"
export OTEL_EXPORTER_OTLP_PORT="${OTEL_EXPORTER_OTLP_PORT:=4317}"
java -javaagent:opentelemetry-javaagent-all.jar
-Dotel.instrumentation.spring-batch.enabled=true
-jar -Dspring.profiles.active=test /tc/import.jar
Beta Was this translation helpful? Give feedback.
All reactions