mirror of
https://github.com/rancher/norman.git
synced 2025-10-21 17:11:05 +00:00
Add Generic Controller Related Metrics
To enhance operatability for the service using norman framework, It's better to expose internal state as detail as possible. This is the just starting point but at least which handler is executed often and which handler with which key's execution is often failed metrics is very useful to spot the place operator have to dig in when something happened. So this commit added 2 metrics. 1: handler execution total count 2: handler execution failure total count
This commit is contained in:
19
vendor/modules.txt
vendored
19
vendor/modules.txt
vendored
@@ -1,3 +1,5 @@
|
||||
# github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973
|
||||
github.com/beorn7/perks/quantile
|
||||
# github.com/davecgh/go-spew v1.1.1-0.20170626231645-782f4967f2dc
|
||||
github.com/davecgh/go-spew/spew
|
||||
# github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680
|
||||
@@ -9,7 +11,7 @@ github.com/gogo/protobuf/sortkeys
|
||||
github.com/golang/glog
|
||||
# github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903
|
||||
github.com/golang/groupcache/lru
|
||||
# github.com/golang/protobuf v0.0.0-20171021043952-1643683e1b54
|
||||
# github.com/golang/protobuf v1.2.0
|
||||
github.com/golang/protobuf/proto
|
||||
github.com/golang/protobuf/ptypes/any
|
||||
github.com/golang/protobuf/ptypes
|
||||
@@ -34,6 +36,8 @@ github.com/imdario/mergo
|
||||
github.com/json-iterator/go
|
||||
# github.com/maruel/panicparse v1.1.1
|
||||
github.com/maruel/panicparse/stack
|
||||
# github.com/matttproud/golang_protobuf_extensions v1.0.1
|
||||
github.com/matttproud/golang_protobuf_extensions/pbutil
|
||||
# github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
|
||||
github.com/modern-go/concurrent
|
||||
# github.com/modern-go/reflect2 v0.0.0-20180320133207-05fbef0ca5da
|
||||
@@ -42,6 +46,19 @@ github.com/modern-go/reflect2
|
||||
github.com/pkg/errors
|
||||
# github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0
|
||||
github.com/pmezard/go-difflib/difflib
|
||||
# github.com/prometheus/client_golang v0.8.0
|
||||
github.com/prometheus/client_golang/prometheus
|
||||
# github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910
|
||||
github.com/prometheus/client_model/go
|
||||
# github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e
|
||||
github.com/prometheus/common/expfmt
|
||||
github.com/prometheus/common/model
|
||||
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
|
||||
# github.com/prometheus/procfs v0.0.0-20180920065004-418d78d0b9a7
|
||||
github.com/prometheus/procfs
|
||||
github.com/prometheus/procfs/nfs
|
||||
github.com/prometheus/procfs/xfs
|
||||
github.com/prometheus/procfs/internal/util
|
||||
# github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2
|
||||
github.com/sirupsen/logrus
|
||||
# github.com/spf13/pflag v1.0.1
|
||||
|
Reference in New Issue
Block a user