Documentation ¶
Index ¶
- type Metrics
- func (m *Metrics) ActionDuration(sensorName, triggerName string, num float64)
- func (m *Metrics) ActionFailed(sensorName, triggerName string)
- func (m *Metrics) ActionTriggered(sensorName, triggerName string)
- func (m *Metrics) Collect(ch chan<- prometheus.Metric)
- func (m *Metrics) DecRunningServices(eventSourceName string)
- func (m *Metrics) Describe(ch chan<- *prometheus.Desc)
- func (m *Metrics) EventProcessingDuration(eventSourceName, eventName string, num float64)
- func (m *Metrics) EventProcessingFailed(eventSourceName, eventName string)
- func (m *Metrics) EventSent(eventSourceName, eventName string)
- func (m *Metrics) EventSentFailed(eventSourceName, eventName string)
- func (m *Metrics) IncRunningServices(eventSourceName string)
- func (m *Metrics) Run(ctx context.Context, addr string)
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 represents EventSource metrics information
func (*Metrics) ActionDuration ¶
func (*Metrics) ActionFailed ¶
func (*Metrics) ActionTriggered ¶
func (*Metrics) Collect ¶
func (m *Metrics) Collect(ch chan<- prometheus.Metric)
func (*Metrics) DecRunningServices ¶
func (*Metrics) Describe ¶
func (m *Metrics) Describe(ch chan<- *prometheus.Desc)
func (*Metrics) EventProcessingDuration ¶
func (*Metrics) EventProcessingFailed ¶
func (*Metrics) EventSentFailed ¶
func (*Metrics) IncRunningServices ¶
Click to show internal directories.
Click to hide internal directories.