Skip to content

oss-aspen/augur-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Augur Monitoring Grafana Stack

This repo contains a container stack (works with docker/podman compose) which sets up grafana and prometheus to monitor an Augur instance. This helps provide a more time-series look at various augur parameters and statistics for long-term health monitoring by the system admin.

This includes:

  • monitoring the augur postgres database (requires a user with access)
  • monitoring celery tasks through flower (requires the flower interface to be up)

A screenshot of the dashboard

Setup:

  1. clone the repo
  2. create a .env file containing your Augur DB credentials and preferred grafana login. A template is available in .env.sample
  3. (optional) for host metrics on debian systems, install the package prometheus-node-exporter
  4. do podman compose up -d or docker compose up -d from the root of the repo to start the monitoring stack
    • if you have a .env file with a different name than .env, you'll probably want to include --env-file=<your env file> in the command.

Viewing the Dashboards:

  1. start up the augur stack
  2. navigate to http://localhost:3000 in your browser
  3. login with the credentials admin/password
  4. navigate to Dashboards in the Web UI and select a dashboard

Worth Noting

Grafana in particular takes a hot sec to start up (probably about a minute) before its accessible via the web interface (it has db migrations to do apparrently - the logs for this should be hidden by the instruction to only show error logs)

Data is not currently preserved between restarts of the monitoring stack.

This is intended and designed to run independently of augur (by relying on the ports that the augur docker stack exposes). This makes it possible to take augur down and back up without affecting the monitoring stack other than creating a gap in the graphs where no data could be collected.

About

Prometheus/grafana monitoring stack for servers running augur

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published