diff options
author | Kegsay <kegan@matrix.org> | 2020-04-14 15:54:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 15:54:35 +0100 |
commit | 609f034bfb241934dc0653a7af0df08417688640 (patch) | |
tree | 40c5e487e540659e202f696ce94187e4d23ad1f1 /dendrite-config.yaml | |
parent | 2c43e222bd57cbb1e278ff776f7a2aa2221ac1e8 (diff) |
S7evinK: basicauth metrics (#961)
* Add setting to enable/disable metrics (#461)
Add basic auth to /metric handlers
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
* Add warning message if metrics are exposed without protection
* Remove redundant type conversion
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
* SetBasicAuth per test case
* Update warning message and change loglevel to warn
* Update common/config/config.go
* Update dendrite-config.yaml
Co-authored-by: Till Faelligen <tfaelligen@gmail.com>
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'dendrite-config.yaml')
-rw-r--r-- | dendrite-config.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dendrite-config.yaml b/dendrite-config.yaml index 7436af7a..86a208d7 100644 --- a/dendrite-config.yaml +++ b/dendrite-config.yaml @@ -53,6 +53,15 @@ media: height: 600 method: scale +# Metrics config for Prometheus +metrics: + # Whether or not metrics are enabled + enabled: false + # Use basic auth to protect the metrics. Uncomment to the complete block to enable. + #basic_auth: + # username: prometheusUser + # password: y0ursecr3tPa$$w0rd + # The config for the TURN server turn: # Whether or not guests can request TURN credentials |