https://github.com/vunovati/otlp-js-demo
https://github.com/vunovati/otlp-js-demo
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vunovati/otlp-js-demo
- Owner: Vunovati
- Created: 2023-02-10T07:02:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T09:49:31.000Z (12 months ago)
- Last Synced: 2025-02-17T04:41:42.758Z (3 months ago)
- Language: JavaScript
- Size: 57.4 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Full Stack JS Observability demo app
Web Shop application demonstrating observability in a distributed system.
The application consists of:* WebShop React SPA - Vite + React app
* Products Service - Node.js app with PostgreSQL datastore
* Cart Service - Node.js app with in-memory state
## Running the project with Docker compose
1. Install [Docker Desktop](https://docs.docker.com/desktop/) and [Tilt](https://docs.tilt.dev/install.html).
2. run `docker compose up` from the root of the project to start all the services
3. setup data in DB with: `cd products-service && npm install && npm run setup-db`## Running the project with Tilt (local Kubernetes)
1. Install [Docker Desktop](https://docs.docker.com/desktop/) and [Tilt](https://docs.tilt.dev/install.html).
2. [Enable Kubernetes in Docker](https://docs.docker.com/desktop/kubernetes/#install-and-turn-on-kubernetes)
3. run `tilt up` from the root of the project to start all the services
4. setup data in DB with: `cd products-service && npm install && npm run setup-db`
5. setup logging infra: `cd ../logging-infra && docker compose up`### Links
* Frontend app: [http://localhost:5173/]()
* Tilt dashboard (k8s): [http://localhost:10350]()
* Jaeger dashboard (traces): [http://localhost:16686/search]()
* Grafana dashboard: [http://localhost:3000/explore]() (user: admin, pass: admin)