fix(victoriaMetrics): added cluster_environment label to logs and metrics
This commit is contained in:
parent
51fe5cc5b5
commit
80a8fe661b
2 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,7 @@ customConfig:
|
||||||
type: remap
|
type: remap
|
||||||
inputs: [k8s]
|
inputs: [k8s]
|
||||||
source: |
|
source: |
|
||||||
.log = parse_json(.message) ?? .message
|
._msg = parse_json(.message) ?? .message
|
||||||
del(.message)
|
del(.message)
|
||||||
# Add the cluster environment to the log event
|
# Add the cluster environment to the log event
|
||||||
.cluster_environment = "{{{ .Env.CLUSTER_ENVIRONMENT }}}"
|
.cluster_environment = "{{{ .Env.CLUSTER_ENVIRONMENT }}}"
|
||||||
|
|
|
@ -19,7 +19,6 @@ spec:
|
||||||
- chart: victoria-metrics-k8s-stack
|
- chart: victoria-metrics-k8s-stack
|
||||||
repoURL: https://victoriametrics.github.io/helm-charts/
|
repoURL: https://victoriametrics.github.io/helm-charts/
|
||||||
targetRevision: 0.48.1
|
targetRevision: 0.48.1
|
||||||
releaseName: vm-client
|
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/observability-client/vm-client-stack/values.yaml
|
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/observability-client/vm-client-stack/values.yaml
|
||||||
|
|
Loading…
Reference in a new issue