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!

質問済み 3ヶ月前73ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ