[
https://issues.apache.org/jira/browse/FLINK-32062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tamir Sagi updated FLINK-32062:
-------------------------------
Summary: Expose MetricGroup in FlinkResourceListener interface to allow
users to create custom metrics per cluster (was: Expose MetricGroup in
FlinkResourceListener interface to allow users to create custom metrics)
> Expose MetricGroup in FlinkResourceListener interface to allow users to
> create custom metrics per cluster
> ---------------------------------------------------------------------------------------------------------
>
> Key: FLINK-32062
> URL: https://issues.apache.org/jira/browse/FLINK-32062
> Project: Flink
> Issue Type: Improvement
> Components: Kubernetes Operator
> Reporter: Tamir Sagi
> Priority: Major
> Labels: flink-kubernetes-operator
>
> The operator supports pluggable {{FlinkResourceListener}} which provides the
> events & deployment status. However, such interface does not expose
> MetricManager/any way to create custom meters.
> Which means that if users would like to create custom metrics per
> deployments(failures rate, scaling counter, any other metric per events)
> there is no way to attach it via operator metric system.
> There are some basic metrics created per namespace in
> {{org.apache.flink.kubernetes.operator.metrics.FlinkDeploymentMetrics}}
> My suggestion is to expose either operator metric manager or another entity
> which provides a way to create meters(and internally registers them via
> MetricManager) in FlinkResourceListener interface.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)