Skip to content

Conversation

ricoberger
Copy link
Member

When the API call to get the metrics for a Prometheus chart returned
null an error "null is not an object (evaluating 'e[Symbol.iterator]')"
was thrown. This is now fixed, by checking if the metrics object is null
and if this is the case we are returning an empty array instead of null
in the data. This was already handled for the sparkline charts.

We also showing all the dependencies of an application in the link list
in the application details.

When the API call to get the metrics for a Prometheus chart returned
null an error "null is not an object (evaluating 'e[Symbol.iterator]')"
was thrown. This is now fixed, by checking if the metrics object is null
and if this is the case we are returning an empty array instead of null
in the data. This was already handled for the sparkline charts.

We also showing all the dependencies of an application in the link list
in the application details.
@ricoberger ricoberger merged commit 50f1aea into main Aug 21, 2021
@ricoberger ricoberger deleted the fix-prometheus-charts-when-metrics-are-null branch August 21, 2021 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant