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

Spring 5 MVC with spring-cloud-sleuth-otel

Can we have sleuth with Otel for non spring boot applications? Please share inputs.
user170114
  • 625
  • 6
  • 16
  • 24
0
votes
2 answers

open telemetry InMemorySpanExporter not reseting after test case is completed

Open Telemetry InMemorySpanExporter not resetting after test class is complete. This is causing span_list = self.memory_exporter.get_finished_spans() to be empty for the 2nd test class. from opentelemetry import trace from opentelemetry.sdk.trace…
Vikash Singh
  • 13,213
  • 8
  • 40
  • 70
0
votes
1 answer

How to Serialize an OpenTelemetry Javascript Span

Question: Is there any code that can take an OpenTelemetry JS span object (as received by an exporter) and transform it into an object that has just its telemetry data and not internal implementation details? That is -- if I have an exporter like…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
0
votes
1 answer

Getting import error while trying to import StatusCanonicalCode using OpenTelemetry python library

Importing StatusCanonicalCode from python opentelemetry library is giving error from opentelemetry.trace.status import StatusCanonicalCode Error msg: *** ImportError: cannot import name 'StatusCanonicalCode' from 'opentelemetry.trace.status' The…
Vikash Singh
  • 13,213
  • 8
  • 40
  • 70
0
votes
1 answer

Proper way to create and end trace spans in express / nodejs

I am experimenting on trying Opentelemetry.js nodejs/express library and was trying to rewrite the reviews application of the bookinfo Sample from Istio. I followed the tracer configurations as given in the example: And my request handler…
Vipin Menon
  • 2,892
  • 4
  • 20
  • 35
0
votes
1 answer

Add Tracing to internal methods in Cloud Run

We would like to add tracing to methods used within services deployed on Cloud Run. Tracing already provided Cloud Run requests: Let's say we have the following gRPC method: func (s *myServiceService) SyncTable(ctx context.Context, req…
Jan Krynauw
  • 1,042
  • 10
  • 21
0
votes
0 answers

Using OpenTelemetry, how we can inject trace details automatically to application logs written in Nodejs / Go

In python, there is an option to inject trace details(tracid,spanid) to application logs using environment variable (export OTEL_PYTHON_LOG_CORRELATION=true). Is there something similar in Nodejs or Go. I couldn't find any autoinstrumentaion for…
jaison
  • 83
  • 2
  • 8
0
votes
1 answer

Python Open Telemtry - Get Trace Id

Let's say I have a Python app that makes use of Open Telemtry distributed tracing: from flask import Flask, jsonify, request import tracer, connector, logger, metricer app =…
newduino
  • 179
  • 1
  • 6
  • 16
0
votes
0 answers

MultiThread span propagation in java

I am trying to insert Open Telemetry inside my java application in order to verify if this solution can be used for requests tracking within a microservices architecture. In my scenario, "Application A" produces a message on a RabbitMQ queue while…
0
votes
1 answer

Could not find artifact com.wavefront:wavefront-spring-boot-bom:pom:2.1.1-SNAPSHOT

I am using spring-cloud-sleuth-otel-autoconfigure dependency for distributed tracing. Getting error while mvn clean install -X Actual error message is Could not find artifact com.wavefront:wavefront-spring-boot-bom:pom:2.1.1-SNAPSHOT in…
0
votes
1 answer

How to save row trace data in any database using OpenTelemetry with Main App

How can we saved row trace data in any database using openTelemetry and exporter as AddOtlpExporter below nuget package added in my app OpenTelemetry.Exporter.OpenTelemetryProtocol(1.0.1 OpenTelemetry(1.0.1) my app is class library with Target…
Vasu
  • 1
0
votes
1 answer

Balancing export to jaeger in openTelemetry collector

I have configuration as documentation says exporters: jaeger: endpoint: "ipv4:firstHost:14250,secondHost:14250" balancer_name: "round_robin" Collector produces error. How I can configure collector to balance exporter for sending requests…
0
votes
1 answer

Using OTEL Java agent, how to create a new Context without using @WithSpan

The opentelemetry-javaagent-all agent (versions 0.17.0 and 1.0.1) has been the starting point for adding trace information to my Java application. Auto-instrumentation works great. Some of my application cannot be auto-instrumented. For this part of…
Paul S
  • 108
  • 5
0
votes
1 answer

opentelemetry Connection refused: localhost/0:0:0:0:0:0:0:1:4317

I am using opentelemtry for tracing purpose following are the command but getting error Can any one suggest what I am doing wrong here: java -Dotel.traces.exporter=jaeger -Dotel.exporter.jaeger.endpoint=host:14250…
0
votes
1 answer

How to manually send Java traces to the OpenTelemetry collector

How to create OpenTelemetry traces in Java and send to the OpenTelemetry collector manually?