Skip to content

influxdb3: Include node ID and modes as metrics labels #26873

@jstirnaman

Description

@jstirnaman

Include node ID and modes as metrics labels so that the user doesn't need to do additional processing (e.g. capture hostname and relabel) to identify the source.

This is more valuable for Enterprise nodes and probably not relevant for Core.

Suggested output:

http_requests_total{node_id="abc123",node_mode="ingester,querier",method="GET",method_path="GET /metrics",path="/metrics",status="ok"} 42

Current (v3.5.0) output:

http_requests_total{method="GET",method_path="GET /metrics",path="/metrics",status="ok"} 10

Issue raised in influxdata/docs-v2#6422 (comment):

So these metrics are specific to each node. Does the prometheus schema include the node ID or is there additional processing a user would have to do to know the source node?

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