Documentation ¶
Index ¶
- type HistogramMock
- type HistorgramVecMock
- func (m *HistorgramVecMock) Collect(chan<- prometheus.Metric)
- func (m *HistorgramVecMock) CurryWith(prometheus.Labels) (prometheus.ObserverVec, error)
- func (m *HistorgramVecMock) Describe(chan<- *prometheus.Desc)
- func (m *HistorgramVecMock) GetMetricWith(prometheus.Labels) (prometheus.Observer, error)
- func (m *HistorgramVecMock) GetMetricWithLabelValues(lvs ...string) (prometheus.Observer, error)
- func (m *HistorgramVecMock) GetSum() float64
- func (m *HistorgramVecMock) MustCurryWith(prometheus.Labels) prometheus.ObserverVec
- func (m *HistorgramVecMock) With(prometheus.Labels) prometheus.Observer
- func (m *HistorgramVecMock) WithLabelValues(...string) prometheus.Observer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistogramMock ¶
type HistogramMock struct {
// contains filtered or unexported fields
}
func NewHistogramMock ¶
func NewHistogramMock() *HistogramMock
func (HistogramMock) Collect ¶
func (HistogramMock) Collect(chan<- prometheus.Metric)
func (HistogramMock) Desc ¶
func (HistogramMock) Desc() *prometheus.Desc
func (HistogramMock) Describe ¶
func (HistogramMock) Describe(chan<- *prometheus.Desc)
func (HistogramMock) Observe ¶
func (h HistogramMock) Observe(value float64)
func (HistogramMock) Write ¶
func (HistogramMock) Write(*io_prometheus_client.Metric) error
type HistorgramVecMock ¶
type HistorgramVecMock struct {
// contains filtered or unexported fields
}
func NewHistogramVecMock ¶
func NewHistogramVecMock() *HistorgramVecMock
func (*HistorgramVecMock) Collect ¶
func (m *HistorgramVecMock) Collect(chan<- prometheus.Metric)
func (*HistorgramVecMock) CurryWith ¶
func (m *HistorgramVecMock) CurryWith(prometheus.Labels) (prometheus.ObserverVec, error)
func (*HistorgramVecMock) Describe ¶
func (m *HistorgramVecMock) Describe(chan<- *prometheus.Desc)
func (*HistorgramVecMock) GetMetricWith ¶
func (m *HistorgramVecMock) GetMetricWith(prometheus.Labels) (prometheus.Observer, error)
func (*HistorgramVecMock) GetMetricWithLabelValues ¶
func (m *HistorgramVecMock) GetMetricWithLabelValues(lvs ...string) (prometheus.Observer, error)
func (*HistorgramVecMock) GetSum ¶
func (m *HistorgramVecMock) GetSum() float64
func (*HistorgramVecMock) MustCurryWith ¶
func (m *HistorgramVecMock) MustCurryWith(prometheus.Labels) prometheus.ObserverVec
func (*HistorgramVecMock) With ¶
func (m *HistorgramVecMock) With(prometheus.Labels) prometheus.Observer
func (*HistorgramVecMock) WithLabelValues ¶
func (m *HistorgramVecMock) WithLabelValues(...string) prometheus.Observer
Click to show internal directories.
Click to hide internal directories.