Skip to content

Comments

Add prometheus config for polling frequency, port & enablement#716

Merged
sknat merged 2 commits intomasterfrom
nsk-config-prom
Apr 14, 2025
Merged

Add prometheus config for polling frequency, port & enablement#716
sknat merged 2 commits intomasterfrom
nsk-config-prom

Conversation

@sknat
Copy link
Collaborator

@sknat sknat commented Mar 18, 2025

This patch adds the ability to configure the polling frequency of prometheus and the port the prometheus server will be listening on and serving metrics under /metrics.

This also adds a prometheusEnabled feature gate under
CALICOVPP_FEATURE_GATES to allow disabling the prometheus
exporter if needed.

@sknat sknat requested a review from hedibouattour March 18, 2025 11:18
@sknat sknat force-pushed the nsk-config-prom branch from a44f2f6 to ce13398 Compare March 20, 2025 11:22
@sknat sknat changed the title Make prometheus poll freq and port configurable Add prometheus config for polling frequency, port & enablement Mar 20, 2025
@sknat sknat requested a review from onong April 8, 2025 13:49
sknat added 2 commits April 14, 2025 18:19
This patch adds the ability to configure the polling frequency
of prometheus and the port the prometheus server will be listening
on and serving metrics under `/metrics`.

Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
This patch adds a prometheusEnabled feature gate under
CALICOVPP_FEATURE_GATES to allow disabling the prometheus
exporter if needed.

Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
@sknat sknat force-pushed the nsk-config-prom branch from ce13398 to a212b39 Compare April 14, 2025 16:19
@sknat sknat merged commit 2c9a95c into master Apr 14, 2025
6 checks passed
@sknat sknat deleted the nsk-config-prom branch April 14, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants