Skip to content

Commit

Permalink
progress save
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinschoonover committed Sep 7, 2021
1 parent aec3d7c commit c8c0865
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions production/loki-mixin/dashboards/loki-reads.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
$.row('Frontend (cortex_gw)')
.addPanel(
$.panel('QPS') +
$.qpsPanel('loki_request_duration_seconds_count{%s route=~"%s"}' % [$.jobMatcher($._config.job_names.gateway), http_routes])
$.qpsPanel('loki_request_duration_seconds_count{%s, route=~"%s"}' % [$.jobMatcher($._config.job_names.gateway), http_routes])
)
.addPanel(
$.panel('Latency') +
Expand All @@ -29,7 +29,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
$.row('Frontend (query-frontend)')
.addPanel(
$.panel('QPS') +
$.qpsPanel('loki_request_duration_seconds_count{%s route=~"%s"}' % [$.jobMatcher($._config.job_names.query_frontend), http_routes])
$.qpsPanel('loki_request_duration_seconds_count{%s, route=~"%s"}' % [$.jobMatcher($._config.job_names.query_frontend), http_routes])
)
.addPanel(
$.panel('Latency') +
Expand All @@ -44,7 +44,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
$.row('Querier')
.addPanel(
$.panel('QPS') +
$.qpsPanel('loki_request_duration_seconds_count{%s route=~"%s"}' % [$.jobMatcher($._config.job_names.querier), http_routes])
$.qpsPanel('loki_request_duration_seconds_count{%s, route=~"%s"}' % [$.jobMatcher($._config.job_names.querier), http_routes])
)
.addPanel(
$.panel('Latency') +
Expand All @@ -59,7 +59,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
$.row('Ingester')
.addPanel(
$.panel('QPS') +
$.qpsPanel('loki_request_duration_seconds_count{%s route=~"%s"}' % [$.jobMatcher($._config.job_names.ingester), grpc_routes])
$.qpsPanel('loki_request_duration_seconds_count{%s, route=~"%s"}' % [$.jobMatcher($._config.job_names.ingester), grpc_routes])
)
.addPanel(
$.panel('Latency') +
Expand All @@ -74,7 +74,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
$.row('BigTable')
.addPanel(
$.panel('QPS') +
$.qpsPanel('cortex_bigtable_request_duration_seconds_count{%s operation="/google.bigtable.v2.Bigtable/ReadRows"}' % $.jobMatcher($._config.job_names.querier))
$.qpsPanel('cortex_bigtable_request_duration_seconds_count{%s, operation="/google.bigtable.v2.Bigtable/ReadRows"}' % $.jobMatcher($._config.job_names.querier))
)
.addPanel(
$.panel('Latency') +
Expand All @@ -88,11 +88,11 @@ local utils = import 'mixin-utils/utils.libsonnet';
$.row('BoltDB Shipper')
.addPanel(
$.panel('QPS') +
$.qpsPanel('loki_boltdb_shipper_request_duration_seconds_count{%s operation="QUERY"}' % $.jobMatcher($._config.job_names.index_gateway))
$.qpsPanel('loki_boltdb_shipper_request_duration_seconds_count{%s, operation="QUERY"}' % $.jobMatcher($._config.job_names.index_gateway))
)
.addPanel(
$.panel('Latency') +
$.latencyPanel('loki_boltdb_shipper_request_duration_seconds', '{%s operation="QUERY"}' % $.jobMatcher($._config.job_names.index_gateway))
$.latencyPanel('loki_boltdb_shipper_request_duration_seconds', '{%s, operation="QUERY"}' % $.jobMatcher($._config.job_names.index_gateway))
)
),
},
Expand Down

0 comments on commit c8c0865

Please sign in to comment.