Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateShim ¶
func CreateShim(before v1.Config, common common.MetricsConfig) (after v2.UpgradedConfig)
CreateShim creates a shim between the v1.Config and v2.Config. The resulting config is NOT registered.
func NewMetricsHandlerIntegration ¶
func NewMetricsHandlerIntegration( _ log.Logger, c integrations.Config, mc common.MetricsConfig, globals integrations.Globals, h http.Handler, ) (integrations.MetricsIntegration, error)
NewMetricsHandlerIntegration returns a integrations.MetricsIntegration which will expose a /metrics endpoint for h.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.