Commit Graph

36 Commits

Author SHA1 Message Date
Calle Pettersson 6f6a479535 Fix goroutine leak 2019-08-08 21:09:21 +02:00
Calle Pettersson 3c20887433 Refactor timeout management 2019-08-03 21:34:19 +02:00
Calle Pettersson c5f23b4e64 Fix float-format 2019-06-24 21:55:33 +02:00
Calle Pettersson 411954cf9d Create custom metrics endpoint to read timeout from request header 2019-06-23 22:01:43 +02:00
Calle Pettersson 85fdfb44b8 Abort scrapes after configurable timeout 2019-05-25 13:59:43 +02:00
Calle Pettersson 33879449a2 Refactor cpu collector to use perflib instead of WMI. 2019-05-25 13:48:40 +02:00
Calle Pettersson 4c69ed1610 Lint-fix: errcheck not found on local run(?) 2019-01-23 10:01:31 +01:00
Calle Pettersson a171401f57 Lint-fix: errcheck. Partial fix to #261 2019-01-23 10:00:52 +01:00
Dave Henderson 5d4cafc0a1
Adding windows build constraints
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2018-11-29 19:51:12 -05:00
Bruno Bigras 16fecfbc67
fix typo in exporter.go 2018-08-05 21:39:43 -04:00
Calle Pettersson 667d06116d Refactor wmi query generator to use wildcard selector 2018-06-06 10:38:36 +02:00
Calle Pettersson 467e83722a Add process_start_time_seconds for the exporter itself 2018-04-29 16:53:34 +02:00
Calle Pettersson be5ac7b440 Switch to prometheus/common/log for all logging 2018-04-05 07:27:26 +02:00
Calle Pettersson 63e51a554b gofmt 2018-04-05 07:11:36 +02:00
Patrick O'Brien cf792394f3 Bring the textfile collector over from node_exporter (#174)
Bring the textfile collector over from node_exporter

This adds a slightly modified textfile collector from the official
node_exporter project.
2018-04-03 21:37:10 +02:00
Calle Pettersson aee1e4b1fd Change to kingpin for flags 2018-03-25 10:01:56 +02:00
Martin Lindhe 94caf8ee61 correct help message, fixes #118. typo was introduced in a66f0b5475 2017-09-07 14:28:27 +02:00
Calle Pettersson 7537c9896e Add hint in usage about quoting flags in powershell (#95) 2017-07-18 13:18:36 +02:00
Calle Pettersson 1ebee26c30 Change scrape_duration_seconds to gauge (#90)
* Change and rename scrape_duration metric to gauge collector_duration, split out collector_success

* Change to const metrics
2017-07-05 13:12:42 +02:00
Calle Pettersson 175c54acf1 Fix memory leak by updating go-ole and adding wbem initialization (#82) 2017-06-26 21:03:17 +02:00
Jürgen Hötzel 6bb522b6c3 Use the new prometheus http API (#71)
* Use the new prometheus http API

The new recommended way of using the prometheus http handler is through
the promhttp package:

https://github.com/prometheus/client_golang/releases/tag/v0.8.0 (Separated
HTTP exposition, allowing custom HTTP handlers (package promhttp))

* ListenAndServe always returns a non-nil error

* updated vendored dependencies
2017-05-01 00:12:05 +02:00
Calle Pettersson a66f0b5475 Add [defaults] placeholder support to collectors.enabled 2017-03-04 12:44:47 +01:00
Calle Pettersson 91374a75f2 Add Win32_Service collector 2017-03-03 14:51:24 +01:00
Calle Pettersson fab166f70a Set default collectors and update documentation 2016-10-14 10:24:08 +02:00
Martin Lindhe ef04d2c51c Merge pull request #29 from martinlindhe/network
add network collector
2016-09-28 08:23:36 +02:00
Martin Lindhe 6a5ae712d6 add network collector 2016-09-27 16:17:03 +02:00
Martin Lindhe 88863c1107 exporter: add /health endpoint. fixes #25 2016-09-27 14:37:12 +02:00
Calle Pettersson 92b762f6a1 Initial cpu collector implementation 2016-09-24 20:52:56 +02:00
Calle Pettersson b3567c379f Add msi builder (#19)
Add msi builder. Installer is built and uploaded to Github as a release when master is tagged with a version string
2016-09-16 08:36:58 +02:00
Martin Lindhe d8f62e07c2 make enabled collectors configurable (based on code from node_exporter) 2016-09-01 16:04:43 +02:00
Martin Lindhe 2af46d9313 refactor: rename namespace to 'collector' 2016-09-01 14:55:35 +02:00
Calle Pettersson bf8c9228fb IIS: Add new IIS collector 2016-09-01 14:24:58 +02:00
Calle Pettersson 1caa6589a8 Improve metrics from LogicalDisk 2016-08-28 20:20:33 +02:00
Calle Pettersson ee30041e02 Change default port to 9182 2016-08-27 14:49:34 +02:00
Martin Lindhe 79cc2d8fed add perf collector, exposing Win32_PerfRawData_PerfDisk_LogicalDisk 2016-08-26 11:08:12 +02:00
Martin Lindhe dac70ad805 initial commit 2016-08-26 08:59:27 +02:00