Versions in this module Expand all Collapse all v0 v0.2.0 Apr 7, 2026 v0.1.0 Jan 22, 2025 Changes in this version + type FileReader struct + func NewFileReader(path string) (*FileReader, error) + func (f *FileReader) Close() error + func (f *FileReader) Read() (*prompb.WriteRequest, error) + type FileWriter struct + func NewFileWriter(path string) (*FileWriter, error) + func (f *FileWriter) Close() error + func (f *FileWriter) Write(wr *prompb.WriteRequest) (int, error) + type Metric struct + Labels []*prompb.Label + func (m *Metric) Next(timestamp time.Time) *prompb.TimeSeries + type Set struct + func NewDataSet(opts SetOptions) *Set + func (s *Set) Next(timestamp time.Time) *prompb.TimeSeries + type SetOptions struct + Cardinality int + Database string + NumMetrics int