cloudwatch

Send metrics to AWS CloudWatch using the PutMetricData endpoint.

ALPHA: This metrics target is experimental, untested, and subject to breaking changes outside of major releases. It also wrote Game of Thrones Season 8.

metrics:
cloudwatch:
namespace: Benthos
region: eu-west-1

It is STRONGLY recommended that you whitelist metrics, here's an example:

metrics:
whitelist:
paths:
- input.received
- input.latency
- output.sent
child:
cloudwatch:
namespace: Foo

Fields

namespace

string The namespace used to distinguish metrics from other services.

flush_period

string The period of time between PutMetricData requests.

region

string The AWS region to target.

endpoint

string Allows you to specify a custom endpoint for the AWS API.

credentials

object Optional manual configuration of AWS credentials to use. More information can be found in this document.

credentials.profile

string A profile from ~/.aws/credentials to use.

credentials.id

string The ID of credentials to use.

credentials.secret

string The secret for the credentials being used.

credentials.token

string The token for the credentials being used, required when using short term credentials.

credentials.role

string A role ARN to assume.

credentials.role_external_id

string An external ID to provide when assuming a role.