prometheus

package
v0.30.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() api.Agent

Types

type Prometheus

type Prometheus struct{}

Prometheus agent does nothing as user is expected to setup Prometheus manually for scraping. xref: https://github.com/kmodules/monitoring-agent-api/issues/25#issuecomment-567635963

func (*Prometheus) CreateOrUpdate

func (agent *Prometheus) CreateOrUpdate(sp api.StatsAccessor, new *api.AgentSpec) (kutil.VerbType, error)

func (*Prometheus) Delete

func (agent *Prometheus) Delete(sp api.StatsAccessor) (kutil.VerbType, error)

func (*Prometheus) GetType

func (agent *Prometheus) GetType() api.AgentType

Jump to

Keyboard shortcuts

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