Questions tagged [open-telemetry]

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.

838 questions
0
votes
1 answer

How to add tags into process for Jaeger span

I am using Python3.8 with opentelemetry libraries and I am able to create some basic spans. I need to add tags for the backend processor pick them. For E.G something like "hostname". For this to happen I need to somehow add tags to the process. I am…
Kishan
  • 45
  • 5
0
votes
2 answers

Tracing a Python gRPC server deployed on Cloud Run with OpenTelemetry

I'm running a Python gRPC server on Cloud Run and attempting to add instrumentation to capture trace information. I have a basic setup currently, however I'm having trouble making use of propagation as shown in the OpenTelemetry docs. Inbound…
dkhaupt
  • 2,220
  • 3
  • 23
  • 37
0
votes
1 answer

plot multiple Datadog widgets based on same counter but different OpenTelemetry attributes

For example, I have one counter, but 2 attributes: counter := metric.Must(meter).NewInt64Counter("some-name") attr1 := attribute.String("same-label-key", "different-label-value-1") counter.Add(ctx, 1, attr1) attr2 :=…
jtee
  • 79
  • 8
0
votes
1 answer

how to start collector as an agent (using opentelemtry-java-instrumentation)

I'm trying to instrument a sample application with opentelemtry-java-instrumentation agent (https://github.com/open-telemetry/opentelemetry-java-instrumentation). By default the instrumented agent send the metrics to localhost:4317 by default…
srock
  • 403
  • 1
  • 8
  • 17
0
votes
0 answers

Zipkin trace id lost on producerTemplate

I have an api which is called through rest and then sends message to camel queue, on which new trace id is created instead of using the initial one, tried manually setting "X-B3-TraceId" header, but looks like it getting overridden still. Am I…
0
votes
1 answer

Using OTEL_EXPORTER_OTLP_HEADERS in Open Telemetry Collector to avoid secrets in ConfigMap

I have a Kubernetes cluster with a pod running an instance of Open Telemetry Collector. My .Net app inside Kubernetes exports traces to the Collector instance which in turn exports them to Elastic APM server. This work correctly if I use this…
Absolom
  • 1,369
  • 1
  • 13
  • 28
0
votes
1 answer

OpenTelemetry Python Instrumentation dbapi is not capturing the odbc database commands

I am trying to capture the database commands using Instrumentation DBapi, but i don't see anything to be reported to Jaeger. I am accessing database using pyodbc and pandas and i see while debugging that no exception is occurred and data returned…
kpo
  • 31
  • 3
0
votes
1 answer

Add logs to spans using OTEL instrumentation with Jaegar backend

At present, Open Telemetry (OTEL) spans have no mechanism to add logs as found in implementations such as Jaegar. So is there a workaround to add application logs to a span?
Somjit
  • 2,503
  • 5
  • 33
  • 60
0
votes
1 answer

Which is an appropriate NodeJS code to send telemetry from device to IoT hub?

With the help of Azure IoT SDK node, I've been assigned to send telemetry data from device to IoT hub using NodeJS. How do I write or how do I find an appropriate sample for d2c messages. I'm quite confused which sample code to be used from this…
0
votes
1 answer

OpenTelemetry Collector 404'ing at http://localhost:55681/v1/traces

I've run through the official Otel collector dockumentation, as well as run the collector using Docker and the follow config/code files, but always get a 404 from the collector when the app tries to POST to the /v1/traces endpoint. I've also tried…
Preston Lee
  • 584
  • 1
  • 4
  • 10
0
votes
1 answer

Opentelemetry 1.4.0 context propagation

I was running Opentelemetry 0.18rc1 and my application was working perfectly. I'm using the W3C Trace Context specification for context propagation. For injection and extraction i used TraceContextTextMapPropagator from…
hashguard
  • 403
  • 4
  • 22
0
votes
1 answer

Ignore some Flask routes in Opentelemetry

I have a generic flask application. The application is instrumented using opentelemetry-instrumentation-flask, I am shipping this data with the opentelemetry-exporter-otlp to an Elastic APM server. This is all working fine and it is done as the…
Navarro
  • 1,284
  • 2
  • 17
  • 40
0
votes
0 answers

How to use TypeScript based libraries from node_modules into AngularJs-v1.2.20

I am trying to import trace from @opentelemetry/api into AngularJs controller but the library is TypeScript based so not able to import it into code. For example, if I have to use validator library (npm i validator) then I can import it using the…
P Y
  • 21
  • 2
0
votes
1 answer

OpenTelemetry Python Auto Instrumentation in Django is giving error

Below is the setup I have done: export OTEL_TRACES_EXPORTER=otlp export OTEL_RESOURCE_ATTRIBUTES=service.name=Communication export OTEL_EXPORTER_OTLP_HEADERS=x-scope-orgid=XXXXX export OTEL_PYTHON_LOG_CORRELATION=true export…
0
votes
0 answers

OpenTelemetry Exporting to Collector Contrib

I have been experimenting with using opentelemetry this week and I would appreciate some advice. I have instrumented an .net Core API application written in C# with the following opentelemetry libraries and initially installed Jaeger to collect and…
dickiebow
  • 92
  • 1
  • 1
  • 12