prometheus

package
v0.0.0-...-cc9df55 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrometheusAdapter

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

func NewPrometheusAdapter

func NewPrometheusAdapter(config *domain.Config) (*PrometheusAdapter, error)

func (*PrometheusAdapter) Len

func (pa *PrometheusAdapter) Len() int

func (*PrometheusAdapter) Query

func (pa *PrometheusAdapter) Query(metricsChan chan<- *domain.MetricsMatrix)

func (*PrometheusAdapter) RegisterQuery

func (pa *PrometheusAdapter) RegisterQuery(query *promql.Query)

Jump to

Keyboard shortcuts

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