69 questions
Score of 0
1 answer
94 views
Quarkus Error: Provider io.opentelemetry.exporter.otlp.internal.OtlpMetricExporterProvider not found
I am working on implementing OpenTelemetry in Quarkus and I intentd to ship logs, metrics and traces to an OTEL Collector which in turn ships these to Grafana
I see this error when my application ...
Score of 1
1 answer
698 views
Spring Boot 4.0.1: OpenTelemetry trying to connect to collector despite excludinq OTLP exporter
After migrating from Spring Boot 3.5.6 to 4.0.1, I switched from Micrometer tracing tc OpenTelemetry (as Micrometer autoconfiguration is no longer supported). I don't need to export traces to a ...
Best practices
0
votes
0
replies
60
views
How to Return a Custom Tracer from OpenTelemetrySDK using an OTel Agent Extension?
I am running a Java application with an OpenTelemetry JavaAgent for auto-instrumentation.
For my use case, I would like to create an agent extension that introduces a new, additional Tracer. The new ...
Score of 0
1 answer
93 views
Duplication of count metric caused by scheduler running on multiple pod
Background: We are fetching the total number of tenants from the database and pushing a metric via a scheduler to Dynatrace using OpenTelemetry spring boot starter. Since there are three replica pods, ...
Score of 0
1 answer
132 views
Toggling export of OTLP tracing not working with GraalVM native images
To make the export work at all for a native image build, it needs to be enabled during AOT processing. So we have this for the profile used for the build:
management.otlp.tracing.export.enabled: true
...
Score of 3
1 answer
259 views
Create an extra trace representing the "time spent inside Kafka" using Spring Kafka / OpenTelemetry
I'm working with a Spring Boot Kafka consumer that uses OpenTelemetry for tracing.
Currently, I have a single span that covers the entire message processing, but I want to create a separate, an extra ...
Score of 1
1 answer
551 views
HttpExporter : Failed to export logs
I try to disable opentelemetry exporter in my local spring profile.
In application-local.yaml I have:
opentelemetry:
sdk:
disable: true
instrumentation:
enabled: false
exporter:
otlp:...
Score of 0
0 answers
181 views
"Provider io.opentelemetry.exporter.otlp.internal.OtlpSpanExporterProvider not found" in native mode
I'm trying to integrate OpenTelemetry in a Quarkus application, to export TRACES via OTLP, using "http/protobuf" as protocol. When I run the application in pure-java mode, even in dev-mode, ...
Score of 2
0 answers
208 views
Issue in propagation of Trace context among Kafka clients
I am building Java + Springboot application to consume Kafka messages from a topic and publish it to other topic. The same message is also consumed by another similar application which does the same ...
Score of 0
2 answers
281 views
How do I instrument a non-supported IBMMQ/Jms service within an instrumented Spring Boot App without using Otel Java Agent?
Note: I am not using Otel Java Agent, I will elaborate on it in the last section.
I have a Spring Boot App with the following services implemented:
Spring Kafka Consumer using org.springframework....
Score of 2
2 answers
893 views
Springboot Gradle Open Telemetry dependency error
I have a Java 17, SpringBoot with gradle application, and I'm trying to add dependencies for opentelemetry instrumentation.
I am getting java.lang.ClassNotFoundException: io.opentelemetry.api....
Score of 1
1 answer
253 views
Otel Extension with External Libraries
What am I doing ?
trying to create a Otel Extension and everything is working fine until the moment I use external libraries.
Relevant context information:
I am using Maven instead of Gradle.
I don'...
Score of 1
0 answers
201 views
Issue migrating OpenTelemetry for Java from v1.42.1 to >=1.44.0
I'm getting following error while trying to migrate OTel in my spring boot application from OTel version 1.42.1 (no issues publishing the metrics) to 1.44.1. But, getting the following error.
Mar 07, ...
Score of 0
0 answers
81 views
Add autoinstrumentation with OpenTelemetry when not using SpringBoot
I have an AWS Lambda function that I am developing in Java.
I am using the pacakge io.opentelemetry.sdk.autoconfigure.AutoConfiguredOpenTelemetrySdk to set up telemetry and I use it like this:
public ...
Score of 1
1 answer
212 views
spring boot 3, with @Scheduled, and io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter keep using same trace id again and again?
Spring boot 3.4.2 with:
io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter
Managed by:
mavenBom("io.opentelemetry:opentelemetry-bom:1.46.0")
and
mavenBom("io....