pp8s

package
v0.0.0-...-fb2a8ec Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	QueryVector(query string, top int64) ([]*model.Sample, int64, error)
}

Client is the interface for prometheus client

func NewClient

func NewClient(opt Option) (Client, error)

func NewDefault

func NewDefault(addr string) (Client, error)

type Option

type Option struct {
	// The address of the Prometheus to connect to.
	Address string
}

Jump to

Keyboard shortcuts

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