Documentation ¶
Overview ¶
Package configvalidation contains validation and enrichment functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateEnrichMetadata ¶
func ValidateEnrichMetadata(metadata profiledefinition.MetadataConfig) []string
ValidateEnrichMetadata will validate MetadataConfig and enrich it.
func ValidateEnrichMetricTags ¶
func ValidateEnrichMetricTags(metricTags []profiledefinition.MetricTagConfig) []string
ValidateEnrichMetricTags validates and enrich metric tags
func ValidateEnrichMetrics ¶
func ValidateEnrichMetrics(metrics []profiledefinition.MetricsConfig) []string
ValidateEnrichMetrics will validate MetricsConfig and enrich it. Example of enrichment: - storage of compiled regex pattern
Types ¶
type SymbolContext ¶
type SymbolContext int64
SymbolContext represent the context in which the symbol is used
const ( ScalarSymbol SymbolContext = iota ColumnSymbol MetricTagSymbol MetadataSymbol )
ScalarSymbol enums
Click to show internal directories.
Click to hide internal directories.