Documentation

Overview

    Package configcheck has checks to be applied to configuration objects implemented by factories of components used in the OpenTelemetry collector. It is recommended for implementers of components to run the validations available on this package.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func ValidateConfig

    func ValidateConfig(config interface{}) error

      ValidateConfig enforces that given configuration object is following the patterns used by the collector. This ensures consistency between different implementations of components and extensions. It is recommended for implementers of components to call this function on their tests passing the default configuration of the component factory.

      func ValidateConfigFromFactories

      func ValidateConfigFromFactories(factories component.Factories) error

        ValidateConfigFromFactories checks if all configurations for the given factories are satisfying the patterns used by the collector.

        Types

        This section is empty.

        Source Files