Logs, scaling and teams

Logs, container stats, 1 to 3 replicas per service and your team, from the CLI, the dashboard or the REST API.

Running your app day to day

What you need once your app is live, from the CLI, the dashboard or the REST API.

Logs without a server login

Read build, deploy and container logs in one place with mecca logs, and filter them by type, service, level or time. No SSH needed.

Read the docs: viewing logs

Health checks that act

Declare a health check, and an instance that fails it is taken out of rotation. A container that crashes restarts on its own.

Read the docs: health checks

One to three replicas

Run up to three copies of a service, each on its own host. mecca app scale changes the count and redeploys the version that's running, not a new build.

Read the docs: scaling a service

Set memory per service

Give each service the memory it needs in appmecca.yaml, and the limit is enforced. Leave it out and AppMecca picks a default for the runtime it detects, such as Java or Node.js.

Read the docs: resource limits

Your team in one group

Invite teammates into your group by email. Everyone in the group can see and operate its apps.

Read the docs: groups

CLI, dashboard and REST API

Install the mecca CLI with npm or Homebrew, or work in the web dashboard. A REST API sits behind both.

Read the docs: installing the CLI

Day-to-day commands

Read logs, check memory and CPU, and change how many copies of a service run.

# Container logs for the web service, from the last day:
$ mecca logs myapp --type container -s web --since 24h

# Memory and CPU now, then the daily history:
$ mecca app stats myapp
$ mecca app stats myapp --history

# Set how many copies of the web service run:
$ mecca app scale myapp web 2
The Logs tab of the AppMecca dashboard for a demo app, Db Demo: filters for source, level and time, a search box, and twelve timestamped lines from its build and deploy.
The same logs in the dashboard, for the demo app from the home page: one stream you can filter by source, level and time. Screenshot of the AppMecca dashboard, showing demo data.

Good to know

  • No autoscaling: you set each service's replica count yourself.
  • There are no alerts to you yet. Check your apps' health with mecca status or in the dashboard.
  • One region today: AWS US East (Ohio).
  • Roles inside a group aren't enforced yet: everyone in the group can operate its apps.
  • You set memory per service, but not CPU: it isn't limited or reserved, and the services on a host share it.