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

为什么在查询中额外加入k8s_pod_name标签 #16

Open
jingzhao-self opened this issue May 7, 2021 · 1 comment
Open

为什么在查询中额外加入k8s_pod_name标签 #16

jingzhao-self opened this issue May 7, 2021 · 1 comment

Comments

@jingzhao-self
Copy link

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened:
在查询时额外添加了k8s_pod_name标签(而且还无法取消),但我的loki中并没有这个标签,导致所有查询都为空。
What you expected to happen:
删除这个自主添加的标签,或者可以取消掉。
How to reproduce it (as minimally and precisely as possible):
image
Anything else we need to know?:
请问增加这个的意义是什么?

queryExprArray = append(queryExprArray, utils.GetPodExpr(pod))

@912988434
Copy link

确实存在这个问题,很头疼

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

No branches or pull requests

2 participants