Skip to content

Grafana is unable to list hostnames only IPs #2304

@manchie745

Description

@manchie745

Problem Statement

I’m using the Windows Exporter on several hosts and have explicitly set externalLabels in my Prometheus scrape configuration. However, the Windows Exporter UI and metrics still only show the host’s IP address (e.g., 123.456.123.456:9182) instead of the hostname (e.g., windows_host:9182) or any readable Windows machine name.

Is there an additional configuration step required on the Windows Exporter side to make it report or expose the hostname instead of the IP address?

Environment

  • windows_exporter Version:
  • Windows Server Version:

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