Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IdentityCreationCounter = prometheus.NewCounter(prometheus.CounterOpts{
Name: "identity_creation_success",
Help: "Number of identities which have been successfully created and stored.",
})
View Source
var IdentityCreationDuration = promauto.NewHistogram(prometheus.HistogramOpts{ Name: "identity_creation_duration", Help: "Duration of the identity being created, registered and stored.", Buckets: prometheus.LinearBuckets(0.01, 0.01, 10), })
View Source
var SignatureCreationCounter = prometheus.NewCounter(prometheus.CounterOpts{
Name: "signature_creation_success",
Help: "Number of successfully created signatures",
})
View Source
var SignatureCreationDuration = promauto.NewHistogram(prometheus.HistogramOpts{ Name: "signature_creation_duration", Help: "Duration of the creation of a signed object", Buckets: prometheus.LinearBuckets(0.01, 0.01, 10), })
View Source
var UpstreamResponseDuration = prometheus.NewHistogram(prometheus.HistogramOpts{ Name: "upstream_response_duration", Help: "Duration of HTTP responses from upstream server.", Buckets: prometheus.LinearBuckets(0.01, 0.01, 10), })
Functions ¶
func InitPromMetrics ¶
func NewResponseWriter ¶
func NewResponseWriter(w http.ResponseWriter) *responseWriter
func RegisterPromMetrics ¶
func RegisterPromMetrics()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.