Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
Metrics contains the metrics gathered by the instance and its path
func (*Metrics) GetMetricByName ¶
func (m *Metrics) GetMetricByName(name string) prometheus.Collector
GetMetricByName returns a metric by it's fully qualified name (used for testing purposes)
func (*Metrics) RecordDMSLastTimestamp ¶
func (m *Metrics) RecordDMSLastTimestamp()
RecordDMSLastTimestamp records the current timestamp when a DMS is received
func (*Metrics) RecordEgressRequestCnt ¶
RecordEgressRequestCnt increases the Egress counter for a taget
func (*Metrics) RecordEgressRequestDur ¶
RecordEgressRequestDur registers the Egress duration for a taget
Click to show internal directories.
Click to hide internal directories.