Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fanout ¶
type Fanout []SampleAppender
Fanout is a SampleAppender that appends every sample to a list of other SampleAppenders.
func (Fanout) Append ¶
func (f Fanout) Append(s *clientmodel.Sample)
Append implements SampleAppender. It appends the provided sample to all SampleAppenders in the Fanout slice and waits for each append to complete before proceeding with the next.
type SampleAppender ¶
type SampleAppender interface {
Append(*clientmodel.Sample)
}
SampleAppender is the interface to append samples to both, local and remote storage.
Directories ¶
Path | Synopsis |
---|---|
Package local contains the local time series storage used by Prometheus.
|
Package local contains the local time series storage used by Prometheus. |
codable
Package codable provides types that implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler and functions that help to encode and decode primitives.
|
Package codable provides types that implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler and functions that help to encode and decode primitives. |
index
Package index provides a number of indexes backed by persistent key-value stores.
|
Package index provides a number of indexes backed by persistent key-value stores. |
Click to show internal directories.
Click to hide internal directories.