Questions tagged [otel]

The package otel provides global access to the OpenTelemetry API. OpenTelemetry is an open source collection of tools, APIs, and SDKs to process telemetry data.

34 questions
2
votes
0 answers

Java Auto Instrumentation creating problems in the namespace

I am trying to install OpenTelemetry in our Staging Environment, the collector being in DaemonSet Mode. My goal is to create a Java Instrumentation customer resource, which defines the configuration for OpenTelemetry SDK and instrumentation. The…
1
vote
0 answers

Setting http.response.body.size attribute in parent span

I'm using OpenTelemetry Go SDK and I'm trying to set http.response.body.size attribute in my parent span. I'm using otelhttp.NewHandler() to serve the HTTP request: func NewHTTPHandler(name string, handler http.Handler, tp Provider, attr…
msidler
  • 11
  • 1
1
vote
1 answer

Dependencies do not show with OpenTelemetry automatic instrumentation for PHP

I have a very simple stack of PHP + Otel auto instrumetation + Elastic APM + Prometheus. My stack gets tracing and metrics information from my php app. My tracings are forwarded to the elastic cloud, where I use APM. My metrics go to Prometheus. I…
1
vote
0 answers

Can we send json data as part of custom metrics using open telemetry sdk to Otel collector?

Example json { "StudentName": "John", "StudentID": "1234", "TimeStamp": "20200714", } I am researching on how I can proceed with adding custom metrics for json data using open telemetry sdk and then send it to Otel collector.Any suggestions here is…
1
vote
1 answer

Elastic APM Java Agent or Opentelemetry java agent?: Goal - Get metric-,trace- and logdata

does anyone have experience with the data ingestion via opentelemetry java agent and the elastic apm jva agent? Are there differences in the dataquality of the output? Which is the best agent? Best regards
BVB1392
  • 175
  • 1
  • 1
  • 11
1
vote
1 answer

Can an OpenTelemetry collector use an OpenTelemetry based receiver from another collector?

I have a scenario where there's one host with OpenTelemetry collector (primary) that could potentially be allowed to communicate with multiple other collectors (secondary). Im able to push (exporter) to other collectors but I was curious if there…
0
votes
0 answers

Weird opentelemetry-collector errors

I'm trying to set up opentelemetry-collector with prometheus, tempo and loki on a dockerize jave springboot 3 application. I've managed to start all the containers, but once I generet some activity on my app, otel collector start to generate errors…
Yonoss
  • 1,242
  • 5
  • 25
  • 41
0
votes
0 answers

Otel agent host metrics monitoring jenkins using grafana

I have tried following https://plugins.jenkins.io/opentelemetry-agent-metrics/ document to set up server monitoring in jenkins and display through grafana. But facing below issue when triggering pipeline job From jenkins pipeline we have triggered…
Aksh
  • 1
  • 1
0
votes
0 answers

Micrometer tracing context propagration is lost in webclient flatMap function

Project: https://github.com/Jojoooo1/spring-microservice-webhook-reactive Version: spring boot: 3.2.0-SNAPSHOT micrometer-tracing 1.12.0-M2 Event after using Hooks.enableAutomaticContextPropagation() it seems that nested context does not…
0
votes
1 answer

Java opentelemetry agent enable/disable at run time

what to enable and disable java auto instrumentation done using otel java agent at runtime to avoid redeployment of service in case of issues. Any idea on how we can do this? we can also do this if we have some way to access and modify tracer used…
0
votes
0 answers

Opentelemetry Java InstrumentationModule - How to use "com.google.gson" as Helper class?

I have an Otel InstrumentationModule that requires com.google.gson library, from what I understand from Otel Documentation in order to inject com.google.json I need to override getAdditionalHelperClassNames function with - @Override public…
Meir Tolpin
  • 325
  • 2
  • 13
0
votes
2 answers

How can I automatically create span in every function in go?

I want to use Otel to log every request's exec line with Jaeger. But I found that if I want to calc every function's exec time I must create a span for it. Just like this: func ATestFunction(ctx context.Context, username string) { span, _ :=…
DamXosp4j
  • 83
  • 7
0
votes
1 answer

Quarkus Open Telemetry (distributed tracing) does not carry over traceId across Threads

Here is a sample application I have written to explain the problem. Below is a rest end point that receives a request and on a different thread performs some operations. As you will see , the traceId is not copied over as soon as the execution goes…
Kiran K
  • 703
  • 4
  • 11
0
votes
0 answers

Communication failure between Spring Boot app and AWS Distro for OpenTelemetry (ADOT) running in ECS

I am trying to run spring boot app in ECS with ADOT as side-car. In ECS task definition, I am creating task for spring boot app. I am enabling Use Metrics Collection and selecting Amazon Managed Prometheus (OpenTelemetry Instrumentation) which is…
0
votes
2 answers

OpenTelemetry SDK: Failed to export spans. The request could not be executed. Full error message: FRAME_SIZE_ERROR: 4740180

I'm trying to export the spans to HoneyComb through Otel-Collector Using below Otel-collector configs I'm able to POST test Trace to HoneyComb UI as below curl -i http://localhost:4318/v1/traces -X POST -H "Content-Type: application/json" -d…
Swapnil Kotwal
  • 5,418
  • 6
  • 48
  • 92
1
2 3