Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DishAddress to reach Starlink dish ip:port
DishAddress = "192.168.100.1:9200"
)
Variables ¶
View Source
var ( SoftwarePartitionsEqual = prometheus.NewDesc( prometheus.BuildFQName(namespace, "dish", "software_partitions_equal"), "Starlink Dish Software Partitions Equal.", nil, nil, ) )
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct { Conn *grpc.ClientConn Client device.DeviceClient DishID string CountryCode string }
Exporter collects Starlink stats from the Dish and exports them using the prometheus metrics package.
func (*Exporter) Collect ¶
func (e *Exporter) Collect(ch chan<- prometheus.Metric)
Collect fetches the stats from Starlink dish and delivers them as Prometheus metrics. It implements prometheus.Collector.
func (*Exporter) Describe ¶
func (e *Exporter) Describe(ch chan<- *prometheus.Desc)
Describe describes all the metrics ever exported by the Starlink exporter. It implements prometheus.Collector.
Click to show internal directories.
Click to hide internal directories.