chaoyli opened a new issue #3636:
URL: https://github.com/apache/incubator-doris/issues/3636
The format is like this.
```
{
"tags":
{
"metric":"thread_pool",
"name":"thrift-server-pool",
"type":"active_thread_num"
},
"unit":"number",
"value":3
}
```
I will 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.
```
public enum MetricUnit {
NANOSECONDS,
MICROSECONDS,
MILLISECONDS,
SECONDS,
BYTES,
ROWS,
NUMBER,
PERCENT,
NOUNIT
};
```
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]