-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathexample-config.yml
59 lines (58 loc) · 1.47 KB
/
example-config.yml
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
default:
gocd:
url: https://my-gocd-host:8154
user: horst
password: horst-password
# OR:
#teamcity:
#host: 'http://my-teamcity-host/guestAuth/app/rest/'
#ccTrayUrl: 'http://my-teamcity-host/guestAuth/app/rest/cctray/projects.xml'
#projects:
# -
# id: 'Test'
# name: 'test'
environments:
test:
-
id: 'backend'
url: 'https://my-test-env-host/health'
pattern: 'buildVersion":"([0-9a-zA-Z]{1,})"'
-
id: 'client'
url: 'http://my-test-env-host/build.js'
pattern: 'buildVersion = "([0-9a-zA-Z]{1,})";'
qa:
-
id: 'backend'
url: 'https://my-qa-env-host/health'
pattern: 'buildVersion":"([0-9a-zA-Z]{1,})"'
-
id: 'client'
url: 'http://my-qa-env-host/build.js'
pattern: 'buildVersion = "([0-9a-zA-Z]{1,})";'
logs:
queries:
-
id: 'errors'
description: 'Errors'
query: 'level:ERROR'
type: 'ERROR'
-
id: 'jobruns'
description: 'JobRuns 12hrs'
query: 'logger:JobLogger'
type: 'INFO'
timeSpan: 'now-12h'
environments:
-
id: 'test'
url: 'http://my-elasticsearch-host/_search'
queryAddition: ' AND environment:"test"'
queries:
- 'errors'
-
id: 'qa'
url: 'http://my-elasticsearch-host/_search'
queryAddition: ' AND environment:"qa"'
targets:
jobruns: 5-100