Skip to content

Commit

Permalink
Fix wrong Y axis on new chart (#6254)
Browse files Browse the repository at this point in the history
* Fix wrong Y axis on new chart

* use percentunit
  • Loading branch information
thampiotr authored Jan 26, 2024
1 parent 4bccd19 commit 276db0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions operations/agent-flow-mixin/dashboards/prometheus.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ local scrapePanels(y_offset) = [

// Scrape success rate
(
panel.new(title='Scrape success rate', type='timeseries') +
panel.withUnit('percent') +
panel.new(title='Scrape success rate in $cluster', type='timeseries') +
panel.withUnit('percentunit') +
panel.withDescription(|||
Percentage of targets successfully scraped by prometheus.scrape
components.
Expand All @@ -47,7 +47,7 @@ local scrapePanels(y_offset) = [

// Scrape duration
(
panel.new(title='Scrape duration', type='timeseries') +
panel.new(title='Scrape duration in $cluster', type='timeseries') +
panel.withUnit('s') +
panel.withDescription(|||
Duration of successful scrapes by prometheus.scrape components,
Expand Down

0 comments on commit 276db0a

Please sign in to comment.