Skip to content

[feat] add options to aggregate ipvs collector metrics #1708

Description

@Wing924

Background

Currently, ipvs collector (enabled by default) collect (local_address) x (local_port) x (proto) x (remote_address) x (remote_port) x 3 metrics (ex. node_ipvs_backend_connections_active).
When the servers are used as Load Balancer or k8s nodes, the cardinality of those metrics become very high.

For example, one of my server reports 18263 metics from node exporter while normal servers report around 700-800 metrics.

Proposal

Add --collector.ipvs.sum-by=XXX option to aggregate metrics for reducing the cardinality.
For example, add --collector.ipvs.sum-by=local_address,local_port will only reports sum by (local_address,local_port)(node_ipvs_XXXX).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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