...

Text file src/github.com/prometheus/common/expfmt/testdata/json2

Documentation: github.com/prometheus/common/expfmt/testdata

     1[
     2  {
     3    "baseLabels": {
     4      "__name__": "rpc_calls_total",
     5      "job": "batch_job"
     6    },
     7    "docstring": "RPC calls.",
     8    "metric": {
     9      "type": "counter",
    10      "value": [
    11        {
    12          "labels": {
    13            "service": "zed"
    14          },
    15          "value": 25
    16        },
    17        {
    18          "labels": {
    19            "service": "bar"
    20          },
    21          "value": 24
    22        }
    23      ]
    24    }
    25  },
    26  {
    27    "baseLabels": {
    28      "__name__": "rpc_latency_microseconds"
    29    },
    30    "docstring": "RPC latency.",
    31    "metric": {
    32      "type": "histogram",
    33      "value": [
    34        {
    35          "labels": {
    36            "service": "foo"
    37          },
    38          "value": {
    39            "0.010000": 15,
    40            "0.990000": 17
    41          }
    42        }
    43      ]
    44    }
    45  }
    46]

View as plain text