Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteInternalMetrics ¶
Types ¶
type MetricHub ¶
MetricHub serves as a replacement for the prometheus pushgateway. Accepts timestamps with metrics, and stores them in a queue to allow multiple datapoints per metric series to be scraped
func NewMetricHub ¶
func (*MetricHub) Debug ¶
Debug is a handler function to show the current state of the hub without consuming any datapoints
func (*MetricHub) ReceiveGRPC ¶ added in v1.1.0
func (c *MetricHub) ReceiveGRPC(families []*dto.MetricFamily)
Click to show internal directories.
Click to hide internal directories.