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 <anum...@gmail.com> wrote:

> 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=<jobname> 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 if I deploy the service in k8s or swarm. I would
> like associate a jobmanager with a jobname atleast in a JOB mode
> deployment.
>
> Please let me know if there is any way to add a custom label by
> cinfiguration?
>
> Thanks,
> anaray
>
>
>
> --
> Sent from:
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
>

Reply via email to