initial commit

This commit is contained in:
2025-10-17 09:29:37 +03:00
commit 9739ede62e
25 changed files with 2270 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package collector
import (
"gitea.sinav-lab.com/sinav/keenetic-exporter-v2/internal/device"
"github.com/prometheus/client_golang/prometheus"
)
type Collector interface {
Name() string
Collect(dev *device.Device, ch chan<- prometheus.Metric) error
Describe(ch chan<- *prometheus.Desc)
}