Monitoring Streams Agent Health with Amazon CloudWatch
The agent publishes custom CloudWatch metrics with a namespace of
AWSKinesisAgent to help assess if the agent is submitting data
into Streams as specified, and is healthy and consuming the appropriate amount of CPU and
memory resources on the data producer. Metrics such as number of records and bytes sent
are useful to understand the rate at which the agent is submitting data to the stream.
When these metrics fall below expected thresholds by some percentage or drop to zero, it
could indicate configuration issues, network errors, or agent health issues. Metrics
such as on-host CPU and memory consumption and agent error counters indicate data
producer resource usage, and provide insights into potential configuration or host
errors. Finally, the agent also logs service exceptions to help investigate agent
issues. These metrics are reported in the region specified in the agent configuration
cloudwatch.endpoint. For more information about agent
configuration, see Agent Configuration Settings.
Monitoring with CloudWatch
The Streams agent sends the following metrics to CloudWatch.
The number of bytes sent to Streams over the specified time period.
The number of records attempted (either first time, or as a
retry) in a call to
The number of records that returned failure status in a call
The number of calls to