promclient

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 13 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 struct {
	// contains filtered or unexported fields
}

func New

func New(rawURL, tenant string, lookback time.Duration) (*Client, error)

func (*Client) LabelStats

func (c *Client) LabelStats(ctx context.Context, metric string) ([]audit.LabelStat, error)

func (*Client) MetricNames

func (c *Client) MetricNames(ctx context.Context) ([]string, error)

func (*Client) Rules

func (c *Client) Rules(ctx context.Context) ([]audit.RuleInfo, error)

func (*Client) SeriesCounts

func (c *Client) SeriesCounts(ctx context.Context, names []string) (map[string]int, error)

Jump to

Keyboard shortcuts

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