Skip to content

Commit 0dcf5c4

Browse files
authored
Merge pull request prometheus-community#12 from grafana/gaantunes/add-cluster-label-and-log
Update mixin to acommodate selector replacement.
2 parents 8856922 + ca3bd5a commit 0dcf5c4

File tree

4 files changed

+1449
-1448
lines changed

4 files changed

+1449
-1448
lines changed

postgres_mixin/config.libsonnet

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
_config+:: {
3-
postgresExporterSelector: '',
3+
postgresExporterSelector: 'job=~"$job", instance=~"$instance"',
44
},
55
}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
{
2-
grafanaDashboards+:: {
3-
'postgres-overview.json': (import 'postgres-overview.json'),
4-
},
5-
}
1+
(import 'postgres-overview.libsonnet')

0 commit comments

Comments
 (0)