Documentation ¶
Index ¶
- func FilterAndSortProcessorsByOrderHint(processors *odigosv1.ProcessorList, collectorRole odigosv1.CollectorsGroupRole) []*odigosv1.Processor
- func IsProcessorLogsEnabled(processor *odigosv1.Processor) bool
- func IsProcessorMetricsEnabled(processor *odigosv1.Processor) bool
- func IsProcessorTracingEnabled(processor *odigosv1.Processor) bool
- func Sha256Hash(value string) string
- type Config
- type GenericMap
- type Pipeline
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterAndSortProcessorsByOrderHint ¶
func FilterAndSortProcessorsByOrderHint(processors *odigosv1.ProcessorList, collectorRole odigosv1.CollectorsGroupRole) []*odigosv1.Processor
func IsProcessorLogsEnabled ¶
func Sha256Hash ¶
Types ¶
type Config ¶
type Config struct { Receivers GenericMap `json:"receivers"` Exporters GenericMap `json:"exporters"` Processors GenericMap `json:"processors"` Extensions GenericMap `json:"extensions"` Service Service `json:"service"` }
type GenericMap ¶
type GenericMap map[string]interface{}
func GetCrdProcessorsConfigMap ¶
func GetCrdProcessorsConfigMap(processors *odigosv1.ProcessorList, collectorRole odigosv1.CollectorsGroupRole) (cfg GenericMap, tracesProcessors []string, metricsProcessors []string, logsProcessors []string)
func ProcessorCrToCollectorConfig ¶
func ProcessorCrToCollectorConfig(processor *odigosv1.Processor) (GenericMap, string, error)
Click to show internal directories.
Click to hide internal directories.