Julien Pivotto
2262b88fac
Update web config file flag to match upstream
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-24 00:23:38 +01:00
Calle Pettersson
eaa003f5af
Add gokit adapter to make https toolkit work
...
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2021-01-30 11:53:51 +01:00
Calle Pettersson
c5a545540d
Take over prometheus/common/log into local log package
...
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2021-01-30 11:53:51 +01:00
Ben Kochie
cdc81b03d5
Add HTTPS configuration
...
Add the exporter-toolkit https package to allow configuring TLS and
auth.
Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2021-01-30 11:53:51 +01:00
Ben Reedy
6e0ac6a1fc
Update prometheus client library to v1.8.0
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-30 09:26:34 +10:00
Calle Pettersson
cdbb27d0b4
Fix collector flags not being registered
...
Signed-off-by: Calle Pettersson <carlpett@users.noreply.github.com>
2020-11-07 17:13:00 +10:00
Ben Reedy
f616589c5f
Fix exporter failing to start without config flag
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-03 19:46:05 +10:00
Ben Reedy
96aa2cf095
Add initial support for YAML configuration files
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-02 08:40:59 +10:00
Ben Reedy
6231eb43e8
Use kingpin application for flags
...
Will be required to pass application object to config file functions.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-11-02 08:40:59 +10:00
Björn Fischer
e97a04ed65
Add URL filter for collectors
...
Signed-off-by: Björn Fischer <bfischer@inovex.de>
2020-10-26 14:10:53 +01:00
Rasmus Hansen
f1384759cb
Add endpoint for getting the version of the binary ( #555 )
...
* Add endpoint for getting the version of the binary
Fixes #553
Signed-off-by: Zlepper <hansen13579@gmail.com>
2020-06-23 12:48:19 +02:00
Calle Pettersson
c1a137f7a8
Rename misc variables wmi->windows
2020-05-24 20:54:35 +02:00
Calle Pettersson
eaa23705d0
Change metric namespace from wmi to windows
2020-05-24 20:54:35 +02:00
Calle Pettersson
6f90d83b83
Update module name
2020-05-24 20:54:35 +02:00
Calle Pettersson
1d7747b4d1
Merge pull request #473 from martinlindhe/remove-redirect
...
BREAKING: Remove redirect from unknown paths to /metrics
2020-03-28 13:35:46 +01:00
Calle Pettersson
df954ddf9d
Remove redirect from unknown paths to /metrics
2020-03-02 22:46:50 +01:00
Calle Pettersson
34996b206a
Add option to limit concurrent requests
2020-03-02 22:43:29 +01:00
Calle Pettersson
21a02c4fbe
Only query the perflib objects we need
2020-02-29 10:40:53 +01:00
Calle Pettersson
0d4f747f8f
Switch to go modules
2019-12-28 16:28:10 +01:00
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