# Packages
Package prometheus contains copied code parts of the prometheus project (https://github.com/prometheus/prometheus) See the description of the different structures to get more information on where they have been extracted These definitions should match the structs in the supported prometheus version.
# Functions
EnvVarOrDefault returns the value of the environment variable named "envName" if found or "defaultVal" otherwise.
GetKubeClient returns a k8s ClientSet using the in-cluster config.
ListK8sServicesByLabel returns a k8s service list matching the passed labelSelector in the specified namespace.
ReadK8sSecretAsString returns the value of secretKey within a secret secretName within namespace namespace.
# Constants
ServiceName holds the name of this service.
SliResourceURI holds the name of the SLI file that this service uses.