#6291 Don't error out for getting metrics of array node
Pull request opened by
troychiu
Why are the changes needed?
Currently if we get the metrics of an execution containing array nodes, we'll get 504 because we haven't implemented the functionality for array node. However, users may still want to get the metrics of other nodes.
What changes were proposed in this pull request?
Don't error out for getting metrics of array node
How was this patch tested?
Tested with sandbox
Before:
Screenshot 2025-02-28 at 12 50 10 PM
After:
Screenshot 2025-02-28 at 12 50 43 PM
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
Related PRs
Docs link
Summary by Bito
This PR fixes an issue with array node metrics in Flyte admin by replacing error throwing with warning logs, allowing the system to continue processing other node metrics. The changes improve system resilience and ensure metrics availability even when encountering unimplemented node types.
Unit tests added: False
Estimated effort to review (1-5, lower is better): 1
flyteorg/flyte