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!

preguntada hace 3 meses73 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas