promremote

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 26 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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