Skip to content

Inconsistency in identifying labels #2232

@opslogixdennis

Description

@opslogixdennis

Problem Statement

My original question was specifically for Grafana Alloy, but I was suggested to post my issue here.

I've been tackling a problem regarding the inconsistency in labels present to identify a host. The prometheus.exporter.windows component only adds identifiers to the metrics windows_cs_hostname and windows_os_hostname, and does not add any identifier at all to other metrics.

One might add the fqdn statically directly to the relabel job, or by adding it as a environment variable accessible by e.g. sys.getenv("FQDN").

Would it be possible to add a label dynamically?

Proposed Solution

No response

Additional information

No response

Acceptance Criteria

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions