Skip to content

增加DD_TAGS=host:bar标签后,指标携带的标签是bean_host:bar,而不是host:bar,可能导致Span和JVM的host标签含义不一致 #124

@baihongru

Description

@baihongru

在K8s环境下,Datakit Operator默认给所有JVM输出附加了host:$(NODE_NAME)标签,代表当前Pod所在节点的主机名,但是在JVM指标中,这个标签变为bean_host,没有host标签,导致接收指标的Datakit将自己所在节点的主机名设置为host标签的值,最终导致相同探针不同数据中的相同标签含义不一致。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions