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

Issue aggregating on _extracted labels #3707

Closed
owen-d opened this issue May 10, 2021 · 0 comments · Fixed by #3763
Closed

Issue aggregating on _extracted labels #3707

owen-d opened this issue May 10, 2021 · 0 comments · Fixed by #3763
Assignees

Comments

@owen-d
Copy link
Member

owen-d commented May 10, 2021

I ran into this again recently (thought we had fixed this).

The following query only yielded results with no labels:
sum by (namespace_extracted) (rate({container="kube-diff-logger"} | json [5m]))

However, if I run the query {container="kube-diff-logger"} | json, I see labels like namespace_extracted="foo"

/cc @cyriltovena

@owen-d owen-d changed the title Issue aggregating on extracted labels Issue aggregating on _extracted labels May 10, 2021
@cyriltovena cyriltovena self-assigned this May 17, 2021
cyriltovena added a commit to cyriltovena/loki that referenced this issue May 25, 2021
This PR include those now.

Fixes grafana#3707

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
owen-d pushed a commit that referenced this issue May 25, 2021
* Fixes parser labels hint for grouping.

This PR include those now.

Fixes #3707

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>

* Fixes array allocations.

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants