dg1670aexporter

package module
v0.1.1-0...-540743c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2018 License: MIT Imports: 15 Imported by: 0

README

dg1670a_exporter

Arris DG1670A Prometheus Exporter

Notes

I no longer have an Arris DG1760a, but PRs are more than welcome if anyone does and sees something incorrect.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	// contains filtered or unexported fields
}

func New

func New(httpClient *http.Client, url string) (*Exporter, error)

func (*Exporter) Collect

func (e *Exporter) Collect(ch chan<- prometheus.Metric)

func (*Exporter) Describe

func (e *Exporter) Describe(ch chan<- *prometheus.Desc)

type ModemCollector

type ModemCollector struct {

	// Downstream metrics
	DownstreamFreq *prometheus.GaugeVec

	DownstreamPower *prometheus.GaugeVec

	DownstreamSNR *prometheus.GaugeVec

	DownstreamModulation *prometheus.GaugeVec

	DownstreamOctets *prometheus.GaugeVec

	DownstreamCorrecteds *prometheus.GaugeVec

	DownstreamUncorrectables *prometheus.GaugeVec

	UpstreamFreq *prometheus.GaugeVec

	UpstreamPower *prometheus.GaugeVec

	UpstreamSymbolRate *prometheus.GaugeVec

	UpstreamModulation *prometheus.GaugeVec
	// contains filtered or unexported fields
}

func NewModemCollector

func NewModemCollector(c *client) *ModemCollector

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL