tracing updates

This commit is contained in:
Robin Appelman 2025-05-23 13:03:34 +02:00
commit e580d27f14
5 changed files with 1227 additions and 838 deletions

View file

@ -1,8 +1,8 @@
use axum::http::StatusCode;
use axum::response::{IntoResponse, Response};
use config::ConfigError;
use opentelemetry::trace::TraceError;
use opentelemetry_sdk::logs::LogError;
use opentelemetry_otlp::ExporterBuildError;
use opentelemetry_sdk::trace::TraceError;
use secretfile::SecretError;
use tracing_subscriber::util::TryInitError;
@ -35,7 +35,7 @@ pub enum SetupError {
#[error(transparent)]
Tracing(#[from] TraceError),
#[error(transparent)]
Log(#[from] LogError),
Exporter(#[from] ExporterBuildError),
#[error(transparent)]
TracingSubscriber(#[from] TryInitError),
#[error(transparent)]