prometheus

package
v0.0.0-...-33d5a37 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient(args ...string) (api.Client, error)

CreateClient will create a Prometheus client. If no arguments are supplied, the global config will be used. If one argument is supplied, it will be used as the address for Prometheus, but will use the global config for the bearer token. If two arguments are supplied, the first will be used as the address for Prometheus and the second will be used as the bearer token.

func CreateClusterClient

func CreateClusterClient(h *helper.H) (api.Client, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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