Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v1.2.0
type Client interface {
SendData(series []prompb.TimeSeries) error
}
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory() *Factory
func (Factory) CreateWriter ¶
func (f Factory) CreateWriter() (metricstore.Writer, error)
func (*Factory) InitFromOptions ¶ added in v1.2.0
InitFromOptions initializes factory from options.
func (*Factory) InitFromViper ¶ added in v1.2.0
InitFromViper implements plugin.Configurable
type Options ¶ added in v1.2.0
type Options struct {
// contains filtered or unexported fields
}
func (*Options) InitFromViper ¶ added in v1.2.0
type Writer ¶ added in v1.2.0
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) WriteMetric ¶ added in v1.2.0
func (w *Writer) WriteMetric(metrics []prompb.TimeSeries) error
Click to show internal directories.
Click to hide internal directories.