mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: use flag to enable Prometheus (#12345)
This commit is contained in:
Generated
+10
@@ -98,6 +98,16 @@ Deprecated and ignored.
|
||||
|
||||
The bind address to serve prometheus metrics.
|
||||
|
||||
### --prometheus-enable
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------------------- |
|
||||
| Type | <code>bool</code> |
|
||||
| Environment | <code>$CODER_PROMETHEUS_ENABLE</code> |
|
||||
| Default | <code>false</code> |
|
||||
|
||||
Serve prometheus metrics on the address defined by prometheus address.
|
||||
|
||||
### --psk
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user