Skip to content

Commit

Permalink
fix: total suffix added
Browse files Browse the repository at this point in the history
  • Loading branch information
geekbrother committed Nov 10, 2023
1 parent 0ab1cc8 commit 7025df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local targets = grafana.targets;
.configure(defaults.configuration.timeseries)
.addTarget(targets.prometheus(
datasource = ds.prometheus,
expr = 'sum(rate(spawned_publishing_workers{}[$__rate_interval]))',
expr = 'sum(rate(spawned_publishing_workers_total{}[$__rate_interval]))',
refId = "availability",
))
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local targets = grafana.targets;
.configure(defaults.configuration.timeseries)
.addTarget(targets.prometheus(
datasource = ds.prometheus,
expr = 'sum(rate(publishing_worker_errors{}[$__rate_interval]))',
expr = 'sum(rate(publishing_worker_errors_total{}[$__rate_interval]))',
refId = "availability",
))
}

0 comments on commit 7025df0

Please sign in to comment.