exporters:
    awscloudwatch:
        force_flush_interval: 1m0s
        max_datums_per_call: 1000
        max_values_per_datum: 150
        middleware: agenthealth/metrics
        namespace: CWAgent
        region: us-west-2
        resource_to_telemetry_conversion:
            enabled: true
extensions:
    agenthealth/metrics:
        is_usage_data_enabled: true
        stats:
            operations:
                - PutMetricData
            usage_flags:
                mode: EC2
                region_type: ACJ
    agenthealth/statuscode:
        is_status_code_enabled: true
        is_usage_data_enabled: true
        stats:
            usage_flags:
                mode: EC2
                region_type: ACJ
    entitystore:
        mode: ec2
        region: us-west-2
processors:
    awsentity/resource:
        entity_type: Resource
        platform: ec2
        scrape_datapoint_attribute: true
    ec2tagger:
        ec2_instance_tag_keys:
            - AutoScalingGroupName
        ec2_metadata_tags:
            - ImageId
            - InstanceId
            - InstanceType
        imds_retries: 1
        middleware: agenthealth/statuscode
        refresh_tags_interval: 0s
        refresh_volumes_interval: 0s
receivers:
    telegraf_win_perf_counters/1492679118:
        alias_name: Memory
        collection_interval: 1s
        initial_delay: 1s
        timeout: 0s
    telegraf_win_perf_counters/2039663244:
        alias_name: TCPv6
        collection_interval: 1s
        initial_delay: 1s
        timeout: 0s
    telegraf_win_perf_counters/2073218482:
        alias_name: TCPv4
        collection_interval: 1s
        initial_delay: 1s
        timeout: 0s
    telegraf_win_perf_counters/3446270237:
        alias_name: PhysicalDisk
        collection_interval: 1s
        initial_delay: 1s
        timeout: 0s
    telegraf_win_perf_counters/3610923661:
        alias_name: Paging File
        collection_interval: 1s
        initial_delay: 1s
        timeout: 0s
    telegraf_win_perf_counters/3762679655:
        alias_name: Processor
        collection_interval: 1s
        initial_delay: 1s
        timeout: 0s
    telegraf_win_perf_counters/4283769065:
        alias_name: LogicalDisk
        collection_interval: 1s
        initial_delay: 1s
        timeout: 0s
service:
    extensions:
        - agenthealth/metrics
        - agenthealth/statuscode
        - entitystore
    pipelines:
        metrics/host:
            exporters:
                - awscloudwatch
            processors:
                - ec2tagger
                - awsentity/resource
            receivers:
                - telegraf_win_perf_counters/3762679655
                - telegraf_win_perf_counters/2073218482
                - telegraf_win_perf_counters/2039663244
                - telegraf_win_perf_counters/4283769065
                - telegraf_win_perf_counters/1492679118
                - telegraf_win_perf_counters/3610923661
                - telegraf_win_perf_counters/3446270237
    telemetry:
        logs:
            development: false
            disable_caller: false
            disable_stacktrace: false
            encoding: console
            level: info
            output_paths:
                - c:\ProgramData\Amazon\AmazonCloudWatchAgent\Logs\amazon-cloudwatch-agent.log
            sampling:
                enabled: true
                initial: 2
                thereafter: 500
                tick: 10s
        metrics:
            address: ""
            level: None
        traces:
            level: None
