From f5dff746690b3b1065f139efd25a376daa7fbcaa Mon Sep 17 00:00:00 2001 From: Devin Stafford Date: Wed, 28 May 2025 20:22:33 -0700 Subject: [PATCH 1/2] pipeline: outputs: cloudwatch: Add StorageResolution Support Signed-off-by: Devin Stafford --- pipeline/outputs/cloudwatch.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipeline/outputs/cloudwatch.md b/pipeline/outputs/cloudwatch.md index bfcd2ba2d..707e90fb1 100644 --- a/pipeline/outputs/cloudwatch.md +++ b/pipeline/outputs/cloudwatch.md @@ -30,7 +30,8 @@ See [here](https://github.com/fluent/fluent-bit-docs/tree/43c4fe134611da471e706b | endpoint | Specify a custom endpoint for the CloudWatch Logs API. | | metric\_namespace | An optional string representing the CloudWatch namespace for the metrics. See `Metrics Tutorial` section below for a full configuration. | | metric\_dimensions | A list of lists containing the dimension keys that will be applied to all metrics. The values within a dimension set MUST also be members on the root-node. For more information about dimensions, see [Dimension](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API\_Dimension.html) and [Dimensions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch\_concepts.html#Dimension). In the fluent-bit config, metric\_dimensions is a comma and semicolon separated string. If you have only one list of dimensions, put the values as a comma separated string. If you want to put list of lists, use the list as semicolon separated strings. For example, if you set the value as 'dimension\_1,dimension\_2;dimension\_3', we will convert it as \[\[dimension\_1, dimension\_2],\[dimension\_3]] | -| sts\_endpoint | Specify a custom STS endpoint for the AWS STS API. | +| metric\_storage\_resolution | The granularity each metric should be stored with. Default is 60s if unspecified. Valid range is from 1s to 60s. See [EMF Specification](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format_Specification.html) for details.| +| sts\_endpoint | Specify a custom STS endpoint for the AWS STS API. | | profile | Option to specify an AWS Profile for credentials. Defaults to `default` | | auto\_retry\_requests | Immediately retry failed requests to AWS services once. This option does not affect the normal Fluent Bit retry mechanism with backoff. Instead, it enables an immediate retry with no delay for networking errors, which may help improve throughput when there are transient/random networking issues. This option defaults to `true`. | | external\_id | Specify an external ID for the STS API, can be used with the role\_arn parameter if your role requires an external ID. | From 392a26d50023e48b80818a0edcad810e90a289f8 Mon Sep 17 00:00:00 2001 From: Lynette Miles <6818907+esmerel@users.noreply.github.com> Date: Thu, 29 May 2025 08:41:54 -0700 Subject: [PATCH 2/2] Update pipeline/outputs/cloudwatch.md Signed-off-by: Lynette Miles <6818907+esmerel@users.noreply.github.com> --- pipeline/outputs/cloudwatch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/outputs/cloudwatch.md b/pipeline/outputs/cloudwatch.md index 707e90fb1..010588322 100644 --- a/pipeline/outputs/cloudwatch.md +++ b/pipeline/outputs/cloudwatch.md @@ -30,7 +30,7 @@ See [here](https://github.com/fluent/fluent-bit-docs/tree/43c4fe134611da471e706b | endpoint | Specify a custom endpoint for the CloudWatch Logs API. | | metric\_namespace | An optional string representing the CloudWatch namespace for the metrics. See `Metrics Tutorial` section below for a full configuration. | | metric\_dimensions | A list of lists containing the dimension keys that will be applied to all metrics. The values within a dimension set MUST also be members on the root-node. For more information about dimensions, see [Dimension](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API\_Dimension.html) and [Dimensions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch\_concepts.html#Dimension). In the fluent-bit config, metric\_dimensions is a comma and semicolon separated string. If you have only one list of dimensions, put the values as a comma separated string. If you want to put list of lists, use the list as semicolon separated strings. For example, if you set the value as 'dimension\_1,dimension\_2;dimension\_3', we will convert it as \[\[dimension\_1, dimension\_2],\[dimension\_3]] | -| metric\_storage\_resolution | The granularity each metric should be stored with. Default is 60s if unspecified. Valid range is from 1s to 60s. See [EMF Specification](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format_Specification.html) for details.| +| metric\_storage\_resolution | The granularity each metric should be stored with. Default: `60s`. Valid range is from `1s` to `60s`. See [EMF Specification](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format_Specification.html) for details.| | sts\_endpoint | Specify a custom STS endpoint for the AWS STS API. | | profile | Option to specify an AWS Profile for credentials. Defaults to `default` | | auto\_retry\_requests | Immediately retry failed requests to AWS services once. This option does not affect the normal Fluent Bit retry mechanism with backoff. Instead, it enables an immediate retry with no delay for networking errors, which may help improve throughput when there are transient/random networking issues. This option defaults to `true`. |