chore: drop metrics exporter config (#8892)

Dropped for now as enterprises should not be able to use it
This commit is contained in:
jif-oai
2026-01-08 13:20:18 +00:00
committed by GitHub
parent 267c05fb30
commit e21ce6c5de
2 changed files with 1 additions and 7 deletions

View File

@@ -1439,13 +1439,12 @@ impl Config {
.unwrap_or(DEFAULT_OTEL_ENVIRONMENT.to_string());
let exporter = t.exporter.unwrap_or(OtelExporterKind::None);
let trace_exporter = t.trace_exporter.unwrap_or_else(|| exporter.clone());
let metrics_exporter = t.metrics_exporter.unwrap_or(OtelExporterKind::Statsig);
OtelConfig {
log_user_prompt,
environment,
exporter,
trace_exporter,
metrics_exporter,
metrics_exporter: OtelExporterKind::Statsig,
}
},
};

View File

@@ -338,11 +338,6 @@ pub struct OtelConfigToml {
/// Optional trace exporter
pub trace_exporter: Option<OtelExporterKind>,
/// Optional metrics exporter
///
/// Defaults to `statsig` outside of tests.
pub metrics_exporter: Option<OtelExporterKind>,
}
/// Effective OTEL settings after defaults are applied.