This repository contains documentation and baseline setup of a Prometheus + Grafana service which is intended to serve as a centralized monitoring and alerting component of the Prior Art Archive.
The repository is driven by docker and involves the following:
- An instance of prometheus which handles the collection of metrics.
- (SOON) An instance of grafana which handles the rendering of metrics.
- (SOON) An instance of alertmanager which triggers alerts based on metric outcomes.
We're using Docker and docker-compose
which will let you set up your own Prometheus server to make improvements and modifications to this repository.
To run the project locally:
docker-compose up
The project is run on [AWS ECS], which means in order to actually deploy you will need to install the ecs-cli.
You will also need read access to the following services:
- Our Docker organization:
priorartarchive
- An AWS account with permission to interact with ECS
Once you've done that, this is how you would deploy a new version:
> docker-compose build
> docker-compose push
> ecs-cli compose service down --cluster prior-art-archive-monitoring
> ecs-cli compose service up --cluster prior-art-archive-monitoring
Note that prior-art-archive-monitoring
can be whatever name you have set up.