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.
open-telemetry
1,280
questions
0
votes
0
answers
6
views
opentelemtry exports previous custom metrics every 10 sec
I have a .NET application configured to export custom metrics using the OpenTelemetry SDK to Application Insights. I’ve noticed that even when metrics aren’t updated, OpenTelemetry still pushes the ...
0
votes
0
answers
27
views
Unable to connect to newrelic using Opentelemetry
I am trying to send tracing data to newrelic using opentelemetry-otlp via http
Below is code snippet that I am using
fn main() -> {
let result = init_tracer_provider();
globa::...
0
votes
0
answers
5
views
How to send different ddtags for different files read by filelog receiver?
I am trying to set up the OpenTelemetry collector to send logs to Datadog using the Datadog exporter. Here is what the relevant portion of my configuration file looks like:
receivers:
otlp:
...
0
votes
1
answer
29
views
How to push Open Telemetry Metrics to Azure App Insights using Azure Monitor Metric Exporter (Python)?
I'm quite new to Azure and OTEL, and currently exploring the options of integrating Open Telemetry with Application Insights in Azure.
I was able to push traces using the AzureMonitorTraceExporter and ...
-1
votes
0
answers
16
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
19
views
Spring Cloud Sleuth Not Working with OpenTelemetry: Version Conflicts with Spring Boot 2.x
I am using spring boot 2.7.3 to add observability through open telemetry ( manual instrumentation ).
Things I have done so far.
Added these dependencies in pom.xml
io.opentelemetry.instrumentation
...
0
votes
0
answers
20
views
OpenTelemetry Collector remove the outer body element of the journald fields
The OpenTelemetry Collector configuration:
receivers:
journald:
processors:
resource:
attributes:
- key: loki.format
value: json
action: insert
- key: deployment....
0
votes
0
answers
14
views
Autoinstrumention using OTEL collector for .NET framework 4.8 MVC deployed on IIS in Windows x64 not working
Trying auto instrumentation for .NET Framework 4.8 MVC application deployed on IIS Server but there is no metrics or traces generated. Added below environment variable in applicationHost file
<...
0
votes
0
answers
26
views
Problem using with_metadata from TonicExporterBuilder [duplicate]
I am using this to build tracer_provider using below code snippet, but it gives me an error while using with_metadata(map). The error says that
found tonic::metadata::MetadataMap but expects tonic::...
0
votes
1
answer
24
views
Filtering http requests activities by OpenTelemetry in Azure Monitor
Library name and version
Azure.Monitor.OpenTelemetry.AspNetCore 1.2.0
Query/Question
Hi,
Prologue
We use built-in .NET Core authentication/authorization with multiple schemes for different OpenID ...
-1
votes
0
answers
18
views
How to propagate context using open telemetry between microservices that communicate through message broker in java?
We have microservices communicating through a message broker like azure event hub using custom model class written in Java. How do I propagate context between them to implement distributed tracing? I ...
1
vote
0
answers
53
views
Sprintboot Opentelemetry with spring-boot-starter Error
I am trying to enable opentelemetry leveraging sprint-boot-starter. I added io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter to the build.gradle file. However, the application throws ...
0
votes
0
answers
18
views
spring boot micrometer traceId,spanId not found for console appender pattern
I'm working with a Spring Boot 3.2 application and have configured instrumentation for tracing using Micrometer and OpenTelemetry. Here's my setup:
Dependencies:
<dependency>
...
2
votes
0
answers
44
views
Custom JSON Console Formatter in OpenTelemetry: How to align a Custom Log Exporter
I have two services: one in .NET and one in Java. I have a custom log formatter in the Java service and I want to align the .NET app to match this Java service.
LogTemplatejava.json:
{
"@...
0
votes
0
answers
54
views
OpenTelemetry span exporter blocks from within tonic RPC
I want to export spans using the OpenTelemetry Protocol from inside of a tonic service. My attempts to do this seemingly result in deadlock. I've created a minimal example here. Here's a summary:
I ...