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!

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인