Skip to content

Example for collecting memory usage using CloudWatch agent #154

Description

@tschaub

I've been struggling to configure an Elastic Beanstalk application to generate metrics on memory usage. In this repo, I've found the autoscaling-memory-utilization.config, and that seems to have the required parts. I've been having trouble getting it to work ("ERROR: Cannot obtain instance id from EC2 meta-data.") and found a doc on monitoring scripts that say they are deprecated. It sounds like the alternative is to "use the CloudWatch agent to collect metrics and logs."

Is there a complete example of how to use the CloudWatch agent to monitor memory use on Elastic Beanstalk instances? I'm not clear on the difference between CloudWatch agent and CloudWatch Logs agent, but I see that the latter is on the path to deprecation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions