mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(observability): Replace Prometheus package with OpenTelemetry
This commit is contained in:
parent
f67383b761
commit
6b1640b753
22 changed files with 2391 additions and 568 deletions
|
|
@ -22,11 +22,15 @@ services:
|
|||
DB_DATABASE: listory
|
||||
JWT_SECRET: listory
|
||||
APP_URL: "http://localhost:3000"
|
||||
NODE_ENV: local # pretty logs
|
||||
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT: http://tempo:55681/v1/traces
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ./src:/app/src
|
||||
ports:
|
||||
- 3000
|
||||
- 3000 # API
|
||||
- "9464:9464" # Metrics
|
||||
labels:
|
||||
- "traefik.enable=true" # Enable reverse-proxy for this service
|
||||
- "traefik.http.routers.api.rule=PathPrefix(`/api`)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue