andrew-d / andrew-d/proxmox-service-discovery

Add Metrics

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
96
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The service should expose metrics (likely Prometheus) on the debug port so that it's clearer if it's working as expected. Ideas:
- [x] Gauge with the last time we successfully fetched the Proxmox inventory
- [x] Gauge with number of discovered nodes/LXCs/VMs
- [x] Number of DNS requests, split by TCP/UDP and A/AAAA
- [ ] Inventory fetch latency
- [ ] Success/failure counters for fetching things from Proxmox (e.g. an `inventory_fetch_failure` metric with a `reason` attribute)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.