summaryrefslogtreecommitdiffstats
path: root/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/restapi/application/responses/deployment.json
blob: 25948e998f1a16cb5e2f54fb6e7145c4463fa2b1 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
  "tenant": "tenant1",
  "application": "application1",
  "instance": "instance1",
  "environment": "prod",
  "region": "us-central-1",
  "endpoints": [],
  "serviceUrls": [
    "http://old-endpoint.vespa.yahooapis.com:4080",
    "http://qrs-endpoint.vespa.yahooapis.com:4080",
    "http://feeding-endpoint.vespa.yahooapis.com:4080",
    "http://global-endpoint.vespa.yahooapis.com:4080",
    "http://alias-endpoint.vespa.yahooapis.com:4080"
  ],
  "nodes": "http://localhost:8080/zone/v2/prod/us-central-1/nodes/v2/node/%3F&recursive=true&application=tenant1.application1.instance1",
  "yamasUrl": "http://monitoring-system.test/?environment=prod&region=us-central-1&application=tenant1.application1.instance1",
  "version": "(ignore)",
  "revision": "(ignore)",
  "deployTimeEpochMs": "(ignore)",
  "screwdriverId": "123",
  "gitRepository": "repository1",
  "gitBranch": "master",
  "gitCommit": "commit1",
  "activity": {
    "lastQueried": 1527848130000,
    "lastWritten": 1527848130000,
    "lastQueriesPerSecond": 1.0,
    "lastWritesPerSecond": 2.0
  },
  "cost": {
    "tco": 74,
    "waste": 0,
    "utilization": 2.9999999999999996,
    "cluster": {
      "cluster1": {
        "count": 2,
        "resource": "cpu",
        "utilization": 2.9999999999999996,
        "tco": 74,
        "waste": 0,
        "flavor": "flavor1",
        "flavorCost":37.0,
        "flavorCpu":2.0,
        "flavorMem":4.0,
        "flavorDisk":50.0,
        "type": "content",
        "util": {
          "cpu": 2.9999999999999996,
          "mem": 0.4285714285714286,
          "disk": 0.5714285714285715,
          "diskBusy": 1.0
        },
        "usage": {
          "cpu": 0.6,
          "mem": 0.3,
          "disk": 0.4,
          "diskBusy": 0.3
        },
        "hostnames": [
          "host1",
          "host2"
        ]
      }
    }
  },
  "metrics": {
    "queriesPerSecond": 1.0,
    "writesPerSecond": 2.0,
    "documentCount": 3.0,
    "queryLatencyMillis": 4.0,
    "writeLatencyMillis": 5.0,
    "lastUpdated": 123123
  }
}