Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(logger logrus.FieldLogger, reg prometheus.Registerer, targetName string, cfg config.RemoteWriteTarget) *Client
type IngestionQueue ¶
type IngestionQueue struct {
// contains filtered or unexported fields
}
this queue was based off storage/queue.go TODO(eh-am): merge with that one
func NewIngestionQueue ¶
func NewIngestionQueue(logger logrus.FieldLogger, reg prometheus.Registerer, ingester ingestion.Ingester, targetName string, cfg config.RemoteWriteTarget) *IngestionQueue
NewIngestionQueue creates an IngestionQueue Notice how a config.RemoteWriteTarget is taken as argument, even though not all fields are used. This is done to simplify the API, as the alternative is to take multiple arguments
func (*IngestionQueue) Ingest ¶
func (q *IngestionQueue) Ingest(ctx context.Context, input *ingestion.IngestInput) error
func (*IngestionQueue) Stop ¶
func (q *IngestionQueue) Stop()
Click to show internal directories.
Click to hide internal directories.