added metrics

Change-Id: I7727bd43911339f48e2d096f8bb43729eb65b3ad
This commit is contained in:
sm
2016-06-25 13:41:20 -07:00
parent 1a056c1aff
commit aa1ef99295
156 changed files with 44136 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
[
{
"baseLabels": {
"__name__": "rpc_calls_total",
"job": "batch_job"
},
"docstring": "RPC calls.",
"metric": {
"type": "counter",
"value": [
{
"labels": {
"service": "zed"
},
"value": 25
},
{
"labels": {
"service": "bar"
},
"value": 24
}
]
}
},
{
"baseLabels": {
"__name__": "rpc_latency_microseconds"
},
"docstring": "RPC latency.",
"metric": {
"type": "histogram",
"value": [
{
"labels": {
"service": "foo"
},
"value": {
"0.010000": 15,
"0.990000": 17
}
}
]
}
}
]