Skip to content

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

@jingzhao-self

Description

@jingzhao-self

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions