1,402 questions
0
votes
1
answer
17
views
How to Expose OpenTelemetry Prometheus Scraping Endpoint on a Different Port than the Main ASP.NET Core Application
I'm updating my ASP.NET Core application to use OpenTelemetry for metrics collection, transitioning from the Prometheus library.
Previously, I had a specific server for my Prometheus metrics endpoint ...
1
vote
1
answer
19
views
Any way to specify type of returned variable if that type is not exported by API in typescript?
I'm working with the OpenTelemetry SDK in typescript.
I want to have a simple class like this:
import { MeterProvider } from "@opentelemetry/sdk-metrics"
class MyClass {
private meter : ...
0
votes
0
answers
20
views
processing live metric data using opentelemetry dotnet
I would like to save realtime data using opentelemetry. But now it exports my data at a set interval, witch means that if my data changes in between intervals it gets lost. Right now i use the ...
0
votes
1
answer
73
views
Azure OpenTelemetry Exporter duplicates logs
I have a simple python script to export logs into an app insights trace table by following this example, however, the log entries get duplicated. What could be the reason?
# example.py
import ...
1
vote
0
answers
27
views
How to capture method-level traces in OpenTelemetry with Spring Boot Starter for Zero-code instrumentation?
I am trying to integrate OpenTelemetry with my existing Spring Boot application using the Zero-code instrumentation Spring Boot Starter. I followed the official documentation and configured the ...
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
1
answer
69
views
How to create logs from Streamlit app to Azure with OpenTelemetry?
I'm trying to use OpenTelemetry to send logs from a Streamlit app to Azure.
I followed the Azure documentation for OpenTelemetry, tried different methods but it's not working. I'm not receiving logs ...
0
votes
0
answers
54
views
Enable Zero-Code Instrumentation for gRPC Endpoint Metrics in a Play Framework App with OpenTelemetry
I have a Scala application built with the Play Framework that exposes a gRPC endpoint. Here's the current setup:
The application is instrumented with opentelemetry-javaagent.
The OpenTelemetry data ...
0
votes
1
answer
70
views
FastAPI Azure Opentelemetry logger does not map LogLevels correctly
Logs of my FastAPI app are currently written into AppServiceConsoleLogs table in Log Analytics, Azure. I initialize my loggers with (where LOGGING_CONFIG is just the logging config as Class):
class ...
0
votes
0
answers
17
views
Datasource Micrometer not working with opentelemetry zero-code instrumentation
I am using the zero-code instrumentation Java agent in order to export traces from my Spring Boot app to Jager in otlp format. So far so good, but i need more than the autoconfiguration provided by ...
0
votes
1
answer
50
views
Trace and Span IDs not showing in Spring Boot logs but visible in Grafana via OpenTelemetry
I am using Spring Boot 3.4.0 with OpenTelemetry Spring Starter for tracing and logging. I am exporting the logs using the OpenTelemetry collector to Loki, and the traces and spans are visible in ...
-1
votes
0
answers
13
views
Is there a place where I can download an OTel Java SDK .jar file and include that in my java project? [closed]
I guess, first things first. Is there even such a thing (these days) as .jar file that I can include into my project and use the Otel APIs or is that a thing of the past and it is done completely ...
0
votes
0
answers
29
views
Configuring Opentelemetry for aws lambda leveraging opentelemetry aws lambda layers
I am new to opentelemetry. I am trying to configure zero-code otel instrumentation for aws lambda, so that it could push matrices and traces to SingnalFX.
Implemented lambda using nodejs. I have ...
-3
votes
0
answers
28
views
Best Practice: OpenTelemetry Counter - Changing attributes vs distinct metrics [closed]
My question is about Counters within OpenTelemetry. When it comes to attributes when do you allow a value change of the attribute vs. publishing a different metric entirely. This is the example I'm ...
0
votes
0
answers
12
views
Is there OpenTelemetry agent that collects metrics at the process level?
Does OTel agent linked below provide a drill down of utilization metrics at the process level? If not, are there any alternatives or ongoing work in this area? We've found process level metrics ...
0
votes
0
answers
43
views
Filter out OpenTelemetry traces that has no logs
I have this very simple standard Weather Api example controller where I've enabled OpenTelemetry:
using OpenTelemetry;
using OpenTelemetry.Trace;
var Builder = WebApplication.CreateBuilder(args);
...
0
votes
0
answers
29
views
Unable to build the project with opentelementery extention
I have spring boot project which is on version 2.7.7. We have some dependency on otel telementery for that we have used some part of build.gradle like below.
id "com.github.johnrengelman....
0
votes
1
answer
17
views
How libraries logs depenencies when then don't directly reference Application Insights?
In Application Insights, I can see dependencies like SQL, Http, etc being logged and associated with http request.
I wonder how are these logs produced, when those libraries does not reference ...
0
votes
1
answer
49
views
Setting Pod Name as cloudRoleInstance in Application Insights with OpenTelemetry in Python
I’m using OpenTelemetry to send logs from my Python application to Application Insights. The application is running in an AKS pod, and I want to set the pod name as the cloudRoleInstance in the ...
0
votes
1
answer
64
views
Spring Boot starter - OTEL cannot send data to otel-collector
I do have very basic configuration of Spring Boot (3.4.0) application with opentelemetry-spring-boot-starter and otel collector.
Unfortunately when I try to send metrics and logs to local Otel ...
0
votes
0
answers
32
views
OpenTelemetry trace not propagating from Spring Boot 3.2.1 (opentelemetry-javaagent 2.10) to Airflow 2.10.2 REST API
I am using Spring Boot 3.2.1 with the opentelemetry-javaagent 2.10 for zero-code instrumentation. I also have Apache Airflow 2.10.2 set up with OpenTelemetry configured.
When my Spring Boot ...
0
votes
0
answers
15
views
Is there a way to print these optl logs to files?
In mentioned code i am trying to save these logs periodically to txt files.
I have referred and checked docs but unable to find it. These logs must be saved every 30mins. Adding the files for flask ...
1
vote
0
answers
32
views
Setting up Prometheus and Jaeger with docker-compose
I have successfully integrated Prometheus into my monitoring workflow, monitoring my grpc services. But Jaeger is missing and tbh I have no idea what I could be missing.
This is my otel-collector ...
0
votes
0
answers
21
views
gRPC Observability in Python for aio.server
I would like to publish metrics of my gRPC services for a prometheus server. The names of metrics must commit opentelemtry semantic conventions.
I have installed grpcio-observability and follow its ...
0
votes
0
answers
26
views
opentelemtry heap and gc metrics
I am a little bit new on java with opentelemtry, but I would like to know if you could help me with a problem that I am facing. I am trying to instrument my springboot application with opentelemtry ...
0
votes
0
answers
28
views
How to propagate trace context with Dapr PubSub RabbitMq
I have two services talking to each other through RabbitMq.
Service A publishes messages directly to RabbitMq and Service B uses Dapr with the RabbitMq pubsub component.
Both services are instrumented ...
1
vote
2
answers
68
views
Otel Collector, TailSampling and SpanName
I'm trying to use OTEL Collector to filter out Traces from being emitted to my store.
I am using otel/opentelemetry-collector-contrib:latest, with tail_sampling
I have an event which runs about 1200 ...
0
votes
0
answers
88
views
Custom metrics for opentelemetry together with spring-boot autoinstrumentation?
Im setting up OpenTelemetry to capture metrics from my app. For reasons, I find it easier to use the spring-boot auto instrumentation https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/...
0
votes
1
answer
38
views
Clear Logs in .net Aspire
I'm using .Net Aspire on my server to monitor Logs.
now after 2 days it has 8000 logs and it became laggy.
How can I just clear Old Logs
builder.Services.AddOpenTelemetry()
.ConfigureResource(res =...
0
votes
1
answer
78
views
How to configure an OpenTelemetry Collector to pre-aggregate metrics across multiple resources
I have a service deployed on multiple instances, all reporting metrics to a common collector.
Each instance is identified by a triplet (service.namespace, service.name, service.instance.id).
However, ...
0
votes
0
answers
22
views
Why am I unable to assign an PeriodicExportingMetricReader instance to an otel SdkConficguration
I am trying to build a bespoke OTEL package for our internal applications, but run into a weird type mismatch error, that I cannot explain to myself.
export class OtelConfigurator {
otelEndpoint: ...
0
votes
1
answer
33
views
Open Telemetry-go | How global a MeterProvider really is?
According to docs, a meterProvider is essential to build instruments, and that's clear to me. Right after the initializing example of metric initialization, we have the topic aquiring a meter with ...
0
votes
1
answer
31
views
Filter metrics by tag value using .net OpenTelemetry
I'm using .net OpenTelemetry for metrics instrumentation in a .net8.0 console application.
services.AddOpenTelemetry()
.WithMetrics(builder =>
{
builder
...
0
votes
0
answers
26
views
How to write logs via File Exporter in non OTLP JSON format
I would like to export logs to a file using OpenTelemetry Collector File Exporter , also i would like to format the logs in logfmt format.
I was able to export the logs to a file but i am unable to ...
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
43
views
Spring Boot 3.3+ and Open Telemetry export to Google Cloud Trace?
I'm trying to get Open Telemetry to export traces from my Spring Boot 3.3.5 application running on GKE.
I've tried follow the guide here which says to use:
<dependencyManagement>
<...
0
votes
0
answers
22
views
How to implement opentelemetry customProcessor in an autoinstrumented java service
We are using opentelemetry java agent in our monolith application (non-spring) and would like to customize span with onStart method of Span Processor.
Agent version: 2.7.0
Dependencies used are
...
0
votes
0
answers
31
views
How to properly integrate Opentelemetry while using fork process model for multiprocessing in python django app
We have a python/django application, in our app we are connecting to snowflake data warehouse and we have long running requests for reporting (sql queries are being used to fetch data from snowflake). ...
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
2
answers
48
views
How to instrument http.ServeMux with OpenTelemetry?
I'm looking for a quick way to instrument http.ServeMux for OpenTelemetry. My mux handles multiple routes.
For Elastic APM, I can do it quickly like:
rootMux = apmhttp.Wrap(rootMux)
But with ...
0
votes
1
answer
58
views
How to assign log messages to service in Instana via OpenTelemetry?
I am integrating OpenTelemetry to our C# stack and I am stuck with logging. I can emit logs, and those are correctly assigned to trace via traceId, and I can browse them accordingly, but they are not ...
0
votes
0
answers
44
views
opentelemetry-spring-boot-starter rabbitmq instrumentation
I'm using AWS Distro for OpenTelemetry and I see the following Out of the box instrumentation: https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/out-of-the-box-instrumentation/
Their ...
0
votes
0
answers
27
views
How can I add request-specific span attributes for requests in a WebFlux Application
I am trying to add additional attributes to my OpenTelemetry Spans, i'm running Spring Boot (3.3.4) with web-application-type: reactive enabled.
I need to add specific pre-defined attributes and also ...
0
votes
0
answers
56
views
Add kubernetes pod labels to splunk logs using k8sattributes processor
How to add pod labels to splunk logs? Can't get the syntax right and the documentation doesn't seem to cover it. I'm using the otel-collector in daemonset mode, running in a kubernetes cluster and ...
0
votes
1
answer
74
views
opentelemetry missing trace
I am trying the opentelemetry auto-instrumentation. But it appears that the trace is being lost when using CompletableFuture.handle. Could anyone please assist me with this issue?
@GetMapping("/...
0
votes
0
answers
67
views
Springboot Opentelemetry service name
We are using Springboot and micrometer based implementation for Opentelemetry with Jaeger as the collector. Everything works as expected in terms of sending the traces to Jaeger. One of the ...
0
votes
0
answers
10
views
is OTEL_SPAN_EXPORTER a valid exporter in OTLP?
This grafana document
https://grafana.com/docs/grafana-cloud/monitor-applications/application-observability/instrument/jvm/#otlp-debug-logging
talks about OTEL_SPAN_EXPORTER.
OTEL_SPAN_EXPORTER=otlp,...
1
vote
0
answers
61
views
Ensuring .NET Metrics Appear at Prometheus /metrics Endpoint
When using the Prometheus Exporter for OpenTelemetry metrics in .NET 8, the /metrics HTTP GET endpoint only displays metrics that have been recorded (i.e., written to at least once) and whose ...
0
votes
1
answer
53
views
Can W3C traceparent be set by Java OpenTelemetry SDK
I am working to set the traceparent header in OpenTelemetry
https://w3c.github.io/trace-context/#traceparent-header
I am using the JAVA OTEL SDK and wanted to know if there is a Java based solution to ...