Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitWriters ¶
func InitWriters() error
func WriteSamples ¶
WriteSamples convert samples to []prompb.TimeSeries and batch write to queue
func WriteTimeSeries ¶
func WriteTimeSeries(timeSeries []prompb.TimeSeries)
WriteTimeSeries write prompb.TimeSeries to all writers
Types ¶
type Snapshot ¶
Writers manage all writers and metric queue
func QueueMetrics ¶
func QueueMetrics() *Snapshot
Click to show internal directories.
Click to hide internal directories.