All Questions
Tagged with open-telemetry distributed-tracing
85 questions
0
votes
0
answers
27
views
How to send traces to Elastic Cloud APM using OpenTelemetry OTLP (without using the Collector) in nodejs
I am trying to send distributed traces to Elastic Cloud APM and because I want to be able to send traces originating from multiple services, I cannot use elastic-apm-node as it only supports only a ...
0
votes
0
answers
23
views
OpenTelemetry: Span for Message Delivery Time Between two Services
I'm trying to trace an application based on the actor model (independent units communicating using messaging).
Each actor is modeled as a service, and I'm sending the SpanContext with each message.
I'...
0
votes
0
answers
13
views
trace_id is not passed to worker threads using opentelmnetry with jaeger
I am trying to integrate my service with opentelmentry to trace the service flow .
Tracing tool : Yaeger
Note : I cannot go with javaagent becuase yaeger-exporter is not supoprted in latest version of ...
0
votes
0
answers
25
views
.NET Azure Function Kafka Propagator
I am using latest .NET 9 for Azure Function and want to use distributed tracing accorss different Kafka messages that are created by Azure Functions and are read by other Azure Functions.
So far I am ...
0
votes
0
answers
72
views
Sending traces from Sentry to Otel collector, instead of the other way around?
I have a classic Flask/jinja2 web app that does some processing on the backend from an API call. There is something weird going on, and I'd like to be able to trace the request from the frontend to ...
0
votes
0
answers
60
views
.NET OpenTelemetry Distributed Tracing
I want to use the OpenTelemetry Protocol (OTLP) for distributed tracing using Azure Functions that communicate with each other via Kafka messages.
First I did Dependency Injection (DI) with ...
0
votes
1
answer
36
views
Tracing data consumption
I need to implement distributed-tracing for our applications hosted on OpenShift. We have many projects, some with a user count < 100 and some > 1000 and greater.
We do need to estimate how much ...
0
votes
1
answer
121
views
New Trace and Span Generated even after using TraceId and SpanID from Remote Context
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 ...
-1
votes
1
answer
34
views
OpenTelemetry Java Agent extension not loaded
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....
0
votes
0
answers
204
views
Springboot micrometer Opentelemetry
I am trying to enable opentelemetry in a Springboot service using the approach here:
https://docs.spring.io/spring-boot/3.3-SNAPSHOT/reference/actuator/tracing.html#actuator.micrometer-tracing.tracer-...
0
votes
0
answers
403
views
Error in OpenTelemetry With Istio: sending queue is full
I'm using OpenTelemetry as a tracing collector in istio, but after running OpenTelemetry Collector for a while, the logs for istio-ingressgateway and the logs for Sidecar (istio-proxy) in the Pod keep ...
0
votes
1
answer
140
views
Receive logs, traces and metrics from the same receiver and forward them to different backends
I have deployed an open-telemetry collector in Kubernetes with the helm chart.
It takes data from several services running a java agent that ships logs, metrics and traces in otlp format.
I want to ...
0
votes
1
answer
79
views
Retrieve HTTP requests statistics with Grafana / Prometheus / Tempo
I'm trying to monitor a java application deployed on several Kubernetes Deployments.
So far I've managed to ship
logs to Loki using Promtail
Kubernetes metrics to Prometheus using the operator
...
0
votes
1
answer
1k
views
How to log traces in Opentelemetry Collector to stdout
we're using an OTel collector to funnel and sample traces from several microservices. We would like to log those traces (the actual trace) as single-line JSONs, crucially including attributes, to ...
1
vote
0
answers
962
views
Set custom trace ID with Spring Boot 3, Micrometer and OTEL
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 ...
2
votes
1
answer
780
views
Grouping multiple traces in OpenTelemetry
I have a request 'Get a list of books', the request contains a uniqueId, the API creates a new Trace using StartActivity.
I have another request 'Buy book', the request contains the same uniqueId as '...
0
votes
1
answer
224
views
quarkus opentelemetry not propagating the traces to the smallrye-messaging consumer of another quarkus microserice
I have 2 quarkus applications, microserviceA, microservieB.
having below dependency with other required dependencies in both the services,
implementation 'io.quarkus:quarkus-smallrye-reactive-...
1
vote
0
answers
1k
views
Exporting OpenTelemetry data in node.js to OTLP endpoint AND to local console
I am super impressed by the OpenTelemetry project and would like to learn more about it and experiment with it. This is super flexible and I am not even locked in to a vendor.
Currently I am working ...
0
votes
1
answer
527
views
How to configure Badger DB for Jaeger all-in-one deployment using config file on Windows server
I am trying to setup jaeger-all-in-one on one windows server [without Docker] with Badger DB for persistent storage to test it.
Used the following config file to run the Jaeger by command
jaeger-all-...
1
vote
0
answers
109
views
why OpenTelemetry is not creating an Activity?
below is my sample code to setup tracing using OpenTelemetry:
public static class CustomTraces {
public static readonly ActivitySource Default = new ActivitySource("Service");
}
...
0
votes
0
answers
151
views
Setting localhost in otel endpoint throws error "No connection could be made because the target machine actively refused it.”
I am setting up self-managed grafana & Tempo in my windows server. Open telemetry collecotr agent is running on my application server and sending the trace data to this local Tempo service. But ...
1
vote
0
answers
82
views
What instrumenting module name should I use with Opentelemetry tracer provider?
The documentation suggests:
instrumenting_module_name (str) –
The uniquely identifiable name for instrumentation scope, such as instrumentation library, package, module or class name. __name__ may ...
0
votes
0
answers
153
views
Recommended way to deploy Otel collector agent based on regions
We are using Open Telemetry SDK in our ASP.NET & WCF application [.NET Framework applications].
In my test server, run the Otel collector agent and configured to send traces to Grafana Cloud. The ...
1
vote
0
answers
178
views
Filtering Azure API Management Logs for Ingested Tracing in Dynatrace (2xx-4xx-5xx Response Code)
I'm successfully collecting ingested traces from my Azure API Management (APIM) using Application Insights and OpenTelemetry (OTLP) integration with Dynatrace SaaS. However, I'm unable to filter the ...
-1
votes
1
answer
417
views
Running OTEL agent as windows service is not working
Want to run Otel collecor agent as Windows services. So downloaded latest windows release package and run the following command to create service and start the service.
> sc.exe create otelcol ...
0
votes
1
answer
1k
views
How to create a recording Span given a parent Span's traceId and spanId?
The data flow I am trying to instrument has a variety of in-band mechanisms for propagating context (SQS, Kinesis messages, entries written in a DB, etc.) In the process of manually instrumenting some ...
0
votes
0
answers
236
views
How to implement distrbuted tracing in .net environment with opentelemetry?
I have applications:
asp.net api
asp.net api
asp.net with mass transit consumer
And configure tracing on each application with opentelemetry
when I send request from first api to seconnd everything ...
0
votes
0
answers
399
views
Manually setting a trace-id for 2 separate traces, results in no root span
I'm currently writing a python program that is generating some synthetic trace to replicate what we will have later in our distributed environment.
The code generates the correct 2 traces, using the ...
2
votes
1
answer
1k
views
How to trace transactions that are batched or processed by an atomic operation?
Any suggestions, design patterns, or workarounds about how to address (otel) tracing in a relatively common situation in distributed transactions: batching / atomic bulk operations.
As events/requests ...
0
votes
1
answer
973
views
How to filter or drop spans before sent it to collector in micrometer with Otel in spring 3?
Is there any way to drop unwanted spans in micrometer-tracing with opentelemetry before sent it to collector?
I tried to filtered spans by configuring custom Sampler from openTelemetry api.
if ...
2
votes
0
answers
666
views
Open telemetry support in blazor wasm
I'm adding distributed tracing to an existing app and I'm having a hard time configuring the client Blazor Wasm App to export its tracing through the OltpTraceExporter. Here's the exception I'm ...
0
votes
1
answer
311
views
Inject method in OpenTelemetry
We are migrating from open-tracing to open telemetry .
We have inject function like below in open-tracing.
getTracer().inject(getActiveSpanContet(), Builtin.HTTP_HEADERS, new TextMapAdapter(...
2
votes
1
answer
362
views
OpenTelemetry Propagation in Erlang/Elixir - an example
I have a gRPC API and want to add Otel based tracing to it. Every request to this API contains trace/span ID, but I am struggling to properly emit child span.
Here is an example from iex:
require ...
0
votes
2
answers
732
views
Opentelemetry Kafka Streams Manual Instrumentation trace spans not exported
Am using opentelemetry java agent on my springboot app as well the opentelemetry sdk to manually instrument some business logic that is executed by kafka streams in my app.
The dependencies in my ...
1
vote
1
answer
754
views
Golang tracing ending span early in same function as parent span
I have the following code:
func handleMessage(msg Message, out chan<- string, w withdrawalSocketListener) {
tracer := tracing.GetTracer()
ctx, span := tracer.Start(context.Background(), &...
0
votes
1
answer
823
views
Distributed Tracing Using brave and Brave-context-log4j
I have one legacy project which is using jetty,apache http client, log4j2. I want to implement distributed tracing and want to populate trace id and span id into the logs,since this is not a spring ...
7
votes
1
answer
1k
views
Why does my Datadog APM Query show data in the APM section, but not for the dashboards section?
I am running a Datadog APM query, and I am able to see my traces in the APM section. However, when I try the same query parameters (env and service) in the query definition of the dashboards section, ...
2
votes
1
answer
7k
views
Springboot OpenTelemetry Setup for Tracing - TraceId and SpanId are zeros
I am trying to get open telemetry tracing setup in my spring boot 2.7 project. It is just a simple REST api project.
The tutorial I am following is the following one. I checked several other articles ...
1
vote
0
answers
469
views
Extract trace context from x-cloud-trace-context request header
I am working on implementing opentelemetry tracing for a multi-microservice application deployed in Google Cloud's App Engine. App Engine provides tracing by default, and includes a context in the ...
5
votes
1
answer
1k
views
Distributed tracing using Jaeger with correct hierarchy
I am new to Jaeger and I would like to use it in order to record traces for my microservices.
I create traces from my μservices, providing the traceId publish them as messages and consume them in ...
5
votes
0
answers
3k
views
Excluding health and actuator url in opentelemetry java agent
I am using opentelemetry-javaagent.jar. Health check and actuator url are also coming in jaeger. Can I exclude those url patterns somehow in java command itself like -Dotel.exclude.url?
1
vote
1
answer
107
views
Are traces sent from OpenCensus to OpenTelemetry recognizable
I have OpenCensus implemented in my Go application and planning on sending SpanContext to a downstream service that uses OpenTelemetry. The SpanContext would include populated TraceID, SpanID, ...
0
votes
1
answer
749
views
Missing Transparent Header when try to integrate React.js application with open telemetry
I am try to Integrate my React application with OpenTelemetry. I added trace.ts file and in the console the span is printing without any problem. But in the http header transparent header not ...
0
votes
1
answer
3k
views
Exception occured when trying to do tracing with Spring Boot project using Spring Sleuth and OpenTelemetry
I wanted to enable tracing in a Java Spring Boot project using Spring Sleuth and OpenTelemetry. The traces need to be exported to Lightstep. I added spring-cloud-starter-sleuth, spring-cloud-sleuth-...
0
votes
1
answer
3k
views
Headers not getting propagated with open-telemetry and spring-cloud-sleuth
I have integrated open-telemetry collector with spring-cloud-sleuth and trying to test distributed tracing with it. My basic requirement is if app1 receives a header for traceId, it should use the ...
1
vote
0
answers
53
views
How to send traces from rust + tracing_opentelemetry to Honeycomb? [duplicate]
I've set up a basic subscriber for Rust tracing with OpenTelemetry as follows:
let rust_log = dotenv::var("RUST_LOG").unwrap();
if rust_log == "OTEL" {
// Use OpenTelemetry ...
1
vote
0
answers
391
views
How does Envoy participate in tracing using the x-request-id header?
Is x-request-id a header that was standardized in OpenTracing? Do tracing libraries such as those of OpenTelemetry or OpenTracing recognize this header and extract any tracing context from it? If not, ...
0
votes
1
answer
1k
views
How to deal with clock skew in a multi-node Kubernetes cluster?
The issue is that the logs for a specific request (identified by a traceId printed in each log line) are being collected by loki-stack in a Kubernetes cluster, but the logs are not being displayed in ...
3
votes
1
answer
3k
views
OpenTelemetry .NET HttpClient not propagating TraceId
I am trying to get Tracing using OpenTelemetry to work with HttpClient in an integration test for an Asp.NET API.
Tracing works for everything else, we get traces from the API controllers and all ...
1
vote
1
answer
327
views
Can we add parameters to the default traces generated by spring-cloud-sleuth?
I have integrated spring-cloud-sleuth with my Spring-boot application. I have also used open-telemetry as the log exporter. When I call a REST API in my application, I can see a span being generated. ...