Documentation ¶
Index ¶
Constants ¶
View Source
const (
HealthCheckNameFmt = "[%+v].Healthcheck"
)
View Source
const (
NameFmt = "[%+v].Metrics"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct { *comps.Component PCounter prometheus.Counter }
func (Counter) IAmMetricsCounter ¶
func (c Counter) IAmMetricsCounter()
type Healthcheck ¶
type IHealthcheck ¶
type IMetrics ¶
func NewMetrics ¶
func NewMetrics(config config.IAppConfig) IMetrics
type IMetricsCounter ¶
type IMetricsCounter interface { comps.ISpokePlugin IAmMetricsCounter() }
func NewCounter ¶
Click to show internal directories.
Click to hide internal directories.