Add Prometheus metrics

Closes #197

Co-authored-by: haywo <haywo@nct08.de>
This commit is contained in:
Tulir Asokan
2020-06-17 17:50:06 +03:00
parent 8e30262275
commit beed19fdad
7 changed files with 370 additions and 25 deletions

5
go.mod
View File

@@ -15,7 +15,8 @@ require (
gopkg.in/yaml.v2 v2.3.0
maunium.net/go/mauflag v1.0.0
maunium.net/go/maulogger/v2 v2.1.1
maunium.net/go/mautrix v0.5.0
maunium.net/go/mautrix v0.5.1
github.com/prometheus/client_golang v1.6.0
)
replace github.com/Rhymen/go-whatsapp => github.com/tulir/go-whatsapp v0.2.8
replace github.com/Rhymen/go-whatsapp => github.com/tulir/go-whatsapp v0.3.0