Documentation ¶
Index ¶
- func Listen(ctx context.Context, address string, w *bufio.Writer, ...) (err error)
- type CDMetric
- type CDMetricDescription
- type CDMetricDescriptions
- type CDMetrics
- type PromIntf
- func (a *PromIntf) AddTotalReceived(num int)
- func (a *PromIntf) Collect(ch chan<- prometheus.Metric)
- func (a *PromIntf) Describe(ch chan<- *prometheus.Desc)
- func (a *PromIntf) GetTotalAmqpReceived() uint64
- func (a *PromIntf) GetTotalDecodeErrors() uint64
- func (a *PromIntf) GetTotalMetricsReceived() uint64
- func (a *PromIntf) IncTotalAmqpReceived()
- func (a *PromIntf) IncTotalDecodeErrors()
- func (a *PromIntf) IncTotalMetricsReceived()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CDMetricDescription ¶
type CDMetricDescription struct {
// contains filtered or unexported fields
}
type CDMetricDescriptions ¶
type CDMetricDescriptions struct {
// contains filtered or unexported fields
}
func NewCDMetricDescriptions ¶
func NewCDMetricDescriptions() (metricDescriptions *CDMetricDescriptions)
type CDMetrics ¶
type CDMetrics struct {
// contains filtered or unexported fields
}
func NewCDMetrics ¶
func NewCDMetrics() (m *CDMetrics)
func (*CDMetrics) Collect ¶
func (a *CDMetrics) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector.
type PromIntf ¶
type PromIntf struct {
// contains filtered or unexported fields
}
AMQPHandler ...
func (*PromIntf) AddTotalReceived ¶
AddTotalReceived ...
func (*PromIntf) Collect ¶
func (a *PromIntf) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector.
func (*PromIntf) GetTotalAmqpReceived ¶
GetTotalReceived ...
func (*PromIntf) GetTotalDecodeErrors ¶
GetTotalDecodeErrors ...
func (*PromIntf) GetTotalMetricsReceived ¶
GetTotalReceived ...
func (*PromIntf) IncTotalAmqpReceived ¶
func (a *PromIntf) IncTotalAmqpReceived()
IncTtoalAmqpReceived ...
func (*PromIntf) IncTotalDecodeErrors ¶
func (a *PromIntf) IncTotalDecodeErrors()
IncTotalDecodeErrors ...
func (*PromIntf) IncTotalMetricsReceived ¶
func (a *PromIntf) IncTotalMetricsReceived()
IncTotalMetricsReceived ...
Click to show internal directories.
Click to hide internal directories.