promremote

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

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

func NewStorage

func NewStorage(opts Options) (storage.Storage, error)

NewStorage returns new Prometheus remote write compatible storage

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL