Skip to content

Commit

Permalink
Otel config future
Browse files Browse the repository at this point in the history
  • Loading branch information
bryn committed Oct 22, 2023
1 parent ea78a92 commit 4c55750
Show file tree
Hide file tree
Showing 8 changed files with 1,011 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apollo-router/src/plugins/telemetry/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,22 @@ pub(crate) struct Conf {
/// Logging configuration
#[serde(rename = "experimental_logging", default)]
pub(crate) logging: Logging,

#[allow(dead_code)]
#[serde(rename = "logging", default)]
pub(crate) new_logging: config_new::logging::Logging,
/// Metrics configuration
pub(crate) metrics: Metrics,
/// Tracing configuration
pub(crate) tracing: Tracing,
/// Apollo reporting configuration
pub(crate) apollo: apollo::Config,
/// Event configuration
pub(crate) events: config_new::events::Events,
/// Span configuration
pub(crate) spans: config_new::spans::Spans,
/// Instrument configuration
pub(crate) instruments: config_new::instruments::Instruments,
}

/// Metrics configuration
Expand Down
Loading

0 comments on commit 4c55750

Please sign in to comment.