Skip to content

Commit 51b87a1

Browse files
authored
Merge pull request #262 from grafana/beorn7/prom-config
Fix typo introduced in #261
2 parents 811ccb0 + 6953043 commit 51b87a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus-ksonnet/lib/prometheus-config.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
target_label: 'pod', // Not 'pod_name', which disappeared in K8s 1.16.
148148
},
149149
{
150-
source_labels: ['__meta_kubernetes_container_name'],
150+
source_labels: ['__meta_kubernetes_pod_container_name'],
151151
action: 'replace',
152152
target_label: 'container', // Not 'container_name', which disappeared in K8s 1.16.
153153
},

0 commit comments

Comments
 (0)