Skip to content

Commit

Permalink
charts/victoria-metrics-k8s-stack: add `promscrape.dropOriginalLabels…
Browse files Browse the repository at this point in the history
…` by default (#850)

This is useful to lower vmagent's memory usage by default by sacrificing built-in relabeling debug UI.
  • Loading branch information
zekker6 authored Feb 8, 2024
1 parent 534ef24 commit 68bd93d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/victoria-metrics-k8s-stack/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Next release

- TODO
- Do not store original labels in `vmagent`'s memory by default. This reduces memory usage of `vmagent` but makes `vmagent`'s debugging UI less informative. See [this docs](https://docs.victoriametrics.com/vmagent/#relabel-debug) for details on relabeling debug.

## 0.18.12

Expand Down
1 change: 1 addition & 0 deletions charts/victoria-metrics-k8s-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ Change the values according to the need of the environment in ``victoria-metrics
| vmagent.ingress.pathType | string | `"Prefix"` | |
| vmagent.ingress.tls | list | `[]` | |
| vmagent.spec.externalLabels.cluster | string | `"cluster-name"` | |
| vmagent.spec.extraArgs."promscrape.dropOriginalLabels" | string | `"true"` | |
| vmagent.spec.extraArgs."promscrape.streamParse" | string | `"true"` | |
| vmagent.spec.image.tag | string | `"v1.97.1"` | |
| vmagent.spec.scrapeInterval | string | `"20s"` | |
Expand Down
3 changes: 3 additions & 0 deletions charts/victoria-metrics-k8s-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,9 @@ vmagent:
cluster: cluster-name
extraArgs:
promscrape.streamParse: "true"
# Do not store original labels in vmagent's memory by default. This reduces the amount of memory used by vmagent
# but makes vmagent debugging UI less informative. See: https://docs.victoriametrics.com/vmagent/#relabel-debug
promscrape.dropOriginalLabels: "true"
ingress:
enabled: false
# For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
Expand Down

0 comments on commit 68bd93d

Please sign in to comment.