0

I am building an autoscaling system using mesos and marathon. The scenario is, I want to autoscale a task, if the amount of memory allocated to it is consumed more than 80%. How do I find out the amount of memory used at a cgroup level?

Is this the right approach?

Mrinal Saurabh
  • 948
  • 11
  • 16

1 Answers1

2

You can get the stastics for each task by hitting http://host:5051/monitor/statistics.json where host is mesos slave.

This repo will give you an idea how to autoscale marathon applications.

janisz
  • 6,292
  • 4
  • 37
  • 70
Rajiv Reddy
  • 153
  • 1
  • 9