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!

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions