aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/encode/json/ut/metrics.json
blob: 0dc423d5e97b9d243bd3df01ce8aab71dcf808cc (plain) (blame)
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
{ 
  "labels": { 
    "project": "solomon", 
    "cluster": "man", 
    "service": "stockpile" 
  }, 
  "metrics": [ 
    { 
      "type": "DGAUGE", 
      "labels": { 
        "metric": "Memory" 
      }, 
      "value": 10 
    }, 
    { 
      "type": "RATE", 
      "value": 1, 
      "labels": { "metric": "UserTime" } 
    }, 
    { 
      "type": "GAUGE", 
      "value": 3.14159, 
      "labels": { "export": "Oxygen", "metric": "QueueSize" }, 
      "ts": "2017-11-05T12:34:56.000Z", 
      "memOnly": true 
    }, 
    { 
      "type": "GAUGE", 
      "labels": { "metric": "Writes" }, 
      "timeseries": [ 
        { 
          "ts": "2017-08-28T12:32:11Z", 
          "value": -10 
        }, 
        { 
          "value": 20, 
          "ts": 1503923187 
        } 
      ] 
    } 
  ], 
  "ts": "2017-08-27T12:34:56Z" 
}