Skip to content

Commit

Permalink
Fix series/samples written rate
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Camata <[email protected]>
  • Loading branch information
douglascamata committed Dec 20, 2022
1 parent 6727f53 commit d1c55f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mixin/dashboards/receive.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ local utils = import '../lib/utils.libsonnet';
.addPanel(
g.panel('Rate of samples received (per tenant, only 2XX)') +
g.queryPanel(
'sum(rate(thanos_receive_write_samples_bucket{%s}[$interval])) by (%s) ' % [
'sum(rate(thanos_receive_write_samples_sum{%s}[$interval])) by (%s) ' % [
utils.joinLabels([thanos.receive.dashboard.tenantSelector, 'code=~"2.."']),
thanos.receive.dashboard.tenantDimensions,
],
Expand All @@ -164,7 +164,7 @@ local utils = import '../lib/utils.libsonnet';
.addPanel(
g.panel('Rate of samples not written (per tenant and code, non 2XX)') +
g.queryPanel(
'sum(rate(thanos_receive_write_samples_bucket{%s}[$interval])) by (%s) ' % [
'sum(rate(thanos_receive_write_samples_sum{%s}[$interval])) by (%s) ' % [
utils.joinLabels([thanos.receive.dashboard.tenantSelector, 'code!~"2.."']),
tenantWithHttpCodeDimensions,
],
Expand Down

0 comments on commit d1c55f2

Please sign in to comment.