Hi Ori, I see that the PrometheusPushGatewayReporter [1] has an option for a job name, maybe you can use that.
I'm also including Chesnay who probably has more ideas. [1] https://ci.apache.org/projects/flink/flink-docs-master/monitoring/metrics.html#prometheuspushgateway-orgapacheflinkmetricsprometheusprometheuspushgatewayreporter On Mon, Jun 22, 2020 at 9:01 AM Ori Popowski <ori....@gmail.com> wrote: > I have two Flink clusters sending metrics via Prometheus and they share > all the metric names (i.e. > flink_taskmanager_job_task_operator_currentOutputWatermark). > > I want to change the flink_ prefix to something else to distinguish > between the clusters (maybe the job-name). > > How can I do it? > > Thanks. > -- Arvid Heise | Senior Java Developer <https://www.ververica.com/> Follow us @VervericaData -- Join Flink Forward <https://flink-forward.org/> - The Apache Flink Conference Stream Processing | Event Driven | Real Time -- Ververica GmbH | Invalidenstrasse 115, 10115 Berlin, Germany -- Ververica GmbH Registered at Amtsgericht Charlottenburg: HRB 158244 B Managing Directors: Timothy Alexander Steinert, Yip Park Tung Jason, Ji (Toni) Cheng