lichaoyong
1cc78fe69b
[Enhancement] Convert metric to Json format ( #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 transformation.
It's not to modify existing PrometheusMetricVisitor and SimpleCoreMetricVisitor.
Also I add
1. A unit item to indicate the metric better
2. Cloning tablet statistics divided by database.
3. Use white space to replace newline in audit.log
2020-05-27 08:49:30 +08:00
..
2020-05-04 09:20:53 +08:00
2019-12-27 10:10:21 +08:00
2020-05-11 10:30:45 +08:00
2019-09-28 01:10:29 +08:00
2018-11-02 10:22:32 +08:00
2020-01-17 14:13:38 +08:00
2020-01-17 14:13:38 +08:00
2019-08-19 09:40:47 +08:00
2018-11-02 10:22:32 +08:00
2018-11-02 10:22:32 +08:00
2018-11-02 10:22:32 +08:00
2020-01-10 00:45:50 +08:00
2020-05-25 18:55:19 +08:00
2020-05-18 14:55:11 +08:00
2019-06-08 21:02:31 +08:00
2018-11-16 15:27:16 +08:00
2020-02-17 11:22:09 +08:00
2019-12-10 21:59:05 +08:00
2019-09-06 15:23:57 +08:00
2018-11-02 10:22:32 +08:00
2020-05-27 08:49:30 +08:00
2019-12-06 20:39:56 +08:00
2020-02-04 00:16:01 +08:00
2020-04-08 11:17:47 +08:00
2019-11-29 07:39:11 +08:00
2020-04-08 11:17:47 +08:00
2019-06-14 23:38:31 +08:00
2018-11-02 10:22:32 +08:00
2018-12-12 20:06:35 +08:00
2020-02-14 18:01:16 +08:00
2020-05-27 08:49:30 +08:00
2020-02-07 09:31:35 +08:00
2018-11-02 10:22:32 +08:00
2020-02-10 17:50:52 +08:00
2018-11-02 10:22:32 +08:00
2019-11-05 09:25:47 +08:00
2019-10-09 22:31:27 +08:00
2018-11-02 10:22:32 +08:00
2020-02-14 18:01:16 +08:00
2020-01-06 18:39:31 +08:00
2018-11-19 17:42:46 +08:00
2020-05-27 08:49:30 +08:00
2019-11-05 09:25:47 +08:00
2018-11-02 10:22:32 +08:00
2020-03-29 14:18:19 +08:00
2020-02-19 20:23:19 +08:00
2020-05-18 14:55:11 +08:00
2018-11-02 10:22:32 +08:00
2019-09-29 18:20:02 +08:00
2018-11-02 10:22:32 +08:00
2020-01-06 18:39:31 +08:00
2020-05-11 10:30:45 +08:00