Skip to content

Commit

Permalink
feature-flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhani-cw committed Jun 10, 2024
1 parent b17ea61 commit 48d645e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ pub struct CommonConfig {
#[arg(long = "metrics-exporter-address", env = "METRICS_EXPORTER_ADDRESS", default_value = "0.0.0.0:9000")]
pub metrics_exporter_address: SocketAddr,

#[cfg(feature = "metrics")]
/// Metrics histograms will be collected using summaries or histograms (buckets)?
#[arg(long = "metrics-histogram-kind", env = "METRICS_HISTOGRAM_KIND", default_value = "summary")]
pub metrics_histogram_kind: MetricsHistogramKind,
Expand Down

0 comments on commit 48d645e

Please sign in to comment.