forked from spinnaker/kayenta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kayenta.yml
212 lines (186 loc) · 5.5 KB
/
kayenta.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
server:
port: 8090
redis:
connection: ${services.redis.baseUrl:redis://localhost:6379}
kayenta:
atlas:
enabled: false
# stageTimeoutMinutes: 3
# maxBackoffPeriodSeconds: 30
# accounts:
# - name:
# endpoint:
# baseUrl: http://localhost:7101
# namespace:
# supportedTypes:
# - METRICS_STORE
google:
enabled: false
# accounts:
# - name:
# project:
# jsonPath:
# bucket:
# rootFolder: kayenta
# supportedTypes:
# - METRICS_STORE
# - OBJECT_STORE
# - CONFIGURATION_STORE
azure:
enabled: false
# accounts:
# - name:
# storageAccountName:
# accountAccessKey:
# container:
# rootFolder: kayenta
# endpointSuffix: core.windows.net
# supportedTypes:
# - OBJECT_STORE
# - CONFIGURATION_STORE
aws:
enabled: false
# accounts:
# - name:
# bucket:
# rootFolder: kayenta
# You can set credentials that you supply explicitly (see: AwsManagedAccount.ExplicitAwsCredentials)
# explicitCredentials:
# accessKey: explicitAccessKey
# secretKey: explicitSecretKey
# sessionToken: explicitSessionToken (optional)
# supportedTypes:
# - OBJECT_STORE
# - CONFIGURATION_STORE
datadog:
enabled: false
# metadataCachingIntervalMS: 900000
# accounts:
# - name: my-datadog-account
# apiKey: xxxx
# applicationKey: xxxx
# supportedTypes:
# - METRICS_STORE
# endpoint.baseUrl: https://app.datadoghq.com
graphite:
enabled: false
# accounts:
# - name: my-graphite-account
# endpoint:
# baseUrl: http://localhost
# supportedTypes:
# - METRICS_STORE
newrelic:
enabled: false
# accounts:
# - name: my-newrelic-account
# apiKey: xxxx
# applicationKey: xxxx
# defaultScopeKey: server_scope # Optional, if omitted every request must supply the _scope_key param in extended scope params
# defaultLocationKey: server_region # Optional, if omitted requests must supply the _location_key if it is needed.
# supportedTypes:
# - METRICS_STORE
# endpoint.baseUrl: https://insights-api.newrelic.com
prometheus:
enabled: false
# metadataCachingIntervalMS: 60000
# accounts:
# - name: my-prometheus-account
# endpoint:
# baseUrl: http://localhost:9090
# username: xxxx # Optional, for use when protecting prometheus with basic auth
# password: xxxx # Optional, for use when protecting prometheus with basic auth
# usernamePasswordFile: xxxx # Optional, for use when protecting prometheus with basic auth
# bearerToken: xxxx # Optional, for use when protecting prometheus with bearer token
# supportedTypes:
# - METRICS_STORE
signalfx:
enabled: true
# accounts:
# - name: sfx-integration-test-account
# accessToken: ${kayenta.signalfx.apiKey} # The sfx api token
# endpoint.baseUrl: https://stream.signalfx.com # Optional defaults to https://stream.signalfx.com
# defaultScopeKey: server_scope # Optional, if omitted every request must supply the _scope_key param in extended scope params
# defaultLocationKey: server_region # Optional, if omitted requests must supply the _location_key if it is needed.
# supportedTypes:
# - METRICS_STORE
wavefront:
enabled: false
# accounts:
# - name:
# endpoint:
# baseUrl:
# apiToken:
# supportedTypes:
# - METRICS_STORE
gcs:
enabled: false
blobs:
enabled: false
s3:
enabled: false
stackdriver:
enabled: false
# metadataCachingIntervalMS: 60000
memory:
enabled: false
configbin:
enabled: false
remoteJudge:
enabled: false
# endpoint:
# baseUrl: http://remotejudge.example.com/path/to/service
# Enable the SCAPE endpoint that has the same user experience that the Canary StageExecution in Deck/Orca has.
standaloneCanaryAnalysis:
enabled: false
# Retry configuration for metrics fetching from metrics storage (see: MetricsRetryConfigurationProperties)
metrics:
retry:
series: SERVER_ERROR
statuses: REQUEST_TIMEOUT, TOO_MANY_REQUESTS
attempts: 10
backoffPeriodMultiplierMs: 1000
# Set the serialization options for springboot.jackson
serialization:
writeDatesAsTimestamps: false
writeDurationsAsTimestamps: false
management.endpoints.web.exposure.include: '*'
management.endpoint.health.show-details: always
# To fix issue with kayenta-integration-tests while upgrading spring-boot to 2.3.12
# https://github.com/micrometer-metrics/micrometer-docs/issues/123
management.metrics.export.graphite.graphite-tags-enabled: false
keiko:
queue:
redis:
queueName: kayenta.keiko.queue
deadLetterQueueName: kayenta.keiko.queue.deadLetters
spectator:
applicationName: ${spring.application.name}
webEndpoint:
enabled: true
swagger:
enabled: true
title: Kayenta API
description:
contact:
patterns:
- /admin.*
- /canary.*
- /canaryConfig.*
- /canaryJudgeResult.*
- /credentials.*
- /fetch.*
- /health
- /judges.*
- /metadata.*
- /metricSetList.*
- /metricSetPairList.*
- /metricServices.*
- /pipeline.*
- /standalone.*
spring:
liquibase:
change-log: classpath:db/changelog-master.yml
autoconfigure:
exclude: >
org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,