A PoC (proof of concept) of a logging and tracing system using modern open source observability tech stack:
Microservice runtime and tech stack:
- Docker
- Node.js with Express
- OpenTelemetry Node.js SDK
- Postgres, Redis
Diagram created using https://excalidraw.com/
- Docker pre-installed on machine
- Simply run
make up
- Optional: if you want to use Taskfile instead, refer to this link to install, replace
make
withtask
- Wait for few seconds for services to start
- Run
make run
to make API call to microservice
- Go to Grafana at http://localhost:3000
- Go to Explore
- View logs with Loki data source
- View traces and service graph with Tempo