Skip to content

Commit

Permalink
Export prometheus metrics (hashicorp#145)
Browse files Browse the repository at this point in the history
* Add Prometheus metrics endpoint

* Add flag to define telemetry path

* Upgrade prometheus client dependency
  • Loading branch information
diogonicoleti authored Aug 18, 2020
1 parent 4d31fd2 commit ae495bb
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 3 deletions.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ require (
github.com/mitchellh/cli v1.0.0
github.com/pkg/errors v0.8.1
github.com/posener/complete v1.2.1 // indirect
github.com/prometheus/client_golang v1.7.1
github.com/radovskyb/watcher v1.0.7
github.com/stretchr/testify v1.3.0
github.com/stretchr/testify v1.4.0
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 // indirect
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b
Expand Down
Loading

0 comments on commit ae495bb

Please sign in to comment.