Documentation ¶
Index ¶
- func CreateMetricsEngine(env environment.ServiceEnvironment) metrics.MetricsEngine
- type CounterVec
- type GaugeVec
- type HistogramVec
- type Metrics
- func (mf Metrics) Counter(opts metrics.CounterOpts) metrics.Counter
- func (mf Metrics) CounterVec(opts metrics.CounterOpts, labelNames []string) metrics.CounterVec
- func (mf Metrics) Gauge(opts metrics.GaugeOpts) metrics.Gauge
- func (mf Metrics) GaugeVec(opts metrics.GaugeOpts, labelNames []string) metrics.GaugeVec
- func (mf Metrics) Histogram(opts metrics.HistogramOpts) metrics.Histogram
- func (mf Metrics) HistogramVec(opts metrics.HistogramOpts, labelNames []string) metrics.HistogramVec
- func (mf Metrics) Summary(opts metrics.SummaryOpts) metrics.Summary
- func (mf Metrics) SummaryVec(opts metrics.SummaryOpts, labelNames []string) metrics.SummaryVec
- type MetricsEngine
- type SummaryVec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMetricsEngine ¶ added in v0.0.156
func CreateMetricsEngine(env environment.ServiceEnvironment) metrics.MetricsEngine
Types ¶
type CounterVec ¶
type CounterVec struct {
// contains filtered or unexported fields
}
func (*CounterVec) WithLabelValues ¶
func (p *CounterVec) WithLabelValues(lvs ...string) metrics.Counter
type HistogramVec ¶
type HistogramVec struct {
// contains filtered or unexported fields
}
func (*HistogramVec) WithLabelValues ¶
func (p *HistogramVec) WithLabelValues(lvs ...string) metrics.Histogram
type Metrics ¶
type Metrics struct {
Namespace string
}
func (Metrics) CounterVec ¶
func (mf Metrics) CounterVec(opts metrics.CounterOpts, labelNames []string) metrics.CounterVec
func (Metrics) Histogram ¶
func (mf Metrics) Histogram(opts metrics.HistogramOpts) metrics.Histogram
func (Metrics) HistogramVec ¶
func (mf Metrics) HistogramVec(opts metrics.HistogramOpts, labelNames []string) metrics.HistogramVec
func (Metrics) SummaryVec ¶
func (mf Metrics) SummaryVec(opts metrics.SummaryOpts, labelNames []string) metrics.SummaryVec
type MetricsEngine ¶ added in v0.0.156
type MetricsEngine struct {
// contains filtered or unexported fields
}
func (*MetricsEngine) Metrics ¶ added in v0.0.156
func (m *MetricsEngine) Metrics() metrics.Metrics
func (*MetricsEngine) MetricsHandler ¶ added in v0.0.156
func (m *MetricsEngine) MetricsHandler() http.Handler
type SummaryVec ¶
type SummaryVec struct {
// contains filtered or unexported fields
}
func (*SummaryVec) WithLabelValues ¶
func (p *SummaryVec) WithLabelValues(lvs ...string) metrics.Summary
Click to show internal directories.
Click to hide internal directories.