Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitPusher ¶
func InitPusher(ctx context.Context, cfg *PushConfig)
InitPusher creates prometheus pusher and starts goroutine to push metrics.
func ServiceMiddleware ¶
ServiceMiddleware executes given service and updates necessary metrics.
Types ¶
Click to show internal directories.
Click to hide internal directories.