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
0
votes
1 answer
spring cloud sleuth otel - tracing data not visible to jaeger dashboard
I have followed multiple blogs to set-up working demo of Spring cloud Sleuth with OTEL.
App ran successfully, trace and spanId are getting generated but service is not getting registered with local jaeger (dockerized) and hence not able to see any…

harshit2811
- 827
- 1
- 7
- 21
0
votes
1 answer
How to propagate context between two services communicating via rabbitmq in opentelemetry?
I am trying to find a way to propagate context between two services communicating via rabbitmq in opentelemetry. There was an article for doing similar in Go article link but unable to implement it in node.
There are two approaches I am…

Kunal Chauhan
- 13
- 1
- 4
0
votes
1 answer
Prometheus config not shoing in Prometheus GUI
I have added a new configuration in the ConfigMap of Prometheus. Below is the config that I have added.
- job_name: 'OpenTelemetryTest'
scrape_interval: 1s # poll very quickly for a more responsive demo
static_configs:
- targets:…

Container-Man
- 434
- 1
- 6
- 17
0
votes
1 answer
OpenTelemetry Service Point not showing in Prometheus
I installed OpenTelemetry operator in Kubernets. Installed it using helm.
helm install my-opentelemetry-collector open-telemetry/opentelemetry-collector
Below is the ConfigMap of collector
prometheus:
config:
scrape_configs:
-…

Container-Man
- 434
- 1
- 6
- 17
0
votes
1 answer
Use `std::ofstream` with opentelemetry `OStreamSpanExporter`
I want to create an opentelemetry tracing configuration that writes the exporter logs to a file. For that, I used the OStreamSpanExporter class that takes a ref to a std::ostream object (by default, the ctor argument is std::cout). So here is what I…

Gabriel Mougard
- 31
- 1
- 4
0
votes
1 answer
ElasticSearch and Apm search phase execution exception: [script_exception] Reason: link error
I installed ElasticSrarch and Kibana after that added integrated fleet and Apm on windows server 2019 and 2022 (both active now and all stack version is 8.1.2). for client I use AspNetCore sample form OpenTelemetry Github repository. I haven't any…

SH_SWAT
- 189
- 2
- 10
0
votes
1 answer
How to configure opentelemetry using depedencies in spring boot microservices?
Add dependency of opentelemetry jar in all the docker files
Enable promethues for all spring microservices
Enable/disable opentelemetry
I wanted to implement opentelemetry-javaagent dependency in my spring boot cloud project in every microservices.…
0
votes
1 answer
Reduce Size of OpenTelemetry Packages in Order to Meet 250MB Lambda Limit
We have a Python3 API created with the FastAPI framework that lives in a Lambda Function. The entire API and utility functions all live in a single API. I know that a better practice would be to break it into several smaller Lambda functions more…

Benjamin
- 526
- 6
- 16
0
votes
1 answer
Looses parentid of opentelemetry span
How can I manually set a parentID if I send a span to another thread and wait for it to complete? Case is that I wan't to do 2 rest calls in parallel under a delegator and when I pass along the span I loose the parentID for some reason.
Example…

Andreas Joelsson
- 27
- 4
0
votes
1 answer
OpenTelemetry collector does not export Metric attributes to New Relic
I am attempting to export Metrics to an OpenTelemetry collector container from my Node.js app, which then exports it to New Relic.
I am making a simple request counter:
const exporter = new OTLPMetricExporter();
const meter = new MeterProvider({
…

martinx
- 21
- 2
0
votes
1 answer
Unsupported instrument/aggregator combo, types ValueRecorder and MinMaxSumCountAggregator, ignoring it
Trying to adjust the following example: https://google-cloud-opentelemetry.readthedocs.io/en/latest/examples/cloud_monitoring/README.html to use a value recorder instead.
metrics.set_meter_provider(MeterProvider())
meter =…

Andreas Joelsson
- 27
- 4
0
votes
2 answers
How to split OpenTelemetry file exporter output file
I am exporting traces and logs to a json file as below using Open Telemetry. The problem here is, the file is increasing day by day on the container. Is there a way we can limit the file size to 10 MB in the below configuration?
exporters:
# Data…

Jagan
- 1
0
votes
2 answers
Java agent OTel not working with New Relic
I have a Java application running with an OTel agent to collect telemetries and send them to the New Relic platform.
Configuration of OTel Java…

Jonathan Henrique Medeiros
- 75
- 1
- 1
- 10
0
votes
2 answers
Node equivalent to "-javaagent" in Java
/bin/node -r /opt/otel/node/otel-agent.js /opt/service/dist/main.js
This is how I am running my application currently.
The problem is, sometimes otel-agent.js might not exist and I want to be able to define a 'Node' agent similar to how you can…

E.Eldridge
- 103
- 8
0
votes
1 answer
Send my metrics data to Kafka via Opentelemetry
use serde::{Deserialize, Serialize};
use std::time::Duration;
use kafka::producer::{Producer, Record, RequiredAcks};
use opentelemetry::{global, KeyValue};
#[tokio::main]
async fn main() {
let mut producer =
…

Keval Bhogayata
- 4,422
- 3
- 13
- 36