monitorclient

package
v0.0.0-...-58d9a08 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonitorClient

type MonitorClient interface {
	GetNowValue(ctx context.Context, metricsQuery string) (float64, error)
}

func NewMonitorClient

func NewMonitorClient(ctx context.Context, clientType MonitorEngine, url string) (MonitorClient, error)

type MonitorEngine

type MonitorEngine string
const (
	PrometheusMonitorEngine MonitorEngine = "prometheus"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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