You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,8 +174,41 @@
174
174
175
175
|Key|Description|Type|Default Value|
176
176
|---|-----------|----|-------------|
177
+
|address|The IP address on which the metrics HTTP API should listen|`int`|`127.0.0.1`
177
178
|enabled|Deprecated: Please use 'monitoring.enabled' instead|`boolean`|`false`
178
179
|path|The path from which to serve the Prometheus metrics|`string`|`/metrics`
180
+
|port|The port on which the metrics HTTP API should listen|`int`|`6000`
181
+
|publicURL|The fully qualified public URL for the metrics API. This is used for building URLs in HTTP responses and in OpenAPI Spec generation|URL `string`|`<nil>`
182
+
|readTimeout|The maximum time to wait when reading from an HTTP connection|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
183
+
|shutdownTimeout|The maximum amount of time to wait for any open HTTP requests to finish before shutting down the HTTP server|[`time.Duration`](https://pkg.go.dev/time#Duration)|`10s`
184
+
|writeTimeout|The maximum time to wait when writing to an HTTP connection|[`time.Duration`](https://pkg.go.dev/time#Duration)|`15s`
185
+
186
+
## metrics.auth
187
+
188
+
|Key|Description|Type|Default Value|
189
+
|---|-----------|----|-------------|
190
+
|type|The auth plugin to use for server side authentication of requests|`string`|`<nil>`
191
+
192
+
## metrics.auth.basic
193
+
194
+
|Key|Description|Type|Default Value|
195
+
|---|-----------|----|-------------|
196
+
|passwordfile|The path to a .htpasswd file to use for authenticating requests. Passwords should be hashed with bcrypt.|`string`|`<nil>`
197
+
198
+
## metrics.tls
199
+
200
+
|Key|Description|Type|Default Value|
201
+
|---|-----------|----|-------------|
202
+
|ca|The TLS certificate authority in PEM format (this option is ignored if caFile is also set)|`string`|`<nil>`
203
+
|caFile|The path to the CA file for TLS on this API|`string`|`<nil>`
204
+
|cert|The TLS certificate in PEM format (this option is ignored if certFile is also set)|`string`|`<nil>`
205
+
|certFile|The path to the certificate file for TLS on this API|`string`|`<nil>`
206
+
|clientAuth|Enables or disables client auth for TLS on this API|`string`|`<nil>`
207
+
|enabled|Enables or disables TLS on this API|`boolean`|`false`
208
+
|insecureSkipHostVerify|When to true in unit test development environments to disable TLS verification. Use with extreme caution|`boolean`|`<nil>`
209
+
|key|The TLS certificate key in PEM format (this option is ignored if keyFile is also set)|`string`|`<nil>`
210
+
|keyFile|The path to the private key file for TLS on this API|`string`|`<nil>`
211
+
|requiredDNAttributes|A set of required subject DN attributes. Each entry is a regular expression, and the subject certificate must have a matching attribute of the specified type (CN, C, O, OU, ST, L, STREET, POSTALCODE, SERIALNUMBER are valid attributes)|`map[string]string`|`<nil>`
0 commit comments