Skip to content

[Helm chart] Canary generate dynamic labels #17052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
loganmzz opened this issue Apr 7, 2025 · 0 comments
Open

[Helm chart] Canary generate dynamic labels #17052

loganmzz opened this issue Apr 7, 2025 · 0 comments
Labels
area/helm component/loki-canary type/bug Somehing is not working as expected

Comments

@loganmzz
Copy link

loganmzz commented Apr 7, 2025

Describe the bug

Helm chart is by default deploying Loki Canary which produces test logs for Loki. However, generated logs use following labels:

  • detected_level
  • service_name
  • stream
  • pod

However this last one is dynamic, change based on both node & daemonset lifecycle. This is a bad practice as depicted in https://grafana.com/docs/loki/latest/get-started/labels/bp-labels/.

To Reproduce

Steps to reproduce the behavior:

  1. Deploy Loki with Helm chart:
    • Repository: https://grafana.github.io/helm-charts
    • Chart: loki
    • Version: 6.29.0

Expected behavior

  1. Use canary specific label-set
  2. Avoid dynamic labels such as Pod or Node name

Environment:

  • Infrastructure: Kubernetes
  • Deployment tool: helm

Screenshots, Promtail config, or terminal output

N/A

@JStickler JStickler added area/helm component/loki-canary type/bug Somehing is not working as expected labels Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm component/loki-canary type/bug Somehing is not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants