[
https://issues.apache.org/jira/browse/FLINK-38372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18039043#comment-18039043
]
Liu commented on FLINK-38372:
-----------------------------
[~fanrui] Help review? Thanks.
> Introduces whitelist to the flink-metrics-prometheus
> ----------------------------------------------------
>
> Key: FLINK-38372
> URL: https://issues.apache.org/jira/browse/FLINK-38372
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Metrics
> Reporter: Liu
> Priority: Major
> Labels: pull-request-available
>
> This change introduces a new feature to the flink-metrics-prometheus module,
> allowing users to specify a whitelist of metrics to be exposed through the
> Prometheus reporter.
> Previously, all metrics were reported to Prometheus by default. This could
> lead to performance issues and increased costs in environments with a large
> number of metrics.
> With this change, users can now configure a whitelist of metrics using the
> metrics.reporter.
> prometheus.whiteList option. Only metrics whose names are in the whitelist
> will be reported to Prometheus.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)