Skip to content

Introduce Prometheus gauge metrics for IP target configuration values #456

@tzifudzi

Description

@tzifudzi

What would you like to be enhanced?

Currently, the approach to monitor the configuration values of warmIPTarget, minIPTarget, and warmPrefixTarget is to log the values and while this is sufficient, it is not an optimal solution for observability. For example logs can be difficult to search and analyze.

Why is the change needed and what use case will it solve?

By exposing these configuration values as Prometheus gauge metrics, we can provide a more visual and easily accessible way for operators to monitor the state of these values. This might enable better auditing and also better investigation of issues.

Suggestions for the change

Introduce new Prometheus gauge metrics for each of the configuration values (warmIPTarget, minIPTarget, and warmPrefixTarget). These metrics should be updated whenever the corresponding configuration values change, providing real-time visibility into their state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions