Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Will return a middleware to instrument http routers. Instrument(serverLabel string, metricsCfg *config.MetricsConfig) func(next http.Handler) http.Handler // Will return a handler to expose metrics over a http server. GetExposeHandler() http.Handler // Will increase counter of S3 operations done by service. IncS3Operations(targetName, bucketName, operation string) // Will increase counter of authenticated user. IncAuthenticated(providerType, providerName string) // Will increase counter of authorized user. IncAuthorized(providerType string) // Will increase counter of succeed webhooks IncSucceedWebhooks(targetName, actionName string) // Will increase counter of failed webhooks IncFailedWebhooks(targetName, actionName string) }
Client Client metrics interface.
Click to show internal directories.
Click to hide internal directories.