Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/czioutas/telemetry
https://github.com/czioutas/telemetry
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/czioutas/telemetry
- Owner: czioutas
- Created: 2025-01-12T17:18:05.000Z (25 days ago)
- Default Branch: main
- Last Pushed: 2025-02-04T08:08:46.000Z (2 days ago)
- Last Synced: 2025-02-04T09:20:37.195Z (2 days ago)
- Size: 16.6 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
```