Commit graph

10 commits

Author SHA1 Message Date
Kegan Dougal de46582178 Merge branch 'basicauth-metrics' of github.com:S7evinK/dendrite into S7evinK-basicauth-metrics 2020-04-14 15:26:29 +01:00
Kegsay cdc1157785
Improve logging when sending events (#883)
We have some failing sytests on sqlite but it's very difficult to debug
due to lack of useful logging. This adds a log line for when a new event
is sent (incl. logging the event ID) as well as adding a user_id field
for all contextual logs so we know who initiated certain actions.
2020-03-09 14:37:51 +00:00
Till Faelligen 108428977e Update warning message and change loglevel to warn 2019-12-22 10:45:13 +01:00
Till Faelligen 655695cd1c Merge remote-tracking branch 'upstream/master' into basicauth-metrics 2019-12-22 10:18:27 +01:00
Till Faelligen ab686016c9 Remove redundant type conversion
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
2019-12-22 10:16:28 +01:00
Andrew Morgan 8fb2c9c33c Replace deprecated prometheus.InstrumentHandler and unsafe time.Ticker 2019-12-17 16:47:45 +00:00
Till Faelligen 0b1dd5cf35 Add warning message if metrics are exposed without protection 2019-10-11 10:07:07 +02:00
Till Faelligen e2cca682be Add setting to enable/disable metrics (#461)
Add basic auth to /metric handlers

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
2019-10-10 22:04:59 +02:00
Parminder Singh d21a2fb152 Add auth fallback endpoint (#405)
Also adds support for the recaptcha auth type.
2019-08-15 01:34:49 +08:00
ruben 74827428bd use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
Renamed from src/github.com/matrix-org/dendrite/common/httpapi.go (Browse further)