Documentation ¶
Overview ¶
Package promremote implements storage interface backed by Prometheus remote write capable endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EndpointOptions ¶
type EndpointOptions struct {
// contains filtered or unexported fields
}
EndpointOptions for single prometheus remote write capable endpoint.
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
Options for storage.
func NewOptions ¶
func NewOptions( cfg *config.PrometheusRemoteBackendConfiguration, scope tally.Scope, logger *zap.Logger, ) (Options, error)
NewOptions constructs Options based on the given config.
func (Options) Namespaces ¶
func (o Options) Namespaces() m3.ClusterNamespaces
Namespaces returns M3 namespaces from endpoint opts.
Directories ¶
Path | Synopsis |
---|---|
Package promremotetest provides test utilities.
|
Package promremotetest provides test utilities. |
Click to show internal directories.
Click to hide internal directories.