prometheus

package
v1.48.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "prometheus"
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsWrongType

func IsWrongType(err error) bool

IsWrongType asserts wrongTypeError.

func New

func New(config Config) (*generic.Resource, error)

Types

type Config

type Config struct {
	PrometheusClient promclient.Interface
	Logger           micrologger.Logger

	Address           string
	Bastions          []string
	CreatePVC         bool
	Customer          string
	Installation      string
	Pipeline          string
	Provider          string
	Region            string
	Registry          string
	StorageSize       string
	LogLevel          string
	RetentionDuration string
	RetentionSize     string
	RemoteWriteURL    string
	Version           string

	HTTPProxy  string
	HTTPSProxy string
	NoProxy    string
}

Jump to

Keyboard shortcuts

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