opentelemetry-rust
opentelemetry-rust copied to clipboard
The Rust OpenTelemetry implementation
`.install_simple` works fine, I receive traces in DataDog APM, however, `.install_batch(opentelemetry::runtime::AsyncStd)` seems to produce no traces, but there are no error logs either. I can't use `runtime::Tokio` because actix-web stable...
I need a way to specify pod/namespace/node as otel attributes from env vars `OTEL_RESOURCE_ATTRIBUTES` will not work for k8s with dynamic values, because k8s can't map(k=v).join(',') required attributes. It should...
I'm trying to build a metric that sends the number of hits per page on a webserver. Using simply `Metric::u64_counter` creates a global counter that doesn't resets at every metrics...
The following minimal otlp example with latest `tracing`, `tracing-subscriber`, `tracing-opentelemetry`, `opentelemetry`, `opentelemetry-otlp` gets stuck inside tonic or h2 when pushing spans in an async context: ```rust use tracing_subscriber::layer::SubscriberExt; type Error...
The latest W3C draft supports injecting the trace context in to an HTTP response. https://w3c.github.io/trace-context/#trace-context-http-response-headers-format This is the same format as the request context, except: 1. There's no `tracestate` header....
For the purposes of batch processing or testing, would it be possible to import a `Vec` into opentelemetry to be sent out via opentelemetry-otlp or the stdout pipeline? Concretely, I'd...
The implementation of `UniqueInstrumentMeterCore::new_async_instrument` and `UniqueInstrumentMeterCore::new_sync_instrument` returns the existing instrument if one exists. This causes issues for value observers where the instruments are not interchangeable as they have different callbacks....
I'm using tracing-opentelemetry. From what I understand, spans rely on Drop implementations to close, and until the span is closed it won't be shipped off. I'm currently using panic=abort for...
The [spec](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#onstart) noted that we should allow span processor to keep a reference to the span passed as the parameter of `on_start` method > It SHOULD be possible to keep...
I'm trying to set logging and tracing up for use with Grafana Loki and Grafana Tempo. I'd like to be able to get the otel Trace ID and include it...