Documentation ¶
Index ¶
- func DefaultIfEmpty(m map[string]string, def map[string]string) map[string]string
- func EnrichLoggerWithLabels(logger *log.Logger, labelsMaps ...map[string]string) *log.Logger
- func IsSubset(a, b []string) bool
- func LabelNames(labels map[string]string) []string
- func LabelValues(labels map[string]string, labelNames []string) []string
- func MergeLabels(labelsMaps ...map[string]string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultIfEmpty ¶ added in v1.4.0
func EnrichLoggerWithLabels ¶ added in v1.5.0
func LabelNames ¶
LabelNames returns sorted label keys
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.