package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
IsNotFoundError returns true if the error is a 404 error.
NewPromClient returns a new instance of PromClient.
# Constants
ErrorMessage is the generic error message used to return an error when a requests to the prometheus helper service yields a non 200 status.
# Structs
CCParams are the params for the cluster configs.
NodeInfo contains the target and labels for the node.
PromClient is used to communicate with the prometheus helper service keeping the functions as a variable enables us to override the value for unit testing.