Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsDumper ¶
type MetricsDumper struct {
// contains filtered or unexported fields
}
InmemSignal is used to listen for a given signal, and when received, to dump the current metrics from the InmemSink to an io.Writer
func NewMetricsDumper ¶
func NewMetricsDumper(sink *metrics.InmemSink, period time.Duration) *MetricsDumper
func (*MetricsDumper) Stop ¶
func (i *MetricsDumper) Stop()
Click to show internal directories.
Click to hide internal directories.