Documentation ¶
Index ¶
- func AddLabelConstraintToExpression(expression string, key string, values []string) (string, error)
- func AddLabelConstraintToSelector(metricSelector string, key string, values []string) (string, error)
- func LogDebug(msg string, args ...interface{})
- func LogError(msg string, args ...interface{})
- func LogFatal(msg string, args ...interface{})
- func LogInfo(msg string, args ...interface{})
- func LogWarning(msg string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLabelConstraintToExpression ¶
AddLabelConstraintToExpression enhances a PromQL expression to limit it to series matching a certain label
func AddLabelConstraintToSelector ¶
func AddLabelConstraintToSelector(metricSelector string, key string, values []string) (string, error)
AddLabelConstraintToSelector enhances a PromQL selector with an additional label selector
func LogDebug ¶
func LogDebug(msg string, args ...interface{})
LogDebug logs a debug message if debug logging is enabled.
func LogFatal ¶
func LogFatal(msg string, args ...interface{})
LogFatal logs a fatal error and terminates the program.
func LogWarning ¶
func LogWarning(msg string, args ...interface{})
LogWarning logs a warning of a potential error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.