forked from CMS-Enterprise/SONAR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
service-config4.json
53 lines (53 loc) · 1.23 KB
/
service-config4.json
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
{
"services": [
{
"name": "test-metric-app",
"displayName": "Test Application",
"versionChecks": [
{
"versionCheckType": "FluxKustomization",
"definition": {
"k8sNamespace": "test",
"kustomization": "test"
}
}
],
"tags": {
"test-metric-app-tag": "test-val-updated"
}
},
{
"name": "http-metric-test-app",
"displayName": "Test Application for HTTP Health Check",
"versionChecks": [
{
"versionCheckType": "HttpResponseBody",
"definition": {
"url": "http://localhost:8082/api/version",
"path": "$.version",
"bodyType": "json"
}
}
]
},
{
"name": "http-metric-test-app-2",
"displayName": "Test Application 2 for HTTP Health Check",
"versionChecks": [
{
"versionCheckType": "HttpResponseBody",
"definition": {
"url": "http://localhost:8082/api/version",
"path": "$.version",
"bodyType": "json"
}
}
]
}
],
"rootServices": [
"test-metric-app",
"http-metric-test-app",
"http-metric-test-app-2"
]
}