configvalidation

package
v0.0.0-...-786bce8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL