Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
31 views

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 ...
FloW's user avatar
  • 239
0 votes
1 answer
84 views

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, ...
Shiva's user avatar
  • 1
0 votes
1 answer
62 views

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 ...
codesimplicity's user avatar
3 votes
1 answer
205 views

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 ...
PatPanda's user avatar
  • 5,418
1 vote
1 answer
255 views

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:...
gstackoverflow's user avatar
0 votes
0 answers
109 views

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, ...
Sergio Pio Alvarez's user avatar
2 votes
0 answers
159 views

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 ...
Arvind Singh Rawat's user avatar
0 votes
2 answers
165 views

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....
ALVIN's user avatar
  • 1
0 votes
0 answers
24 views

Due to some architectural limitation i was not able install oneagent from the dynatrace. So as an alternate option i have implemented the application with the opentelemetry codes to get the traces and ...
Jatin's user avatar
  • 1
0 votes
0 answers
139 views

I have a NiFi flow that includes various custom processors to collect data from Kafka, perform calculations, and store results in a database. I want to add OpenTelemetry tracing to gain better ...
vigneshwar reddy's user avatar
2 votes
2 answers
717 views

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....
Chedva's user avatar
  • 301
1 vote
1 answer
186 views

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'...
Unova's user avatar
  • 11
1 vote
0 answers
156 views

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, ...
Ashok Kumar P S's user avatar
0 votes
0 answers
95 views

I would like to register a SpanProcessor that adds the current baggage as span attributes. I have declared a configuration bean as follows: @Bean public AutoConfigurationCustomizerProvider provider() {...
Olivier Gérardin's user avatar
0 votes
0 answers
287 views

I am using the OTEL Spring Boot starter https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/ and trying to auto inject logs as per https://github.com/open-telemetry/opentelemetry-java-...
Prabal Rakshit's user avatar
0 votes
0 answers
40 views

I am using the Spring Boot Open Telemetry Starter as mentioned here to trace calls between APIs. https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/ A sample code looks like this: @...
Prabal Rakshit's user avatar
0 votes
0 answers
59 views

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 ...
sergi's user avatar
  • 1,109
0 votes
1 answer
153 views

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....
bir's user avatar
  • 1
1 vote
0 answers
284 views

I am seeing high cpu consumed when I enabled the default OTEL agent settings via otel.instrumentation.common.default-enabled=true I want to pin point which feature is accounting for the excessive cpu ...
Chip's user avatar
  • 11
0 votes
0 answers
20 views

When I invoke an external api call from my microservice , a new spanID (which is reflecting jaeger but not in App logs) is getting generated but I am unable to print the new spanID in my applictaion ...
mpsimham's user avatar
2 votes
0 answers
65 views

I am developing a project using Spring Boot and OpenTelemetry, but when I send traces to Jaeger, I only see the first level of the trace. docker-compose # https://www.jaegertracing.io/docs/2.2/...
Cícero Ednilson's user avatar
0 votes
2 answers
402 views

To use open telemetry with spring, the following seems to be needed the opentelemetry java api the opentelemetry java agent the opentelemetry collector. All of these have different version schemes, ...
serv-inc's user avatar
  • 38.8k
1 vote
1 answer
479 views

I'm setting up distributed tracing in my Spring Boot application using Micrometer Tracing and OpenTelemetry to send data to an OpenObserve instance, but I'm facing issues where traces are being ...
Sabith Citrus's user avatar
1 vote
1 answer
195 views

I'm seeing some odd behavior with opentelemetry-java (via SmallRye OpenTelemetry). For some context, this is running in the WildFly application server, which integrates smallrye-opentelemtry for its ...
jasondlee's user avatar
  • 296
4 votes
0 answers
292 views

I am trying to integrate OpenTelemetry with my existing Spring Boot application using the Zero-code instrumentation Spring Boot Starter. I followed the official documentation and configured the ...
Harshad Panmand's user avatar
0 votes
0 answers
60 views

I am using an Open Telemtery JAVA SDK to publish some metrics an OTEL sink like Dynatrace. I am sending gauges, updown counters etc. to dynatrace and see that UpDown Counters are successuflly pushed, ...
Prabal Rakshit's user avatar
0 votes
0 answers
72 views

I have spring boot project which is on version 2.7.7. We have some dependency on otel telementery for that we have used some part of build.gradle like below. id "com.github.johnrengelman....
Nikita Pawaskar's user avatar
0 votes
0 answers
174 views

I am using Spring Boot 3.2.1 with the opentelemetry-javaagent 2.10 for zero-code instrumentation. I also have Apache Airflow 2.10.2 set up with OpenTelemetry configured. When my Spring Boot ...
Juyoung Jeong's user avatar
0 votes
1 answer
610 views

I am trying the opentelemetry auto-instrumentation. But it appears that the trace is being lost when using CompletableFuture.handle. Could anyone please assist me with this issue? @GetMapping("/...
user1684689's user avatar
0 votes
0 answers
371 views

We are using Springboot and micrometer based implementation for Opentelemetry with Jaeger as the collector. Everything works as expected in terms of sending the traces to Jaeger. One of the ...
sg2000's user avatar
  • 325
1 vote
1 answer
783 views

Is it possible to get the Open Telemetry auto instrumentation to include the full URL path and query string (i.e. either the full URL or the entire URL after the protocol, host and port) rather than ...
Jess Holle's user avatar
2 votes
0 answers
630 views

So I am trying to configure my spring boot app to use OpenTelemetry Spring boot starter. I'm using logback for logging, and I'm using application.yml for application configuration. When calling the ...
Filip Petrovic's user avatar
2 votes
0 answers
496 views

We are using Springboot 3.1.4 and i have been trying to leverage the Micrometer based approach for distrubted tracing of the application. I have included the right build.gradle dependencies but the ...
sg2000's user avatar
  • 325
0 votes
1 answer
384 views

I have an EAP7 application running in OpenShift with a javaagent attached with application insights (Azure). I have followed the guide for filtering telemetry and configuring the agent with the guide: ...
lhn_dk's user avatar
  • 21
0 votes
1 answer
110 views

How do I add attributes to the target info metric without adding them to spans? This code will add attributes to both the target info metric and all the spans: AutoConfiguredOpenTelemetrySdk.builder ...
Gabriel's user avatar
  • 1,783
2 votes
0 answers
86 views

I've been exploring the OpenTelemetry documentation and see that there are two primary methods for enabling OpenTelemetry in Java applications: using the Java Agent Bytecode approach or integrating ...
SKS's user avatar
  • 171
2 votes
0 answers
134 views

I have springboot application and I want to log the request/response/headers as single json object as defind below https://opentelemetry.io/docs/concepts/signals/logs/#structured-logs Is there any ...
Senthilkumar Dhanapal's user avatar
0 votes
1 answer
95 views

Quarkus provides a quickstart project for opentelemety integration showing how you can automatically create a span of kind Client or Server inside an http application. In the same way, can quarkus ...
Youcef's user avatar
  • 243
1 vote
0 answers
149 views

I'm implementing OpenTelemetry in my project and created a bean as follows @Bean public static OpenTelemetry openTelemetry() { Resource resource = Resource.getDefault(); SdkTracerProvider ...
Keerthana C's user avatar
0 votes
1 answer
299 views

I am injecting the spanId and traceId flowing via HTTP header to to build a remote context and creating new Span, however the new span does not get the parent trace and span but created its own trace ...
Neil's user avatar
  • 6,009
-1 votes
1 answer
67 views

I have created a simple, dummy OpenTelemetry Java Agent extension. It contains only one class and it looks like this: import com.google.auto.service.AutoService; import io.opentelemetry.sdk....
Harold L. Brown's user avatar
0 votes
1 answer
149 views

Below is my Otel implementation to instantiate the OpenTelemetry SDKs for Metrics & Traces. I found that Metrics are getting emitted whenever application requests are getting served but Traces are ...
Swapnil Kotwal's user avatar
0 votes
1 answer
836 views

I am trying to enable opentelemetry for one of our SpringBoot services. I was able to invoke it by adding the below to the build.gradle implementation 'io.opentelemetry:opentelemetry-bom:1.39.0' ...
sg2000's user avatar
  • 325
0 votes
1 answer
248 views

I have a application where it connects to two mutiple databases. One is IBM DB2 and one is Postgres. In the logs I seen multiple WARN messages that says following: [otel.javaagent 2024-07-02 14:06:33:...
mudasar's user avatar
1 vote
0 answers
49 views

How can i enable opentelemetry in java app. Looking for auto instrumentation. Below is my Dockerfile. Detailed step view would be appreciated. Dockerfile FROM openjdk:17 FROM eclipse-temurin:17-jdk-...
Anamika Khantwal's user avatar
0 votes
0 answers
358 views

I have maven Java Spring Application. I'm trying to implement otel java agent instrumentation to set span with custom attributes. I have mentioned the below JVM args in Tomcat configuration -javaagent:...
Arasu's user avatar
  • 2,148
1 vote
0 answers
1k views

I have two proprietary microservices (A and B) and a third-party one (C), both consuming and producing Kafka events. A produces event1, and B consumes it. B processes event1 and eventually delegates ...
Adrian Azoitei's user avatar
1 vote
1 answer
1k views

We have datadog setup in our organisation for monitoring. We use datadog to check the metrics and view the exception. We don't use it to see the logs. We are planning to replace the datadog javaagent ...
royatirek's user avatar
  • 2,839
2 votes
1 answer
385 views

I have a java service instrumented with the open telemetry java-agent. The java-agent is sending the traces and metrics to an open telemetry collector. And the open telemetry collector is sending the ...
Jonathan Aubuchon's user avatar
8 votes
2 answers
9k views

My set-up: Spring boot app based on version 3.1.3 Added dependency spring-boot-starter-actuator Added custom metric MyHealthMetricsExportConfiguration according to the documentation (shown below) ...
user3529850's user avatar