Skip to content

Commit

Permalink
start metrics by readings settings to control what port is used (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbalser authored Apr 21, 2023
1 parent d1a9fc9 commit e6606fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iot_packet_verifier/src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub struct Cmd {}

impl Cmd {
pub async fn run(self, settings: &Settings) -> Result<()> {
poc_metrics::install_metrics();
poc_metrics::start_metrics(&settings.metrics)?;

let (shutdown_trigger, shutdown_listener) = triggered::trigger();
tokio::spawn(async move {
Expand Down
2 changes: 1 addition & 1 deletion mobile_packet_verifier/src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub struct Cmd {}

impl Cmd {
pub async fn run(self, settings: &Settings) -> Result<()> {
poc_metrics::install_metrics();
poc_metrics::start_metrics(&settings.metrics)?;

let (shutdown_trigger, shutdown_listener) = triggered::trigger();
tokio::spawn(async move {
Expand Down

0 comments on commit e6606fc

Please sign in to comment.