blob: 25a44c9f162581ee862de93c5fa1b3407c4bdb0f [file] [log] [blame]
local grafana = import '../../../../vendor/grafonnet/grafana.libsonnet';
local prometheus = grafana.prometheus;
local lineGraph = import '../../../globals/line-graph.libsonnet';
lineGraph.new(
title='REST API request rate',
labelY1='Requests/Second',
formatY1='reqps',
)
.addTarget(
prometheus.target(
'rate(http_server_rest_api_count_total_total{instance="$instance",replica="$replica"}[5m])',
legendFormat='REST API request rate',
)
)