Documentation ¶
Overview ¶
Package client provides prometheus client implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientWithBasicAuth ¶
NewClientWithBasicAuth creates a client with basic authentication.
ex) c, err := client.NewClientWithBasicAuth("http://:9090", "username", "password")
func NewClientWithBearerToken ¶
NewClientWithBearerToken creates a client that performs bearer token authentication.
ex) c, err := client.NewClientWithBearerToken("http://:9090", "token")
Types ¶
Click to show internal directories.
Click to hide internal directories.