12 lines
256 B
Go
12 lines
256 B
Go
package metrics
|
|
|
|
import (
|
|
"github.com/czerwonk/bird_exporter/protocol"
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
)
|
|
|
|
type MetricExporter interface {
|
|
Describe(ch chan<- *prometheus.Desc)
|
|
Export(p *protocol.Protocol, ch chan<- prometheus.Metric)
|
|
}
|