blob: 44b15454d4bd110b3b093b5813b7b15c10ddaca8 [file] [log] [blame]
local grafana = import '../../../../vendor/grafonnet/grafana.libsonnet';
local prometheus = grafana.prometheus;
local lineGraph = import '../../../globals/line-graph.libsonnet';
local yAxis = import '../../../globals/yaxis.libsonnet';
local HTTP_TARGET = 'http';
lineGraph.new(
title='HTTP queue',
yAxis1=yAxis.new(label='Tasks'),
)
.addTarget(
prometheus.target(
'http_server_jetty_threadpool_queue_size{instance="$instance",replica="$replica"}',
legendFormat=HTTP_TARGET,
)
)
.addSeriesOverride(
{
alias: HTTP_TARGET,
color: '#FFB357',
}
)