[
https://issues.apache.org/jira/browse/FLINK-27552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533680#comment-17533680
]
João Boto commented on FLINK-27552:
-----------------------------------
Hi [~peter.schrott] , thanks for the links..
Yes I have a KafkaSource..
I try to disable de KafaMetrics
{code:java}
kafkaSourceBuilder.setProperty(KafkaSourceOptions.REGISTER_KAFKA_CONSUMER_METRICS.key(),
"false");
{code}
But I continue without taskmanager metrics
> 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)