chaoyli opened a new pull request #3635:
URL: https://github.com/apache/incubator-doris/pull/3635


   Add a JSON format for existing metrics like this.
   ```
   {
       "tags":
       {
           "metric":"thread_pool",
           "name":"thrift-server-pool",
           "type":"active_thread_num"
       },
       "unit":"number",
       "value":3
   }
   ```
   I add a new JsonMetricVisitor to handle the convertion.
   It's not to modify existing PrometheusMetricVisitor and 
SimpleCoreMetricVisitor.
   Also I add a unit item to indicate the metric better.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to