Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Nägele
e74de4edf1 fix #117 by distinquishing prometheus value types 2021-10-25 14:10:09 +02:00
Alex Price
9ca7e9215e add link-downs metric to interface collector
Signed-off-by: Alex Price <awprice@gmail.com>
2021-07-07 18:53:35 +10:00
oGi4i
47f31f4f6f added actual mtu metric 2020-12-12 23:49:31 +03:00
oGi4i
05aaa41587 added running metric 2020-12-12 21:34:12 +03:00
oGi4i
525b8fc5f4 added more interface labels 2020-12-12 21:27:43 +03:00
Jarred Trainor
0f7d5bea2c Handle empty properties when collecting interface metrics (#20)
Instead of logging an error, check if a property is empty before attempting to
call strconv.ParseFloat on it.

ERRO[0005] error parsing interface metric value device=gw error="strconv.ParseFloat: parsing \"\": invalid syntax" interface=ether2 property=tx-drop value=
2018-10-31 22:40:11 -04:00
Daniel Czerwonk
39e54be98d Added optical diagnostic metrics (#10) 2018-05-07 14:31:19 -04:00
Daniel Czerwonk
d170b0a4d2 More features (#9)
* added config file implementation, refactoring
* add gitignore
* improved test
* preperations for more metrics
* added resource metrics
* added first bgp metrics
* added asn as label for bgp metrics
* added prefix and message counts to bgp metrics
* simplified
* Update README.md
* added yaml dependency
* fixed go routine call
* added timeout
* clean up
* added TLS support
* set default api port for TLS
* added routes metric
* added missing log information
* added type collectorContext to reduce the count of parameters for better readability
* added DHCP and DHCPv6 metrics
* filter for active dhcp leases only
* added pool metrics
* enable/disable feature in config file
* refactoring

* clean up

* comment fix
2018-04-11 09:21:38 -04:00
Daniel Czerwonk
f2866a3a2f News features and improvements (#8)
* added config file implementation, refactoring

* add gitignore

* improved test

* preperations for more metrics

* added resource metrics

* added first bgp metrics

* added asn as label for bgp metrics

* added prefix and message counts to bgp metrics

* simplified

* Update README.md

* added yaml dependency

* fixed go routine call

* added timeout

* clean up

* added TLS support

* set default api port for TLS

* added routes metric

* added missing log information
2018-03-20 21:28:10 -04:00