aKode fase 1 (parziale): niente Statsig, analytics, upload Sentry, update check e announcement remoti
This commit is contained in:
@@ -10512,7 +10512,7 @@ async fn metrics_exporter_defaults_to_statsig_when_missing() -> std::io::Result<
|
||||
)
|
||||
.await?;
|
||||
|
||||
assert_eq!(config.otel.metrics_exporter, OtelExporterKind::Statsig);
|
||||
assert_eq!(config.otel.metrics_exporter, OtelExporterKind::None);
|
||||
assert!(config.otel.log_sse_deltas);
|
||||
assert!(!config.otel.agent_response_logging_enabled());
|
||||
assert!(!config.otel.guardian_assessment_logging_enabled());
|
||||
|
||||
@@ -19,7 +19,7 @@ pub(crate) fn resolve_config(
|
||||
// OTLP HTTP endpoints are signal-specific in our config, so enabling log
|
||||
// export must not implicitly send spans to a /v1/logs endpoint.
|
||||
let trace_exporter = config.trace_exporter.unwrap_or(OtelExporterKind::None);
|
||||
let metrics_exporter = config.metrics_exporter.unwrap_or(OtelExporterKind::Statsig);
|
||||
let metrics_exporter = config.metrics_exporter.unwrap_or(OtelExporterKind::None);
|
||||
// Provider initialization installs process-global OTEL state. Sanitize
|
||||
// user-editable trace metadata here so malformed config is reported as a
|
||||
// startup warning instead of making startup fail.
|
||||
|
||||
Reference in New Issue
Block a user