Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultDishAddress = "192.168.100.1:9200"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter is a Starlink Dishy metrics exporter.
func NewExporter ¶
NewExporter returns a new exporter that connects to the Starlink Dishy at the given address.
func (*Exporter) Collect ¶
func (e *Exporter) Collect(ch chan<- prometheus.Metric)
func (*Exporter) ConnState ¶
func (e *Exporter) ConnState() connectivity.State
ConnState returns the gRPC connection state.
func (*Exporter) Describe ¶
func (e *Exporter) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.