prometheus

package
v0.3.48 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ConfigValidate = "PrometheusConfigValidate"
	ConfigRelabel  = "PrometheusConfigRelabelReport"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigAnalyzer

type ConfigAnalyzer struct {
}

func (*ConfigAnalyzer) Analyze

func (c *ConfigAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error)

type Prometheus

type Prometheus struct {
}

func NewPrometheus

func NewPrometheus() *Prometheus

func (*Prometheus) AddAnalyzer

func (p *Prometheus) AddAnalyzer(mergedMap *map[string]common.IAnalyzer)

func (*Prometheus) Deploy

func (p *Prometheus) Deploy(namespace string) error

func (*Prometheus) GetAnalyzerName

func (p *Prometheus) GetAnalyzerName() []string

func (*Prometheus) GetNamespace

func (p *Prometheus) GetNamespace() (string, error)

func (*Prometheus) IsActivate

func (t *Prometheus) IsActivate() bool

func (*Prometheus) OwnsAnalyzer

func (p *Prometheus) OwnsAnalyzer(analyzer string) bool

func (*Prometheus) UnDeploy

func (p *Prometheus) UnDeploy(_ string) error

type RelabelAnalyzer

type RelabelAnalyzer struct {
}

func (*RelabelAnalyzer) Analyze

func (r *RelabelAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error)

Jump to

Keyboard shortcuts

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