Hi flink team,
Is there a way to add a custom label to flink metrics when using Prometheus
Exporter ? I need to add a label= for the JobManager metrics. As of
now I see only host label
for example
*flink_jobmanager_Status_JVM_Memory_Direct_Count{host="localhost",} 18.0*
This is not of big help
Hey Anaray,
Have you checked out the “scope” configuration?[1]
Best,
Austin
[1]:
https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/metrics.html#scope
On Wed, Jan 22, 2020 at 4:09 PM anaray wrote:
> Hi flink team,
>
> Is there a way to add a custom label to flink metrics when
Following up, we deploy to K8s with one service per job manager and task
manager for metrics, and we add job-identifying labels to those. We also
use the Prometheus Operator which makes it easy to add those labels as
dimensions when scraping.
Best,
Austin
On Wed, Jan 22, 2020 at 7:21 PM Austin Ca