summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/prometheus/common/expfmt/testdata/json2
blob: b914c9386595e6ca9a3da3d32b8cb0d3236ea9d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
          }
        }
      ]
    }
  }
]