Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeWriter ¶
type Point ¶
Point is a logical representation of a single point in time for a Prometheus time series.
type PrometheusWriter ¶
type PrometheusWriter struct {
// contains filtered or unexported fields
}
func NewPrometheusWriter ¶
func NewPrometheusWriter(l log.Logger) *PrometheusWriter
func (PrometheusWriter) Write ¶
func (w PrometheusWriter) Write(ctx context.Context, name string, t time.Time, frames data.Frames, extraLabels map[string]string) error
Write writes the given frames to the Prometheus remote write endpoint. TODO: stub implementation, does not make any remote write calls.
Click to show internal directories.
Click to hide internal directories.