Skip to content
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

Customizable Loki Resource Labels #395

Closed
ibalat opened this issue Feb 28, 2024 · 0 comments · Fixed by #528
Closed

Customizable Loki Resource Labels #395

ibalat opened this issue Feb 28, 2024 · 0 comments · Fixed by #528

Comments

@ibalat
Copy link

ibalat commented Feb 28, 2024

Hi, the loki filter fields is coming as default and we cannot customize it to add new fields.

image

I tried to update but no dynamic config parameter in here. Only exists {{- if .Values.logs.enabled }} and then it adds all scope staticly.

"set(attributes[\"loki.resource.labels\"], \"pod, namespace, cluster, job\")",

How can I add new filter fields to Loki results? Is there another option or one way is changing this attributes[\"loki.resource.labels\"] value?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant