chore: drop metrics exporter config (#8892)
Dropped for now as enterprises should not be able to use it
This commit is contained in:
parent
267c05fb30
commit
e21ce6c5de
2 changed files with 1 additions and 7 deletions
|
|
@ -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,
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue