prometheus

package
v0.0.0-...-a2546f3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 10 Imported by: 2

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(ctx context.Context, client *openshift.Client) (*Client, error)

TODO: should we use thanos querier instead?

func (*Client) GetClient

func (c *Client) GetClient() prometheusv1.API

func (*Client) InstantQuery

func (c *Client) InstantQuery(ctx context.Context, query string) (model.Vector, error)

Jump to

Keyboard shortcuts

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