Configuring the AWS CloudWatch backend (Managed)
AWS Credentials
and permissions set up.$EKS_CLUSTER_REGION
with the region of your EKS cluster and $EKS_CLUSTER_NAME
with the name of your EKS cluster (or set them as environment variables).
Supported Signals:
string
: Log Group Name. The group name of the CloudWatch Logs. If it does not exist it will be created automatically.
string
: Log Stream Name. The stream name of the CloudWatch Logs. If it does not exist it will be created automatically.
string
: Region. The AWS region where the log stream is in. Region must be specified if it is not already set in the default credential chain.
string
: Endpoint. The CloudWatch Logs service endpoint which the requests are forwarded to.
string
: Log Retention. LogRetention is the option to set the log retention policy for only newly created CloudWatch Log Groups. The value is in days, 0 = Never Expire. This value can also be changed later-on via the AWS console (UI) or AWS API, it’s not a permanent decision once set. Also, the value here might not reflect the actual retention value in the destination if it was modified or some automatic policy is applied.
0
{ key: string; value: string; }[]
: Tags. Tags is the option to set tags for the CloudWatch Log Group. If specified, please add at most 50 tags. Keys must be between 1-128 characters and follow the pattern: (alphanumerics, whitespace, and _.:/=+-!). Values must be between 1-256 characters and follow the pattern: (alphanumerics, whitespace, and _.:/=+-!).
boolean
: Raw Log. If set to true, only the log message will be exported to CloudWatch Logs. This needs to be set to true for EMF logs.
False
string
: Metrics Namespace. Customized CloudWatch metrics namespace. Metrics in different namespaces are isolated from each other. Please note this is not a cluster namespace.
Odigos
string
: Metrics Dimension Rollup. The option for metrics dimension rollup.
NoDimensionRollup
boolean
: Detailed Metrics. Retain detailed datapoint values in exported metrics (e.g instead of exporting a quantile as a statistical value, preserve the quantile’s population).
False
boolean
: Retain Initial Value of Delta Metric. This option specifies how the first value of a metric is handled. AWS EMF expects metric values to only contain deltas to the previous value. In the default case the first received value is therefor not sent to AWS but only used as a baseline for follow up changes to this metric. This is fine for high throughput metrics with stable labels. In this case it does not matter if the first value of this metric is discarded. However when your metric describes infrequent events or events with high label cardinality, then the exporter in default configuration would still drop the first occurrence of this metric. With this configuration value set to true the first value of all metrics will instead be send to AWS.
False
Add Destination
, select AWS CloudWatch
and follow the on-screen instructionscloudwatch.yaml
)kubectl