This repository contains documentation and baseline setup of a Loki + Grafana service which serves as a centralized logging component of the Prior Art Archive.
The repository is driven by docker and involves the following:
- An instance of Loki which handles the collection of logs.
- (SOON) An instance of Grafana which handles the rendering of the logs.
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
You can verify that Loki is running by checking http://localhost:3100/ready.
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-logging
> ecs-cli compose service up --cluster prior-art-archive-logging
Note that prior-art-archive-logging
can be whatever name you have set up.