Christian Svensson
fff0298c68
Fix NTP server command line reference
...
--ntpServer is actually -collector.ntp.server
2016-02-20 22:04:49 +01:00
Pavel Borzenkov
d773360d12
Add missing argument to fmt.Errorf function in 'ntp' collector
...
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
2015-11-13 18:09:11 +03:00
Julius Volz
07b39499cd
Fix protocol version setting in NTP collector.
...
The upstream library changed their interface - the global Version
variable is gone:
283ed9d548
2015-11-10 10:08:57 +01:00
Mikhail Salosin
e7359706d4
Do not use flag before flag.Parse() was called
2015-11-06 19:45:05 +03:00
Nick Owens
eb79937340
switch to github.com/prometheus/common/log for logging
2015-10-30 13:20:06 -07:00
Mikhail Salosin
10e65086ea
Add NTP protocol version flag
2015-10-26 16:15:53 +03:00
Julius Volz
a25751e0b3
Fix occurreneces of initial uppercase in error strings.
2015-10-11 22:37:43 +02:00
Matthias Rampke
2d0d72b97d
Add license headers to all code files.
2015-09-26 17:44:39 +02:00
Julius Volz
e65bc868fc
Switch logging from glog to github.com/prometheus/log.
2015-05-28 21:34:02 +02:00
Johannes 'fish' Ziemke
665b05eedc
Use flags instead of config and remove attributes
2015-05-21 11:36:56 +02:00
Julius Volz
efcce45c90
Make collector-specific flags consistent with others.
...
This puts all collector-specific flags into their own namespace under
"collector.<collector-name>", and moves from camel case to dashes, which
is the standard in Prometheus land now.
2015-02-18 18:42:39 +01:00
Tobias Schmidt
872f921867
Reduce number of global variables used
...
This is the first step to make the exporter more testable.
2014-11-24 21:08:50 -05:00
Brian Brazil
1c17481a42
Collect at every scrape, rather than at regular intervals.
...
Switch to Update using the Collecter Collect interface, due to not knowing all
metricnames in all modules beforehand we can't use Describe and thus the full
Collecter interface.
Remove 'updates', it's meaning varies by module and doesn't add much.
2014-10-29 17:00:36 +00:00
Johannes 'fish' Ziemke
32724a10b0
Add NTP exporter
...
This exporter gets the time from a NTP server and exposes the offset
between the remote and local system time.
2014-07-28 13:02:46 +02:00