@liflig/cdk
    Preparing search index...

    Interface OpenTelemetryCollectorsProps

    interface OpenTelemetryCollectorsProps {
        awsOtelConfig?: string;
        containerProps?: SidecarContainerProps;
        dockerImage?: string;
        logRetention?: RetentionDays;
        service: FargateService;
    }
    Index

    Properties

    awsOtelConfig?: string

    Should be kept as undefined unless you know what you are doing. This is the YAML config for the OpenTelemetry collector sidecar.

    An example of a config can be found at https://github.com/aws-observability/aws-otel-collector/blob/0ae198c7e7b8c43bcc8715f54e52c879c04407b6/config/ecs/container-insights/otel-task-metrics-config.yaml

    a file in assets tuned to work for aws and strips known high-cardinality metrics (like those containing IP addresses and ports)

    containerProps?: SidecarContainerProps

    Overrides for the sidecar container. You do not need to specify this.

    Defaults:

    • cpu: 32 units
    • memory reservation: 24 MiB
    • memory limit: 256 MiB
    dockerImage?: string
    "amazon/aws-otel-collector:v0.43.3"
    
    logRetention?: RetentionDays
    6 months *