| 1 |
package metrics |
| 2 |
|
| 3 |
import ( |
| 4 |
"github.com/czerwonk/bird_exporter/protocol" |
| 5 |
"github.com/prometheus/client_golang/prometheus" |
| 6 |
) |
| 7 |
|
| 8 |
type MetricExporter interface { |
| 9 |
Describe(ch chan<- *prometheus.Desc) |
| 10 |
Export(p *protocol.Protocol, ch chan<- prometheus.Metric, newFormat bool) |
| 11 |
} |