mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-27 20:15:25 +00:00
1d5b090579
This commit adds some Prometheus metrics to /metrics in headscale. It will add the standard go metrics, some automatic gin metrics and some initial headscale specific ones. Some of them has been added to aid debugging #97 (loop bug) In the future, we can use the metrics to get rid of the sleep in the integration tests by checking that our expected number of nodes has been registered: ``` headscale_machine_registrations_total ```
45 lines
1.8 KiB
Modula-2
45 lines
1.8 KiB
Modula-2
module github.com/juanfont/headscale
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
github.com/AlecAivazis/survey/v2 v2.3.2
|
|
github.com/Microsoft/go-winio v0.5.0 // indirect
|
|
github.com/cenkalti/backoff/v4 v4.1.1 // indirect
|
|
github.com/containerd/continuity v0.1.0 // indirect
|
|
github.com/docker/cli v20.10.8+incompatible // indirect
|
|
github.com/docker/docker v20.10.8+incompatible // indirect
|
|
github.com/efekarakus/termcolor v1.0.1
|
|
github.com/gin-gonic/gin v1.7.4
|
|
github.com/gofrs/uuid v4.0.0+incompatible
|
|
github.com/google/go-github v17.0.0+incompatible // indirect
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
|
github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b
|
|
github.com/klauspost/compress v1.13.5
|
|
github.com/lib/pq v1.10.3 // indirect
|
|
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
|
|
github.com/opencontainers/runc v1.0.2 // indirect
|
|
github.com/ory/dockertest/v3 v3.7.0
|
|
github.com/prometheus/client_golang v1.11.0 // indirect
|
|
github.com/pterm/pterm v0.12.30
|
|
github.com/rs/zerolog v1.25.0
|
|
github.com/spf13/cobra v1.2.1
|
|
github.com/spf13/viper v1.8.1
|
|
github.com/stretchr/testify v1.7.0
|
|
github.com/tailscale/hujson v0.0.0-20210818175511-7360507a6e88
|
|
github.com/tcnksm/go-latest v0.0.0-20170313132115-e3007ae9052e
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
|
github.com/zsais/go-gin-prometheus v0.1.0 // indirect
|
|
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
|
|
golang.org/x/net v0.0.0-20210913180222-943fd674d43e // indirect
|
|
golang.org/x/sys v0.0.0-20210910150752-751e447fb3d0 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
gorm.io/datatypes v1.0.2
|
|
gorm.io/driver/postgres v1.1.1
|
|
gorm.io/driver/sqlite v1.1.5
|
|
gorm.io/gorm v1.21.15
|
|
inet.af/netaddr v0.0.0-20210903134321-85fa6c94624e
|
|
tailscale.com v1.14.2
|
|
)
|