devtron icon indicating copy to clipboard operation
devtron copied to clipboard

Feature: Expose metrics for micro-services

Open SATYAsasini opened this issue 10 months ago • 0 comments

🔖 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. 
  1. lens
  2. notifier-deploy

Below are the list of microservices where metrics doesn't seem to be working properly :

  1. 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?

AB#9391

SATYAsasini avatar Apr 16 '24 13:04 SATYAsasini