fix promtail labels
This commit is contained in:
@@ -3,6 +3,11 @@ config:
|
|||||||
- url: "????" #replaced values.local.yaml. Example: https://lokiserver/loki/api/v1/push
|
- url: "????" #replaced values.local.yaml. Example: https://lokiserver/loki/api/v1/push
|
||||||
# by default all scrap configs had node_name
|
# by default all scrap configs had node_name
|
||||||
snippets:
|
snippets:
|
||||||
|
extraRelabelConfigs:
|
||||||
|
- target_label: host
|
||||||
|
replacement: ${HOSTNAME}
|
||||||
|
- target_label: cluster
|
||||||
|
replacement: casa
|
||||||
|
|
||||||
extraScrapeConfigs: |
|
extraScrapeConfigs: |
|
||||||
#scrape config for syslog
|
#scrape config for syslog
|
||||||
@@ -24,6 +29,7 @@ config:
|
|||||||
replacement: '${HOSTNAME}'
|
replacement: '${HOSTNAME}'
|
||||||
- target_label: 'cluster'
|
- target_label: 'cluster'
|
||||||
replacement: 'casa'
|
replacement: 'casa'
|
||||||
|
|
||||||
extraArgs:
|
extraArgs:
|
||||||
- --config.expand-env=true
|
- --config.expand-env=true
|
||||||
extraVolumes:
|
extraVolumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user