Cannot see my flink custom metrics on cloudwatch

0

Hello I implemented custom metrics on my Flink application following this guide (I'm using managed Flink, previously know as Kinesis application)

https://docs.aws.amazon.com/managed-flink/latest/java/monitoring-metrics-custom.html

But I was not able to see the metrics on CloudWatch. Then I saw this example https://github.com/aws-samples/amazon-managed-service-for-apache-flink-examples/blob/main/java/CustomMetrics/WordCount/src/main/java/com/amazonaws/services/msf/WordCountApplication.java#L77

Things I tried

  • Change from KinesisAnalytics to kinessisanalytics(as the example) group, but none of that seems to be working,
  • Changed the level of the metrics from task to operator and report some metrics for 15 min and then stop reporting again
  • I also verified the role permissions, I have allowed all permissions all for CloudWatch resources (the role is very open). but still don't see any report
  • I also verified on the Flink UI the metrics are appearing and are reporting values. (appearing as 0.process.kinesisanalytics.myservice.mymetric)

Anything else I need to check?

Thank you very much!

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen