Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitRevision string GitBranch string GitVersion string )
View Source
var Handler = promhttp.Handler()
Handler is an alias for default Prometheus HTTP handler
Functions ¶
func Interceptor ¶
func Interceptor(opt *signatory.SignInterceptorOptions, sing func() error) error
Interceptor function collects sing operation metrics
func NewBuildInfoCollector ¶
func NewBuildInfoCollector(prefix string) prometheus.Collector
NewBuildInfoCollector returns a collector collecting a single metric "go_build_info"
Types ¶
Click to show internal directories.
Click to hide internal directories.