Skip to content

Commit cfb5411

Browse files
committed
Add log retention to emf exporter documentation
1 parent 5064b45 commit cfb5411

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ 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.
7678
7779
The available dimension roll-up options in EMF exporter,
7880
* "ZeroAndSingleDimensionRollup" - Enable both zero dimension rollup and single dimension rollup
@@ -87,6 +89,7 @@ awsemf:
8789
log_stream_name: 'AOTLogStream'
8890
namespace: 'AOTMetricNS'
8991
dimension_rollup_option: 1
92+
log_retention: 60
9093
```
9194
9295
The following is are sample metrics with dimension rollup in CloudWatch console.

0 commit comments

Comments
 (0)