Commit c5085065 authored by Owais Razi Uddin's avatar Owais Razi Uddin

adding reusibility files

parent 1a4f0db3
Pipeline #4106 failed with stages
in 5 seconds
local grafana = import 'grafonnet/grafana.libsonnet';
{
prometheusDs: grafana.template.datasource(
'PROMETHEUS_DS',
'prometheus',
'Prometheus',
hide='label',
),
applicationTemplate: grafana.template.new(
'application',
'$PROMETHEUS_DS',
'label_values(application)',
label='Application',
refresh='time',
),
instanceTemplate: grafana.template.new(
'instance',
'$PROMETHEUS_DS',
'label_values(jvm_memory_used_bytes{application="$application"}, instance)',
label='Instance',
refresh='time',
),
testTemplate: grafana.template.new(
'test',
'$PROMETHEUS_DS',
'label_values(test)',
label='test',
refresh='time',
),
testTemplate1: grafana.template.new(
'test2',
'$PROMETHEUS_DS',
'label_values(test)',
label='test',
refresh='time',
),
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment