itsh3sam commented on issue #12778:
URL: 
https://github.com/apache/trafficserver/issues/12778#issuecomment-3711256703

   Yes, I’ve reviewed the current `/_stats/prometheus` format and docs.
   Instead of encoding dimensions into the metric name (e.g. 
`proxy_process_http_303_responses` or `proxy_process_api_time_10ms`), I’m 
suggesting using Prometheus labels:
   
   ```
   proxy_process_http_responses{status="303"}
   proxy_process_api_time{le="10"}
   ```
   
   This follows [Prometheus best 
practices](https://prometheus.io/docs/practices/instrumentation/#use-labels), 
avoids metric name explosion, and makes querying and aggregation much easier.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to