jiangML opened a new issue, #23458:
URL: https://github.com/apache/shardingsphere/issues/23458

   ## Feature Request
   
   **For English only**, other languages will not accept.
   
   Please pay attention on issues you submitted, because we maybe need more 
details. 
   If no response anymore and we cannot make decision by current information, 
we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Is your feature request related to a problem?
   `total_proxy_requests` will be displayed as `total_proxy_requests_total`
   ### Describe the feature you would like.
   
   Since the prometheus client library will perform the following operations 
when creating `Counter` type indicators.
   
   If there is a suffix of `_total` on the metric name, it will be removed. 
When exposing the time series for counter value, a `_total` suffix will be 
added. This is for compatibility between `OpenMetrics` and the `Prometheus` 
text format, as `OpenMetrics` requires the` _total` suffix. So 
`total_proxy_requests` will be displayed as `total_proxy_requests_total`.
   `OpenMetrics`: 
https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md
   
   
![image](https://user-images.githubusercontent.com/16010265/211457779-0444d440-c4e7-4738-8a81-ca57b97df674.png)
   
   
![image](https://user-images.githubusercontent.com/16010265/211457815-01eb7483-9450-4354-9bf7-a0cac0cbfe7e.png)
   
   So `total_proxy_requests` needs to be adjusted back to the original name 
`proxy_request_total`.
   
   
   
   


-- 
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