Stack Dashboard

A stack dashboard is an automatically generated dashboard with key metrics of all services from the same stack. A stack is a name that you can associate with a service.

When a service is associated with a stack, its key metrics are added to the stack dashboard named after the stack. When a service is removed (Docker container destroyed or service uninstalled), Bleemeo will stop monitoring this service. Only services monitored during the selected period (last hour, last 6 hours, …) are shown. This automation works well with dynamic infrastructure which scale-up or down frequently.

../../_images/stacks-dashboard.png

To use this feature, you need to label your services with the stack it belong to.

For Dockerized service, the easiest way is to set a Docker label bleemeo.stack. Example for a Redis server:

docker run -d --label bleemeo.stack=my-application-name redis

For other services, you need to add the following to your Bleemeo agent configuration (/etc/bleemeo/agent.conf.d/60-stacks.conf):

service:
    - id: redis
      stack: my-application-name
    [...]

It’s also possible to configure a default value for all services running on an server. For this you need to add the following to your Bleemeo agent configuration (/etc/bleemeo/agent.conf.d/60-stack-default.conf):

stack: my-application-name