API
Route: /summary
/summaryMethod: GET
GETResponse 200 (application/json)
{
"zones": {
"default-zone": {
"clusters": {
"example": {
"clusterName": "example",
"zoneName": "default-zone",
"name": "Example Service",
"version": "1.0",
"owner": "Demo",
"capability": "Demo",
"runtime": "GO",
"documentation": "/services/example/1.0",
"prometheusJob": "example",
"minInstances": 1,
"maxInstances": 1,
"authorized": true,
"clusterID": "example",
"meshID": "default-zone",
"enableInstanceMetrics": true,
"enableHistoricalMetrics": true,
"instances": [
{
"name": "dca79626b6a99f6783f490556e4a5062",
"startTime": 1569247575966
}
],
"metricsTemplate": "",
"metricsPort": 8081
},
"fibonacci": {
"clusterName": "fibonacci",
"zoneName": "default-zone",
"name": "Fibonacci",
"version": "1.0.0",
"owner": "Demo",
"capability": "Demo",
"runtime": "GO",
"documentation": "/services/fibonacci/1.0/",
"prometheusJob": "fibonacci",
"minInstances": 1,
"maxInstances": 1,
"authorized": true,
"clusterID": "fibonacci",
"meshID": "default-zone",
"enableInstanceMetrics": true,
"enableHistoricalMetrics": true,
"instances": [
{
"name": "7795eabdbaf06bb83b2947f74e5d0143",
"startTime": 1570807423191
}
],
"metricsTemplate": "",
"metricsPort": 8081
}
},
"metadata": {
"zoneName": "default-zone",
"owners": [
"Demo",
"Decipher"
],
"capabilities": [
"Demo",
"Grey Matter"
],
"clusterCount": 22,
"clusterStableCount": 17,
"clusterWarningCount": 3,
"clusterDownCount": 2,
"instanceCount": 1
}
}
},
"metadata": {
"zoneCount": 1,
"owners": [
"Demo",
"Decipher"
],
"capabilities": [
"Grey Matter",
"Demo"
],
"clusterCount": 22,
"clusterStableCount": 17,
"clusterWarningCount": 3,
"clusterDownCount": 2,
"instanceCount": 30
},
"meshes": {
"default-zone": {
"clusters": {
"example": {
"clusterName": "example",
"zoneName": "default-zone",
"name": "Example Service",
"version": "1.0",
"owner": "Demo",
"capability": "Demo",
"runtime": "GO",
"documentation": "/services/example/1.0",
"prometheusJob": "example",
"minInstances": 1,
"maxInstances": 1,
"authorized": true,
"clusterID": "example",
"meshID": "default-zone",
"enableInstanceMetrics": true,
"enableHistoricalMetrics": true,
"instances": [
{
"name": "dca79626b6a99f6783f490556e4a5062",
"startTime": 1569247575966
}
],
"metricsTemplate": "",
"metricsPort": 8081
},
"fibonacci": {
"clusterName": "fibonacci",
"zoneName": "default-zone",
"name": "Fibonacci",
"version": "1.0.0",
"owner": "Demo",
"capability": "Demo",
"runtime": "GO",
"documentation": "/services/fibonacci/1.0/",
"prometheusJob": "fibonacci",
"minInstances": 1,
"maxInstances": 1,
"authorized": true,
"clusterID": "fibonacci",
"meshID": "default-zone",
"enableInstanceMetrics": true,
"enableHistoricalMetrics": true,
"instances": [
{
"name": "7795eabdbaf06bb83b2947f74e5d0143",
"startTime": 1570807423191
}
],
"metricsTemplate": "",
"metricsPort": 8081
}
},
"metadata": {
"zoneName": "default-zone",
"owners": [
"Demo",
"Decipher"
],
"capabilities": [
"Demo",
"Grey Matter"
],
"clusterCount": 22,
"clusterStableCount": 17,
"clusterWarningCount": 3,
"clusterDownCount": 2,
"instanceCount": 1
}
}
}
}Route: /clusters
/clustersMethod: GET
GETResponse 200 (application/json)
Method: POST
POSTRequest (application/json)
Response 200 (application/json)
Route: /clusters/<clusterName>
/clusters/<clusterName>Method: GET
GETResponse 200 (application/json)
Method: PUT
PUTRequest (application/json)
Response 200 (application/json)
Method: DELETE
DELETEResponse 200 (application/json)
Route: /metrics/<clusterName>/<instance>
/metrics/<clusterName>/<instance>Method: GET
GETResponse 200 (application/json)
Route: /zones
/zonesMethod: GET
GETResponse 200 (application/json)
Method: POST
POSTRequest (application/json)
Response 200 (application/json)
Route: /zones/<zoneName>
/zones/<zoneName>Method: GET
GETResponse 200 (application/json)
Method: DELETE
DELETEResponse 200 (application/json)
Route: /services (Deprecated)
/services (Deprecated)Method: GET
GETResponse 200 (application/json)
Route: /metrics/<service name>/<version>/<instance> (Deprecated)
/metrics/<service name>/<version>/<instance> (Deprecated)Method: GET
GETResponse 200 (application/json)
Last updated
Was this helpful?