1,421 questions
-1
votes
0
answers
38
views
I'm trying to implement token refresh in OpenTelemetry exporter
I tried to add OAuth token refresh for OpenTelemetry metrics exports. The implementation involved creating an OAuthTokenProvider service to fetch access tokens via client credentials flow, and an ...
Tooling
1
vote
1
replies
44
views
How to get distributed tracing across TypeScript microservices without manual instrumentation
I'm building a backend with about 8 TypeScript microservices. Right now I'm manually wiring up OpenTelemetry in each service - setting up the SDK, creating spans, propagating trace context through ...
0
votes
0
answers
41
views
Azure App Insights with Container Apps (Cloud Native BuildPacks)
Azure App Insights with Container Apps (Cloud Native BuildPacks) is not working. I get "Not available: couldn't connect to your application" when I go to live metrics. This is a Spring Boot ...
0
votes
0
answers
98
views
How should a .NET Framework solution handle OpenTelemetry wrapper dependencies when using packages.config?
We have a .NET Framework solution with multiple projects. Many projects reference an internal core library, and that core library contains all the package references, including our custom ...
0
votes
0
answers
90
views
Losing metrics with the same name and different tags using Otel-java agent, alloy and mimir
I am using the OpenTelemetry java agent to read and push micrometer metrics from my Java app to Alloy, and from Alloy onwards onto Mimir, which is then read in grafana.
micrometer -> opentel agent -...
0
votes
1
answer
46
views
Updated Logging to application insights to use the OpenTelemetry SDK, this broke HTTP status code filtration
I've just updated my code for logging to application insights in my project to use the OpenTelementry SDKs, and for some reason I cant get the filtration of 404s Http status codes to work for stuff ...
0
votes
1
answer
35
views
PromQL label matching in OpenObserve
Using OpenObserve and its Collector I get a metric called system_filesystem_usage.
The metric has a label "state" which is either of "used", "free", or "reserved&...
Best practices
0
votes
1
replies
74
views
What additional fields are needed to identify instances of services in metrics, traces, logs - After replicating services across multiple replicas?
After replicating services across multiple instances (replicas), we need to figure out what additional fields are required to identify instances in metrics, traces, logs, and health checks.
For ...
0
votes
1
answer
30
views
How to use groupbyattrs processor? [closed]
I'm trying to push system logs into Grafana Loki by using OpenTelemetry Colelctor.
I've encountered a problem where Loki is not able to properly index data, because it require attributes to be ...
Tooling
1
vote
0
replies
68
views
Multi-Tenant Log Routing with OpenTelemetry?
I am architecting a "Bring Your Own Sink" logging platform. The goal is to allow users to register their own external endpoints (OTLP, S3, Webhooks), and have my platform route their ...
0
votes
0
answers
49
views
OTEL Auto Instrumentation for Python Logging
I have been trying to test OTEL auto instrumentation for Python and been having trouble getting metrics, traces, and logs to all be properly exporting consistently. I have been attempting this will ...
3
votes
1
answer
119
views
Open search 3.1 not showing traces at node level for DBQ query
Setup:
Created a local setup of Open Search 3.1 with jaegar to view traces. I am able to see http level traces but not detailed traces at node/shard level to debug slow DBQ queries.
Configs used:
...
-5
votes
1
answer
63
views
Extracting data from JSON field containing array data [closed]
{"logRecords":[{"version":"1.11","category":"Management"}, {"version":"14.11","eventCategory":"update"}]}
I ...
Tooling
0
votes
2
replies
21
views
FOSS Opentelemetry storage backends that stores all metadata (value type, unit, etc.)
I've been looking for a good metric storage system for a while. I've tried some of the older systems (Influx, graphite, etc.), but what I very much miss from those is some (standardized) annotation of ...
1
vote
0
answers
63
views
Open Telemetry - Logs Are Missing in Azure Log Analytics
I am looking to move to Open Telemetry logging with injestion using Azure Monitor and Log Analytics.
I wrote a multi threaded sample that writes logs and sends them to Azure Log Analytics.
Under small ...
1
vote
1
answer
347
views
Spring Boot 4.0.1: OpenTelemetry trying to connect to collector despite excludinq OTLP exporter
After migrating from Spring Boot 3.5.6 to 4.0.1, I switched from Micrometer tracing tc OpenTelemetry (as Micrometer autoconfiguration is no longer supported). I don't need to export traces to a ...
Advice
0
votes
1
replies
72
views
How do I ensure that we are only logging OpenTelemetry traces if there is a span with an error somewhere in the trace?
I am in the process of trying to implement OpenTelemetry in a React web application. I am wondering if there is a way to export a trace to the collector only when there is an error somewhere in the ...
1
vote
0
answers
76
views
Configuring log correlation in Azure Functions and application insights
I have a simple Azure Function that I'm trying to setup logging and tracing with open telemetry. I managed to get the logs to show in Application Insights, but I can't get the traces to be correlated ...
0
votes
0
answers
55
views
FileLog Receiver loses logs when exporter is down
Describe the issue you're reporting
I have a scenario where multiple log files are generated every 3 minutes, and each log file contains around 10 log entries per minute.
Example log files:
testlog-...
1
vote
1
answer
136
views
Apache Camel not propagating traceparent in Open Telemetry
I have a Camel, spring boot app that reads a message from a kafka topic. I have a spring boot test that places a message on an embedded kafka broker and add an open teleletry 'traceparent' header, ...
0
votes
1
answer
50
views
How can I capture external (off-process) telemetries in my otel span?
I am developing a framework for running LLM-based agents, and I am collecting telemetry from my framework via otel. I have a central function where the agent functionality is being intercepted step by ...
2
votes
1
answer
544
views
How to reduce the logging of OpenTelemetry with ASP.NET Core and Azure web service
I have an ASP.NET Core web application running as an Azure App Service.
Recently I have noticed our costs for Application Insights has rocketed up. I think this might be due to upgrading to a newer ...
-1
votes
1
answer
104
views
Empty trace_id and span_id with Hono and OpenTelemetry
I have a Hono app that I want to instrument for observability with OpenTelemetry and Pino logger. Specifically, I want to generate logs that have the trace_id and span_id attributes, but in the ...
Best practices
2
votes
1
replies
71
views
UI usage analytics dashboard
I’m creating UI dashboard which I want to measure things like
How many requests are made from the web application from a particular screen along with the organisation location of the user.
There are ...
0
votes
1
answer
148
views
How to Reduce Latency Overhead of OpenTelemetry C++ SDK in High-Performance Applications?
I’m planning to use the OpenTelemetry C++ SDK in a high-performance, low-latency application to export metrics.
However, during my POC, I’ve observed non-trivial latency impact when instrumenting even ...
-2
votes
1
answer
81
views
How to create a custom diagnostic subscriber in dotnet apm agent?
I have an ASP.NET Core Web API service and now I need to put performance monitoring check on it. So I apply all Http, EF Core, Redis subscriber and it works very well.
But at some points, I have time ...
1
vote
0
answers
44
views
Confusion around batchprocessor / exporterhelper
I recently had an issue of hitting an APM's payload limit, so I adjusted the BatchProcessor's values downward until the batch sizes were adequate, but I also noticed the exporthelper's batch sizer. I ...
Advice
0
votes
0
replies
69
views
Open telemetry upgrade
I have been using:
"@opentelemetry/api": "=1.4.1", "
@opentelemetry/exporter-jaeger": "^1.13.0",
"@opentelemetry/instrumentation-express": &...
Best practices
0
votes
0
replies
45
views
How to Return a Custom Tracer from OpenTelemetrySDK using an OTel Agent Extension?
I am running a Java application with an OpenTelemetry JavaAgent for auto-instrumentation.
For my use case, I would like to create an agent extension that introduces a new, additional Tracer. The new ...
0
votes
1
answer
260
views
How to Add Custom Properties to App Insights Request Telemetry
I have a fairly simple requirement where I have a message based endpoint that consumes messages from Azure Service Bus. Pretty standard setup. However, when I receive the message I want the log that ...
0
votes
0
answers
118
views
Opentelemetry with opentracing sending traces to jaeger
There are many services that are migrating one by one to Java 21 and Spring Boot 3.5.
This means not all services will be migrated to newer versions at the same time.
Opentracing has been abandoned ...
1
vote
0
answers
137
views
Integrating Effect TS, opentelemetry and DataDog
I have an app written with Effect TS.
For integrating Effect TS's Spans and Tracing with OpenTelemetry, there is an example in the docs
where ConsoleSpanExporter is used.
DataDog had that way of doing ...
0
votes
0
answers
110
views
Alloy sourcemap integration not resolving minified Angular stacktrace
I’m trying to configure Grafana Alloy to resolve my Angular application’s stack traces using source maps, but the mapping isn’t working as expected. Even though I have the sourcemaps downloaded ...
0
votes
0
answers
250
views
Capture http request body and http response body using opentelemetry java agent
I'm using springboot 3.4.1 and opentelemetry java agent v2.20.1, it works well.
I want to capture http request body and http response body but opentelemetry does not offer this out of the box.
does ...
0
votes
0
answers
50
views
can skywalking OAP receive opentelemetry trace
I have a question when using opentelemetry and skywalking. In java project, use opentelemetry to generate trace and span infomation, then I want to collect these trace to skywalking aop to analysis ...
1
vote
0
answers
236
views
Google Cloud Run error with OpenTelemetry CloudMonitoringMetricsExporter: "One or more points were written more frequently than the maximum sampl..."
Background
I have a containerized Python Flask application that is deployed on Google Cloud Run. I want to extract custom metrics from this app and send them to Google Cloud Monitoring.
I followed the ...
1
vote
1
answer
333
views
Prevent trace exports for the Metrics endpoint with OpenTelemetry
I have this easy setup in my ASP.NET Core web application:
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions....
0
votes
0
answers
91
views
Connect APM server to elasticsearch
I am trying to send telemetry data from ASP.NET app to elastic search. (logs, metrics, traces).
I tried to log data without APM. Logs are sent to elastic without APM, but trace does not work. To ...
1
vote
0
answers
72
views
Azure monitor opentelemetry does not close span on chain end in Langchain
I'm trying to setup Langchain tracing in Azure Monitor (via Application Insights) and I use the following test code
if __name__ == "__main__":
configure_azure_monitor(connection_string=...
0
votes
1
answer
186
views
Google Cloud Trace Explorer not showing OpenTelemetry service name (Node.js on GKE)
I am using OpenTelemetry with Node.js in my application running on Google Kubernetes Engine (GKE).
The traces are successfully sent to Google Cloud Trace, but in Google Cloud Trace Explorer the ...
1
vote
0
answers
279
views
How to configure OpenTelemetry OTLPMetricExporter in Node.js with self-signed certificates?
I’m using OpenTelemetry in a TypeScript project to send metrics to an OTLP endpoint over HTTPS.
import { MeterProvider } from "@opentelemetry/sdk-metrics";
import { OTLPMetricExporter } from ...
1
vote
1
answer
835
views
Add external service in Aspire
I am trying to add an ASP.NET Core app to an Aspire dashboard.
I did that using this code:
builder.AddExternalService("FirstApp", new Uri("http://localhost:5027"))
....
0
votes
0
answers
112
views
How do you force an OpenTelemetry measurement event?
I am using OpenTelemetry, and would like to force a round of meter observations.
Normally, I have the metrics report every 10 seconds, but would like to trigger observations of my meter at program ...
1
vote
1
answer
226
views
How to rehydrate current span in Rust tracing/otel
I'm writing a Pingora proxy instance. It uses multiple async functions from a trait to indicate various stages. There is a common context that I can provide. I am trying to instrument the whole ...
0
votes
0
answers
86
views
Dotnet process trace needs to be excluded using opentelemetry
In kubernetes pod container, there are 2 different dotnet processes, one for the main application and the other for monitoring the application.
I have configured Entrypoint as shown below in both ...
1
vote
1
answer
240
views
using pydantic.logfire sending data to grafana-otel-container
I am using lofgire to send traces, logs and metrics to grafana-otel container. However, in the grafana UI (reachable unter http://localhost:3000 and login is pw: admin & user: admin), only traces ...
0
votes
1
answer
110
views
Toggling export of OTLP tracing not working with GraalVM native images
To make the export work at all for a native image build, it needs to be enabled during AOT processing. So we have this for the profile used for the build:
management.otlp.tracing.export.enabled: true
...
0
votes
1
answer
217
views
How to make vcpkg build a specific library version of opentelemetry-cpp?
I would like to use opentelemetry-cpp ABI version 2 in a Windows VS2022 project. To do this, i am trying to use vcpkg. By default the vcpkg build of opentlemetry-cpp creates ABI version 1 libraries. ...
0
votes
0
answers
80
views
Under Windows, a simple example of GRPC log exporter won't link
I've compiled and linked a simple otlp grpc exporter sample program and run it successfully under Ubuntu 22, but can't seem to include the correct libraries to get the program to link under Windows ...
0
votes
0
answers
89
views
Visualising API calls with error in honeycomb
I want to calculate the percentage of error-free calls in Honeycomb. Whenever there is an error in any child span, I add it like this:
span.AddAttributes(trace.StringAttribute("error", "...