Skip to content

Commit

Permalink
chore!(sidecar): rename env for telemetry options
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Oct 16, 2024
1 parent c5f7a54 commit 1ceee4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bolt-sidecar/src/config/telemetry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use clap::Parser;
#[derive(Parser, Debug, Clone)]
pub struct TelemetryOpts {
/// The port on which to expose Prometheus metrics
#[clap(short, long, env = "METRICS_PORT", default_value_t = 3300)]
#[clap(short, long, env = "BOLT_SIDECAR_METRICS_PORT", default_value_t = 3300)]
pub metrics_port: u16,
#[clap(short, long, env = "DISABLE_METRICS", default_value_t = false)]
#[clap(short, long, env = "BOLT_SIDECAR_DISABLE_METRICS", default_value_t = false)]
pub disable_metrics: bool,
}

0 comments on commit 1ceee4f

Please sign in to comment.