devtron
devtron copied to clipboard
Feature: Expose metrics for micro-services
🔖 Feature description
- Currently some of our micro-services do not expose any metrics. The exposed metrics would be helpful to monitor behaviour/performance of the micro-services. Also will help in debugging any related issue.
🎤 Pitch / Usecases
List of metrics that would help analyse certain SRE aspects are listed below :
- Total number of requests
- Segregation based upon various http status codes : 2xx, 3xx, 4xx, 5xx.
- api latency
- HTTP request Segregation based upon api path
Below are the list of microservices where metrics are not enabled at all :
1. kubewatch :
- Need number of messages Kubewatch failed to publish and number of successful published messages,
- Need list of services to which kubewatch is listening / watching.
- lens
- notifier-deploy
Below are the list of microservices where metrics doesn't seem to be working properly :
- kubelink : gRPC_code is not standardised as per client side / server side issues.
🔄️ Alternative
Reference can be taken from the way above mentioned metrics are exposed in orchestrator.
👀 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#9391