|
| 1 | +exporters: |
| 2 | + awsemf: |
| 3 | + certificate_file_path: "" |
| 4 | + detailed_metrics: false |
| 5 | + dimension_rollup_option: NoDimensionRollup |
| 6 | + disable_metric_extraction: false |
| 7 | + eks_fargate_container_insights_enabled: false |
| 8 | + endpoint: "" |
| 9 | + enhanced_container_insights: false |
| 10 | + imds_retries: 1 |
| 11 | + local_mode: false |
| 12 | + log_group_name: /aws/cwagent |
| 13 | + log_retention: 0 |
| 14 | + log_stream_name: "" |
| 15 | + max_retries: 2 |
| 16 | + middleware: agenthealth/logs |
| 17 | + namespace: CWAgent |
| 18 | + no_verify_ssl: false |
| 19 | + num_workers: 8 |
| 20 | + output_destination: cloudwatch |
| 21 | + profile: "" |
| 22 | + proxy_address: "" |
| 23 | + region: us-west-2 |
| 24 | + request_timeout_seconds: 30 |
| 25 | + resource_arn: "" |
| 26 | + resource_to_telemetry_conversion: |
| 27 | + enabled: true |
| 28 | + retain_initial_value_of_delta_metric: false |
| 29 | + role_arn: "" |
| 30 | + version: "0" |
| 31 | +extensions: |
| 32 | + agenthealth/logs: |
| 33 | + is_usage_data_enabled: true |
| 34 | + stats: |
| 35 | + operations: |
| 36 | + - PutLogEvents |
| 37 | + usage_flags: |
| 38 | + mode: EC2 |
| 39 | + region_type: ACJ |
| 40 | +processors: |
| 41 | + batch/hostDeltaMetrics/cloudwatchlogs: |
| 42 | + metadata_cardinality_limit: 1000 |
| 43 | + send_batch_max_size: 0 |
| 44 | + send_batch_size: 8192 |
| 45 | + timeout: 30s |
| 46 | + cumulativetodelta/hostDeltaMetrics/cloudwatchlogs: |
| 47 | + exclude: |
| 48 | + match_type: "" |
| 49 | + include: |
| 50 | + match_type: "" |
| 51 | + initial_value: 2 |
| 52 | + max_staleness: 0s |
| 53 | +receivers: |
| 54 | + otlp/metrics: |
| 55 | + protocols: |
| 56 | + grpc: |
| 57 | + dialer: |
| 58 | + timeout: 0s |
| 59 | + endpoint: 0.0.0.0:1234 |
| 60 | + include_metadata: false |
| 61 | + max_concurrent_streams: 0 |
| 62 | + max_recv_msg_size_mib: 0 |
| 63 | + read_buffer_size: 524288 |
| 64 | + transport: tcp |
| 65 | + write_buffer_size: 0 |
| 66 | + tls: |
| 67 | + ca_file: "" |
| 68 | + cert_file: /path/to/cert.pem |
| 69 | + client_ca_file: "" |
| 70 | + client_ca_file_reload: false |
| 71 | + include_system_ca_certs_pool: false |
| 72 | + key_file: /path/to/key.pem |
| 73 | + max_version: "" |
| 74 | + min_version: "" |
| 75 | + reload_interval: 0s |
| 76 | + http: |
| 77 | + endpoint: 0.0.0.0:2345 |
| 78 | + include_metadata: false |
| 79 | + logs_url_path: /v1/logs |
| 80 | + max_request_body_size: 0 |
| 81 | + metrics_url_path: /v1/metrics |
| 82 | + traces_url_path: /v1/traces |
| 83 | + tls: |
| 84 | + ca_file: "" |
| 85 | + cert_file: /path/to/cert.pem |
| 86 | + client_ca_file: "" |
| 87 | + client_ca_file_reload: false |
| 88 | + include_system_ca_certs_pool: false |
| 89 | + key_file: /path/to/key.pem |
| 90 | + max_version: "" |
| 91 | + min_version: "" |
| 92 | + reload_interval: 0s |
| 93 | +service: |
| 94 | + extensions: |
| 95 | + - agenthealth/logs |
| 96 | + pipelines: |
| 97 | + metrics/hostDeltaMetrics/cloudwatchlogs: |
| 98 | + exporters: |
| 99 | + - awsemf |
| 100 | + processors: |
| 101 | + - batch/hostDeltaMetrics/cloudwatchlogs |
| 102 | + - cumulativetodelta/hostDeltaMetrics/cloudwatchlogs |
| 103 | + receivers: |
| 104 | + - otlp/metrics |
| 105 | + telemetry: |
| 106 | + logs: |
| 107 | + development: false |
| 108 | + disable_caller: false |
| 109 | + disable_stacktrace: false |
| 110 | + encoding: console |
| 111 | + level: info |
| 112 | + output_paths: |
| 113 | + - /opt/aws/amazon-cloudwatch-agent/logs/amazon-cloudwatch-agent.log |
| 114 | + sampling: |
| 115 | + enabled: true |
| 116 | + initial: 2 |
| 117 | + thereafter: 500 |
| 118 | + tick: 10s |
| 119 | + metrics: |
| 120 | + address: "" |
| 121 | + level: None |
| 122 | + traces: { } |
0 commit comments