Skip to content

sudosalim/error_dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logs Dashoard

Simple dashboard and log collector for processed server logs.

Components:

Setup

  • Start Loki docker container using command in loki/install.sh
  • Start Grafana dashboard from ./grafana directory using docker compose:
docker compose up -d --build

Useful APIs

  1. Check if loki is ready
GET http://localhost:3100/ready

# Possible outcomes:
# 200 - OK (ready)
# 503 - Service unavailable: Ingester not ready: waiting for 15s after being ready
  1. Submit log stream to Loki
POST http://localhost:3100/loki/api/v1/push
  1. Grafana dashboard
GET http://localhost:3000

Loki API Reference

TODO:

  • Automate deployment using one command, maybe using make
  • Improve the dashboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published