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

Add Metrics

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
96
Fork
17
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.