Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.12 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.12 KB

Observable backend demo project

Project for this post at habr.com

Shows how to

  • Collect Metrics (Prometheus)
  • Collect logs
  • Collect traces

for Nest.js project.

Here is simple Nest.js service, which recieves images, parse and save its metadata to database (Mongo and Posges).

How to use

Run project without any monitoring:

docker-compose -f docker-compose.nomon.yml up -d

Run project with metrics (Prometheus and Grafana):

docker-compose -f docker-compose.metrics.yml up -d

Run project with metrics and collecting logs (Prometheus, Loki and Grafana):

docker-compose -f docker-compose.metrics_logs.yml up -d

Run project with full monitoring (tempo traces) (Prometheus, Loki, Tempo and Grafana):

docker-compose -f docker-compose.metrics_logs_tempo.yml up -d

Run project with full monitoring (jaeger traces) (Prometheus, Loki, Jaeger and Grafana):

docker-compose -f docker-compose.metrics_logs_jaeger.yml up -d

Warning!

Its just demo project with most security options disabled. Do not use its as is for production purposes.