Skip to content

Commit

Permalink
refactor(config): prefix envs
Browse files Browse the repository at this point in the history
  • Loading branch information
mempirate committed Sep 12, 2024
1 parent 6375198 commit 3807669
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 3807669

Please sign in to comment.