dachuan9e commented on pull request #11585:
URL: https://github.com/apache/shardingsphere/pull/11585#issuecomment-889788514


   # Important changes
   We changed the metrics configuration from the code to yaml file for 
developers and operators. However the configuration is still compressed in the 
jar file.  If you want to change some parameters adapting for your environment 
you can unzip it and change parameters in metrics.yaml.
   
   # Example - histogram buckets <proxy_request_bytes>
   You can change the buckets.  Parameter type can be chosen by 'exp' or 
'linear'.  Parameter count will increase the buckets if you increase it.  
Following the prometheus metrics reference. 
   
       name: proxy_request_bytes
       type: HISTOGRAM
       props:
          buckets:
            type: exp
            start: 1
            factor: 2
            count: 11
   


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