Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { TopicsChecked prometheus.Counter TopicCheckLatencyMs prometheus.Gauge ClientsChecked prometheus.Counter ClientCheckLatencyMs prometheus.Gauge DevicesChecked prometheus.Counter DeviceCheckLatencyMs prometheus.Gauge HubsChecked prometheus.Counter HubCheckLatencyMs prometheus.Gauge SendDeviceConnected prometheus.Counter SendDeviceDisconnected prometheus.Counter SendHubConnected prometheus.Counter SendHubDisconnected prometheus.Counter TotalConnected prometheus.Gauge TotalDisconnected prometheus.Gauge // contains filtered or unexported fields }
func NewMetrics ¶
func (*Metrics) ServeHTTP ¶
func (this *Metrics) ServeHTTP(writer http.ResponseWriter, request *http.Request)
func (*Metrics) SetOnMetricsServeRequest ¶
func (this *Metrics) SetOnMetricsServeRequest(f func())
Click to show internal directories.
Click to hide internal directories.