Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { Options *Options // contains filtered or unexported fields }
func NewFactory ¶
func NewFactory() *Factory
func (*Factory) CreateWriter ¶
func (f *Factory) CreateWriter() (metricstore.Writer, error)
func (*Factory) InitFromViper ¶
type MetricWriter ¶
type MetricWriter struct {
// contains filtered or unexported fields
}
func NewMetricWriter ¶
func NewMetricWriter(p *MetricWriterParams) (*MetricWriter, error)
func (*MetricWriter) WriteMetric ¶
func (m *MetricWriter) WriteMetric(metric []prompb.TimeSeries) error
type MetricWriterParams ¶
type Options ¶
type Options struct {
grpc.ConnBuilder
}
func NewOptions ¶
func NewOptions() *Options
Click to show internal directories.
Click to hide internal directories.