Skip to content

Commit 3f228e0

Browse files
authored
Merge pull request #6 from flownative/task/pod-name-label
Provide "pod" label with log entries
2 parents 2e428f5 + 86a56f4 commit 3f228e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

root-files/opt/flownative/promtail/etc/config-template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ scrape_configs:
88
labels:
99
__dynamic_labels__
1010
host: ${PROMTAIL_LABEL_HOST}
11+
pod: ${PROMTAIL_LABEL_POD_NAME}
1112
__path__: ${PROMTAIL_SCRAPE_PATH}
1213

1314
server:

0 commit comments

Comments
 (0)