devtron
devtron copied to clipboard
Feature: Metrics are not appropriate in case of other charts than rollout
🔖 Feature description
If we deploy an application with deployment charts or statefulset charts, metrics shown on the app detail page are not accurate like not being able to view metrics hash-wise, based on no new deployment, which hash is new or which one is old, etc.
🎤 Pitch
On including the new chart type to Devtron we are facing this issue.
✌️ Solution
We have created different grafana dashboards for the common hash that will include all chart-type metrics. Now we just have to implement it in such a way that for specific chart versions or above it will use the new grafana dashboard and for old versions, it will use the existing one. For the new grafana dashboards please refer below
- devtron-app-cpu-usage -> 19349
- devtron-app-latency -> 19352
- devtron-app-memory-usage -> 19350
- devtron-app-throughput -> 19353 Also, we have fixed the variable in the dashboard code to show the (new) string in case of a new hash, it should be configurable.
🔄️ Alternative
No response
👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
AB#2907