Caused by: io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: localhost/127.0.0.1:55680
Is there a way to disable the default otel exporter?Get this error when trying to integrate with the agent:
| [opentelemetry.auto.trace 2020-12-01 06:58:55:217 +0000] [grpc-default-executor-0] WARN io.opentelemetry.exporters.otlp.OtlpGrpcMetricExporter - Failed to export metrics
| io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 873719415ns. [buffered_nanos=798355511, remote_addr=otel-collector/172.28.0.6:55680]
Spans seem to be exporting fine and I can view the spans in Jaeger. However, metrics exporter shows the error above. Any help on the metrics would be appreciated.
I also have prometheus setup as an exporter in the collector. Ideally, the metrics should end up there right?
opentelemetry-javaagent-all
with opentelemetry-exporters-newrelic-auto
and was wondering if metrics will be automatically enabled? If so, how can I disable it or how can I get only Tracing pushing data to Newrelic?Tracer tracer = OpenTelemetry.getTracer("arg1", "arg2");
What do I use for arg1 and arg2 in this case? I am using 0.8.0 version of the auto instrumentation jar and opentelemetry api.
hey everyone, we just enabled github discussions! if you wouldn't mind (re-)posting questions over there it will be much easier for us to track/respond compared to gitter. thanks!! :heart:
https://github.com/open-telemetry/opentelemetry-java-instrumentation/discussions
Hi all, I am trying to enable auto instrumentation on my app and export the traces to jeager. As per the doc https://opentelemetry.io/docs/java/getting_started or https://github.com/open-telemetry/opentelemetry-java-instrumentation I should add below properties to start my app, but it does not tell where to find exporter for jeager. I could not locate it on maven central repository. Do I need to build it from source?
java -javaagent:path/to/opentelemetry-javaagent-all.jar
-Dotel.exporter=jeager
-Dotel.exporter.jar=path/to/external-exporter.jar
-jar myapp.jar
Hi All, I am trying to set up the otlp exporter on http using the java system property (-Dotel.exporter.otlp.endpoint=localhost:8443/app) which is running on apache tomcat8.5 (ssl port or https configured) and also I have enabled the http2 as well on the same port but i am receiving the below exception and no request is logging at the server side. The exception is as follow:
WARN io.opentelemetry.exporter.otlp.OtlpGrpcSpanExporter - Failed to export spans. Error message: INTERNAL: http2 exception
Ps:the above mentioned otel endpoint has v1/traces and /v1/metrics configured (eg. https://localhost:8443/app/v1/traces)
Here is the command to start the java program
java -javaagent:/Users/Downloads/javaagent/opentelemetry/opentelemetry-javaagent-all.11.0.jar -Dotel.exporter.otlp.endpoint=localhost:8443/app/ -Dotel.exporter.otlp.protocol=http/json -cp randomHttp.jar com.HttpUrlTest
Any help would be appreciated.
Thanks.