Skip to content

Commit

Permalink
Updating reporter more in the past to avoid concurrency with graphite…
Browse files Browse the repository at this point in the history
… writes (#15)

Updating reporter more in the past to avoid concurrency with graphite…

… writes

Reviewed-by: Vladimir Vshivkov
  • Loading branch information
vladimirhasko authored Dec 14, 2023
1 parent 85fc50b commit 64da258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/reporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ async fn metric_watcher(config: &Config) {
.query(&[
("environment", env.name.clone()),
("service", component.0.clone()),
("from", "-2min".to_string()),
("to", "-1min".to_string()),
("from", "-3min".to_string()),
("to", "-2min".to_string()),
])
.send()
.await
Expand Down

0 comments on commit 64da258

Please sign in to comment.