mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-02-02 11:31:43 +00:00
51225e1733
Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
14 lines
417 B
Plaintext
14 lines
417 B
Plaintext
{
|
|
grafanaDashboards: {
|
|
'postgres-overview.json': (import 'dashboards/postgres-overview.json'),
|
|
},
|
|
|
|
// Helper function to ensure that we don't override other rules, by forcing
|
|
// the patching of the groups list, and not the overall rules object.
|
|
local importRules(rules) = {
|
|
groups+: std.native('parseYaml')(rules)[0].groups,
|
|
},
|
|
|
|
prometheusAlerts+: importRules(importstr 'alerts/alerts.yaml'),
|
|
}
|