https://github.com/czioutas/telemetry
https://github.com/czioutas/telemetry
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/czioutas/telemetry
- Owner: czioutas
- Created: 2025-01-12T17:18:05.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-02-11T09:33:08.000Z (5 months ago)
- Last Synced: 2025-02-11T10:34:09.738Z (5 months ago)
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prometheus & Grafana Monitoring Stack
Monitoring stack with Prometheus and Grafana, preconfigured for TS/Node.js application metrics.
## Prerequisites
- Docker
- Docker Compose## Directory Structure
```
.
├── README.md
├── docker-compose.yml
├── prometheus/
│ └── prometheus.yml
└── grafana/
└── provisioning/
├── dashboards/
│ ├── nodejs.json
│ └── default.yaml
└── datasources/
```## Quick Start
1. Create the directory structure
2. Place configuration files in their respective directories
3. Start the stack:
```bash
docker-compose up -d
```## Access
- Prometheus: http://localhost:9090
- Grafana: http://localhost:3000
- Username: admin
- Password: admin## Metrics
The stack is configured to scrape:
- Prometheus itself (localhost:9090)
- CoZero API (api.cozero.io/v1/metrics)## Dashboard
Includes a preconfigured dashboard with:
- Event Loop Lag
- Heap Usage
- Prisma Query Statistics
- HTTP Request Rates## Maintenance
To update configurations:
1. Modify the relevant files
2. Restart the services:
```bash
docker-compose restart
```