-
- Downloads
Add prometheus /metrics endpoint.
This just exposes the default go metrics for now. We can use middleware to expose more custom metrics for our API.
Showing
- cmd/server/app/serve.go 8 additions, 0 deletionscmd/server/app/serve.go
- config/README.md 11 additions, 0 deletionsconfig/README.md
- config/prometheus/values.yaml 17 additions, 0 deletionsconfig/prometheus/values.yaml
- config/rekor.yaml 5 additions, 0 deletionsconfig/rekor.yaml
- docker-compose.yml 1 addition, 0 deletionsdocker-compose.yml
- go.mod 1 addition, 1 deletiongo.mod
- go.sum 105 additions, 26 deletionsgo.sum
config/prometheus/values.yaml
0 → 100644
... | ... | @@ -21,7 +21,6 @@ require ( |
github.com/go-openapi/validate v0.20.1 | ||
github.com/golang/protobuf v1.4.3 | ||
github.com/google/certificate-transparency-go v1.1.0 // indirect | ||
github.com/google/go-cmp v0.5.2 | ||
github.com/google/rpmpack v0.0.0-20210107155803-d6befbf05148 | ||
github.com/google/trillian v1.3.10 | ||
github.com/jedisct1/go-minisign v0.0.0-20210106175330-e54e81d562c7 | ||
... | ... | @@ -30,6 +29,7 @@ require ( |
github.com/mitchellh/go-homedir v1.1.0 | ||
github.com/mitchellh/mapstructure v1.4.1 | ||
github.com/pelletier/go-toml v1.8.1 // indirect | ||
github.com/prometheus/client_golang v1.9.0 | ||
github.com/rs/cors v1.7.0 | ||
github.com/spf13/afero v1.5.1 // indirect | ||
github.com/spf13/cast v1.3.1 // indirect | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment