Skip to content

Commit 68b3fca

Browse files
authored
Merge pull request #412 from humivo/LogRetentionDoc
Add log retention to emf exporter documentation
2 parents 6a74456 + 4311610 commit 68b3fca

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/docs/getting-started/cloudwatch-metrics.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,12 @@ do the advanced customization for each component on metrics sending. We will wal
7171
7272
The application metrics are sent to Amazon CloudWatch in form of EMF Logs format. The various configuration options, including
7373
EMF Log Group Name, Log Stream Name and CloudWatch Metrics Namespace can be customized in EMF exporter configuration. Note that
74-
ADOT Collector utilizes the default log group name and namespace generated from application to support data correlation.
75-
The customized values might break the data correlation feature.
74+
ADOT Collector utilizes the default log group name and namespace generated from application to support data correlation. The customized values might break the data correlation feature. The log retention of the Cloudwatch log group created by the EMF
75+
Exporter can also be customized in the configuration and be set to the following values (in days):
76+
77+
0 (Never Expire), 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, or 3653.
78+
79+
Log Retention can only be set this way for newly created Cloudwatch log groups. This feature will not update log retention for existing Cloudwatch log groups.
7680
7781
The available dimension roll-up options in EMF exporter,
7882
* "ZeroAndSingleDimensionRollup" - Enable both zero dimension rollup and single dimension rollup
@@ -87,6 +91,7 @@ awsemf:
8791
log_stream_name: 'AOTLogStream'
8892
namespace: 'AOTMetricNS'
8993
dimension_rollup_option: 1
94+
log_retention: 60
9095
```
9196
9297
The following is are sample metrics with dimension rollup in CloudWatch console.

0 commit comments

Comments
 (0)