prometheus

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 41 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListOptions

func ListOptions(name string) metav1.ListOptions

func NewPrometheusCollector added in v0.10.0

func NewPrometheusCollector(s cache.Store) *prometheusCollector

func NewPrometheusCollectorForStores added in v0.42.0

func NewPrometheusCollectorForStores(s ...cache.Store) *prometheusCollector

func PrometheusStatus

PrometheusStatus evaluates the current status of a Prometheus deployment with respect to its specified resource object. It return the status and a list of pods that are not updated.

Types

type Operator

type Operator struct {
	// contains filtered or unexported fields
}

Operator manages life cycle of Prometheus deployments and monitoring configurations.

func New

New creates a new controller.

func (*Operator) Run

func (c *Operator) Run(ctx context.Context) error

Run the controller.

Jump to

Keyboard shortcuts

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