OpenTelemetry is a set of APIs, SDKs and other components (like the OpenTelemetry Collector or Operator) designed for the generation of high-quality telemetry data (traces, metrics, and logs) from cloud-native software. This tag is suitable for questions about operating OpenTelemetry components (such as the collector), instrumenting software or libraries to take advantage of it, or questions about writing new OpenTelemetry components.
Questions tagged [open-telemetry]
838 questions
4
votes
0 answers
New traceparent id created in spring kafka in batch mode for distributed services - Disjoint traces
I am using spring kafka in a distributed microservice and opentelemetry java agent to generate traces. The consumer is receiving the traceparent ID in header, however, the opentelemetry agent is not able to create a new span under the existing trace…

Gourava Sharma
- 59
- 4
4
votes
1 answer
How to expose .NET well known EventCounters to Open Telemetry
Microsoft documentation lists some well known event counters. How do I expose those to an Open Telemetry collector? (using the Prometheus exporter, ideally)

Moose Morals
- 1,628
- 25
- 32
4
votes
0 answers
WARN io.opentelemetry.sdk.metrics.internal.state.AsynchronousMetricStorage in open telemetry agent 1.15
Getting following warnings for Spring application with in open telemetry agent 1.15:
[otel.javaagent 2022-06-22 14:45:13:965 +0530] [PeriodicMetricReader-1] WARN io.opentelemetry.sdk.metrics.internal.state.AsynchronousMetricStorage - Instrument…

Valsaraj Viswanathan
- 1,473
- 5
- 28
- 51
4
votes
1 answer
Is there a working Quarkus OpenTelemetry support in reactive Mutiny code?
I'm trying to introduce OpenTelemetry into our existing Quarkus-based (v 2.9.2.final) set of services.
All services are written in a reactive way based on Mutiny.
I'm failing to continue Spans or add events and attributes to them.
I have configured…

Jan Peremský
- 61
- 2
4
votes
0 answers
How do I link an azure service bus publisher opentelemetry span to subscriber trace in another process using .net core c#
I have 2 processes running
webapi : publishes message to azure service bus queue
console app: subscribes to message from queue
I am using open telemetry collector with yaeger, .net core 6, c#
I am able to see traces from the .net core webapi that…

user1424876
- 133
- 1
- 7
4
votes
1 answer
OpenTelemetry with native-image
I am already using OpenTelemetry in my Spring Boot 2.x apps with openetelemetry-java-instrumentation.
I am thinking about building these applications with native-image (actually testing spring-native).
Is there an alternative to use OpenTelemetry…

Olivier
- 65
- 3
4
votes
1 answer
@WithSpan not generating logs
I got the metrics and traces pushed to open telemetry collector successfully from my java application with the configuration
System.setProperty("otel.resource.attributes", "service.name=OtlpExporterExample");
…

A_G
- 2,260
- 3
- 23
- 56
4
votes
1 answer
unable to hook up opentelemetry collector with grafana tempo
I am unable to get otel collector to work, I'm new to opentelemetry, so it feels I'm making a stupid error in congiration somewhere
this is my python sample script that is supposed to create a sample trace that should be exported, picked up by…

DmitrySemenov
- 9,204
- 15
- 76
- 121
4
votes
0 answers
Use OpenTelemetry with Apache Flink
I have been trying to use OpenTelemetry (https://opentelemetry.io/) in an Apache Flink's job. I am sending the traces to a Kafka topic in order to see it in a Jaeger.
The traceability is working in the job when I am executing it inside my IntelliJ…

ferran87
- 635
- 1
- 6
- 17
4
votes
1 answer
in Opentelemetry, not able to get parent span
I am new to OpenTelemetry word. I have created spans for my services separately, but when i am try to combine spans of two different services, using context propogation, I am not able to do it successfully.
I have used following code:
// at client…

MayurMore
- 41
- 1
- 3
4
votes
2 answers
Why don't I get traces when sending OpenTelemetry to Jaeger?
I'm learning tracing and open-telemetry in Rust. I feel there are too many concepts and too many crates (at least in Rust) to see traces.
I wrote a simple lib app that adds two u32s:
use std::ops::Add;
pub fn add(f: u32, s: u32) -> u32 {
let…

Boss Man
- 587
- 2
- 12
4
votes
2 answers
Trace Propagation on Google Cloud Run with OpenTelemetry
I have a Flask app talking to a Python gRPC service, both deployed on Google Cloud Run. I can see traces on Google Trace after instrumenting the apps, but they all appear to have different Trace IDs which means the traces are not being linked…

dgildeh
- 175
- 9
4
votes
2 answers
Get the currently active span from implicit context
I found this in opentelemetry/specification/trace/api:
If the language has support for implicitly propagated Context (see here), the API SHOULD also provide the following functionality:
Get the currently active span from the implicit context. This…

jl0x61
- 407
- 3
- 12
3
votes
1 answer
NET 6: 'IServiceCollection' does not contain a definition for 'AddOpenTelemetryTracing'
I am working on NET 6 Web Service. After updating all nuget packages to freshest versions I received the error
'IServiceCollection' does not contain a definition for
'AddOpenTelemetryTracing' and no accessible extension…

ZedZip
- 5,794
- 15
- 66
- 119
3
votes
0 answers
How to get links in aws lambda and adot collector
I am pretty new to opentelemetry. I am trying to create a simple setup and get the traces linked. Here is my setup: api_gateway -> producer_lambda -> sqs -> consumer_lambda. I will triggered producer_lambda using api_gateway. In producer_lambda I…

shuwpan
- 41
- 5