Skip to content

The centralized component of our loki logging architecture

License

Notifications You must be signed in to change notification settings

prior-art-archive/logging-hq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logging HQ

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:

  1. An instance of Loki which handles the collection of logs.
  2. (SOON) An instance of Grafana which handles the rendering of the logs.

Setup

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.

Building and Deploying

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:

  1. Our Docker organization: priorartarchive
  2. 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.

About

The centralized component of our loki logging architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published