Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Metrics not showing up in the FlinkRunner #32895

Open
1 of 17 tasks
kennknowles opened this issue Oct 22, 2024 · 0 comments
Open
1 of 17 tasks

[Bug]: Metrics not showing up in the FlinkRunner #32895

kennknowles opened this issue Oct 22, 2024 · 0 comments
Assignees

Comments

@kennknowles
Copy link
Member

kennknowles commented Oct 22, 2024

What happened?

There have been a number of similar reports of limitations in metrics in the FlinkRunner. Here is one exmple from the mailing list:

I'm creating a beam pipeline to run on flink runner. I've created custom metrics in beam(JAVA SDK). But I'm unable to see it in flink dashboard or flink rest API response. Although I'm able to see under Accumulators section but not under metrics. Under accumulators I can see,

{ "metrics": { "attempted": [{ "urn": "beam:metric:user:sum_int64:v1", "type": "beam:metrics:sum_int64:v1", "payload": "FA==", "labels": { "NAMESPACE": "Bingo", "NAME": "bingotest", "PTRANSFORM": "log/ParMultiDo(LogOutput)" } }] } }

I'm also able to log the metrics in beam part.
I'm using Apache Beam 2.55.0 and Flink runner 1.16.

I also tried to export all the metrics using flink configuration to the prometheus metric reporter. There I'm able to see only the metrics generated by Flink.

This ticket is to generally track down the metrics plumbing problems. We will focus on Java on the non-portable runner at first, I think, since it is the most used.

Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant