Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,14 @@ pub struct Options {
)]
pub metrics_endpoint_auth: bool,

#[arg(
long,
env = "P_OTEL_FLATTEN_EXEMPLARS",
default_value = "false",
help = "Use the legacy flat per-exemplar columns (exemplar_time_unix_nano, exemplar_span_id, exemplar_trace_id, exemplar_value) for OTEL metrics. These columns keep only the last exemplar of each data point. When false (default), all exemplars are stored under a single nested `exemplars` array column."
)]
pub otel_flatten_exemplars: bool,

// TLS/Security
#[arg(
long,
Expand Down
Loading
Loading