Skip to content

Commit 54ca335

Browse files
committed
productionize
1 parent 0da13af commit 54ca335

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎crates/server/src/config.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub struct Config {
6060

6161
/// OTLP trace sample rate (0.0 = never, 1.0 = always, 0.1 = 10%).
6262
/// Only effective when OTLP_ENABLED=true.
63-
#[arg(long, env = "OTLP_SAMPLE_RATE", default_value_t = 1.0)]
63+
#[arg(long, env = "OTLP_SAMPLE_RATE", default_value_t = 0.1)]
6464
pub otlp_sample_rate: f64,
6565

6666
/// Minimum age in seconds for orphaned temp files (`.tmp/` directory) to be

‎crates/server/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl<B> MakeSpan<B> for OtelMakeSpan {
153153
use tracing_opentelemetry::OpenTelemetrySpanExt as _;
154154

155155
let span = tracing::info_span!(
156-
"HTTP request",
156+
"http.request",
157157
http.method = %request.method(),
158158
http.uri = %request.uri(),
159159
http.version = ?request.version(),

0 commit comments

Comments
 (0)