提交 88e6e4bf 编写于 作者: U UlricQin

add plugin example

上级 8f459704
#!/bin/sh
now=$(date +%s)
echo '[
{
"metric": "plugin_example_gauge",
"tags": {
"type": "testcase",
"author": "ulric"
},
"time": '${now}',
"value": '${now}',
"type": "gauge"
},
{
"metric": "plugin_example_rate",
"tags": {
"type": "testcase",
"author": "ulric"
},
"time": '${now}',
"value": '${now}',
"type": "rate"
},
{
"metric": "plugin_example_increase",
"tags": {
"type": "testcase",
"author": "ulric"
},
"time": '${now}',
"value": '${now}',
"type": "increase"
}
]'
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册