Skip to content

Commit

Permalink
fixed traffic statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Feb 27, 2024
1 parent b202879 commit b729291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl Stats {
points: f64,
) -> anyhow::Result<Series> {
let query = PrometheusQuery {
query: "sum(rate(sflow_agent_bytes[5m]))*8".to_string(),
query: "sum(rate(sflow_router_bytes[5m]))*8".to_string(),
start,
end,
step: ((end - start) / points).as_seconds_f64(),
Expand Down

0 comments on commit b729291

Please sign in to comment.