Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct { ConstLabels prometheus.Labels Gauges prometheus_helper.GaugeMapMap GaugeVecs prometheus_helper.GaugeVecMapMap ChipStats *prometheus.GaugeVec sync.Mutex // contains filtered or unexported fields }
Collector interface
func NewExporter ¶
func NewExporter(client cgminer_client.Client, version string) *Exporter
func (*Exporter) Collect ¶
func (e *Exporter) Collect(ch chan<- prometheus.Metric)
func (*Exporter) Describe ¶
func (e *Exporter) Describe(ch chan<- *prometheus.Desc)
type MinerData ¶
type MinerData struct { Summary cgminer_client.Summary Devs map[string]cgminer_client.Dev }
Click to show internal directories.
Click to hide internal directories.