You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Peter Schrott (Jira)" <ji...@apache.org> on 2022/05/09 07:13:00 UTC

[jira] [Commented] (FLINK-27552) Prometheus metrics disappear after starting a job

    [ https://issues.apache.org/jira/browse/FLINK-27552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533647#comment-17533647 ] 

Peter Schrott commented on FLINK-27552:
---------------------------------------

If you are using Kafka source / sink you might not be doing something wrong. There is a bug in Flink 1.15.0. Please find more infos here:
[https://lists.apache.org/thread/6bd9vmcroh7576d7h1kdcd8czf0b4l73]
You also can find a "workaround" in the thread.

There is already a Jira Ticket for Flink created:
[https://issues.apache.org/jira/projects/FLINK/issues/FLINK-27487?filter=allopenissues]

> Prometheus metrics disappear after starting a job
> -------------------------------------------------
>
>                 Key: FLINK-27552
>                 URL: https://issues.apache.org/jira/browse/FLINK-27552
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Metrics
>    Affects Versions: 1.15.0
>            Reporter: João Boto
>            Priority: Major
>
> I have a Standalone cluster (with jobmanager and taskmanager on same machine) on 1.14.4 and I'm testing the migration to 1.15.0
> But I keep losing the taskmanager metrics when I start a job on the 1.15 cluster
> I use the same configuration as in the previous cluster
> {{  }}
> {code:java}
> metrics.reporters: prom 
> metrics.reporter.prom.factory.class: org.apache.flink.metrics.prometheus.PrometheusReporterFactory 
> metrics.reporter.prom.port: 9250-9251{code}
> {{ }}
> If the cluster is running without jobs I can see the metrics on port 9250 for jobmanager and on port 9251 for taskmanager
> If I start a job, the metrics from taskmanager disappear and if I stop the job the metrics come live again
> What am I missing?
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)