Jan-Otto Kröpke
b7798918f4
Remove deprecated flags
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-11-15 19:16:56 +01:00
Jan-Otto Kröpke
1836cd1ad0
Merge pull request #1335 from mattdurham/nil_string_check
2023-11-15 16:38:17 +01:00
Jan-Otto Kröpke
84eadf5085
Merge pull request #1336 from kang-makes/fix/dont-abort-user-is-nil
2023-11-14 20:32:05 +01:00
Juan Manuel Perez
ffd59537e8
do not abort if we do not know which user is running the process
...
Signed-off-by: Juan Manuel Perez <jperezflorez@newrelic.com>
2023-11-14 17:15:51 +01:00
matt durham
e3a7fab98a
Check for nil strings and include wrappers around each.
...
Signed-off-by: matt durham <mattdurham@ppog.org>
2023-11-14 10:43:14 -05:00
Jan-Otto Kröpke
5bb7e6086f
Merge pull request #1333 from breed808/maintainer
2023-11-14 10:58:04 +01:00
Ben Reedy
91c07686bd
Merge pull request #1332 from prometheus-community/dependabot/go_modules/github.com/stretchr/testify-1.8.4
...
chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4
2023-11-14 18:44:42 +10:00
Ben Reedy
a8a28053ba
feat: Add jkroepke to maintainers
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2023-11-14 18:42:29 +10:00
dependabot[bot]
9f982575ac
chore(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.2 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 11:46:49 +00:00
Ben Reedy
7ea04d25c6
Merge pull request #1326 from jkroepke/dockerfile
...
Add cross OS Dockerfile
2023-11-13 14:01:48 +10:00
Ben Reedy
430fdb0aef
Merge pull request #1324 from jkroepke/remove-globals
...
Refactor collectors
2023-11-13 14:00:54 +10:00
Jan-Otto Kröpke
78f5fb295c
Update dhcp.go
...
Re-add DHCP perflib dependency
Fixes https://github.com/prometheus-community/windows_exporter/issues/1259
Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
2023-11-12 21:34:38 +01:00
Jan-Otto Kröpke
6824d3f799
bump go mod
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-11-12 14:05:26 +01:00
Jan-Otto Kröpke
552e9d8cd2
add collector.NewWithConfig
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-11-12 13:52:46 +01:00
Jan-Otto Kröpke
0711268d3c
Refactor collectors
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-11-12 13:51:59 +01:00
Jan-Otto Kröpke
7331dc2394
Add cross OS Dockerfile
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-11-12 12:57:56 +01:00
Ben Reedy
569f5450cd
Merge pull request #1317 from DiniFarb/os_rev_num
...
feat(#1300 ): add revision to windows_os_info
2023-11-12 14:45:51 +10:00
Dinifarb
a08474b4f9
feat( #1300 ): add revision to windows_os_info
...
Signed-off-by: Dinifarb <andreas.vogt89@bluewin.ch>
2023-11-11 07:11:13 +01:00
Ben Reedy
d3c54d4a01
Merge pull request #1328 from prometheus-community/dependabot/go_modules/golang.org/x/sys-0.14.0
...
chore(deps): bump golang.org/x/sys from 0.12.0 to 0.14.0
2023-11-11 13:34:02 +10:00
Ben Reedy
e041eec500
Merge pull request #1311 from prometheus-community/dependabot/go_modules/github.com/prometheus/common-0.45.0
...
chore(deps): bump github.com/prometheus/common from 0.44.0 to 0.45.0
2023-11-11 13:33:34 +10:00
Ben Reedy
b64e00e778
Merge pull request #1327 from prometheus-community/dependabot/go_modules/github.com/Microsoft/hcsshim-0.11.4
...
chore(deps): bump github.com/Microsoft/hcsshim from 0.11.1 to 0.11.4
2023-11-11 13:23:45 +10:00
dependabot[bot]
3859a3eeb4
chore(deps): bump github.com/Microsoft/hcsshim from 0.11.1 to 0.11.4
...
Bumps [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim ) from 0.11.1 to 0.11.4.
- [Release notes](https://github.com/Microsoft/hcsshim/releases )
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.11.1...v0.11.4 )
---
updated-dependencies:
- dependency-name: github.com/Microsoft/hcsshim
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 02:33:01 +00:00
Ben Reedy
f0d5026d7d
Merge pull request #1316 from prometheus-community/dependabot/go_modules/google.golang.org/grpc-1.56.3
...
chore(deps): bump google.golang.org/grpc from 1.56.2 to 1.56.3
2023-11-11 12:23:20 +10:00
dependabot[bot]
b0d55b1d5f
chore(deps): bump google.golang.org/grpc from 1.56.2 to 1.56.3
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.56.2 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.2...v1.56.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 02:17:12 +00:00
dependabot[bot]
fa4bf71578
chore(deps): bump golang.org/x/sys from 0.12.0 to 0.14.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.12.0 to 0.14.0.
- [Commits](https://github.com/golang/sys/compare/v0.12.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 02:16:53 +00:00
dependabot[bot]
3187cbcc64
chore(deps): bump github.com/prometheus/common from 0.44.0 to 0.45.0
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.44.0 to 0.45.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.44.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 02:16:53 +00:00
Ben Reedy
29521701bb
Merge pull request #1307 from prometheus-community/dependabot/go_modules/golang.org/x/net-0.17.0
...
chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0
2023-11-11 12:15:56 +10:00
dependabot[bot]
1365aec747
chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 02:09:16 +00:00
Ben Reedy
5c38ce78b2
Merge pull request #1304 from prometheus-community/dependabot/go_modules/github.com/prometheus/client_model-0.5.0
...
chore(deps): bump github.com/prometheus/client_model from 0.4.1-0.20230718164431-9a2bf3000d16 to 0.5.0
2023-11-11 12:07:29 +10:00
dependabot[bot]
f316d27324
chore(deps): bump github.com/prometheus/client_model
...
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model ) from 0.4.1-0.20230718164431-9a2bf3000d16 to 0.5.0.
- [Release notes](https://github.com/prometheus/client_model/releases )
- [Commits](https://github.com/prometheus/client_model/commits/v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_model
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 12:02:28 +10:00
Ben Reedy
e9fdfdc1eb
Merge pull request #1331 from breed808/service_spelling
...
fix: Fix spelling error in service collector
2023-11-11 11:51:03 +10:00
Ben Reedy
8de5ef0353
fix: Fix spelling error in service collector
...
Error was failing CI checks.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2023-11-11 11:46:37 +10:00
Ben Reedy
9c0be5fd48
Merge pull request #1302 from prometheus-community/dependabot/go_modules/github.com/prometheus/client_golang-1.17.0
...
chore(deps): bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0
2023-10-04 16:14:35 +10:00
dependabot[bot]
d3254118de
chore(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 11:39:40 +00:00
Ben Reedy
a41abdf22d
Merge pull request #1062 from breed808/process_wmi
...
feat!: Disable IIS queries in `process` collector
2023-09-30 05:59:58 +10:00
Ben Reedy
6832fd7fd7
feat!: Disable IIS queries in process
collector
...
IIS queries are disabled by default, and can be enabled with the
`--collector.process.iis=true` flag.
These WMI queries are suspected to be one source of virtual memory leaks
in the exporter.
These WMI queries are also responsible for timeouts on some hosts.
Signed-off-by: Ben Reedy <breed808@breed808.com>
2023-09-30 05:52:06 +10:00
Ben Reedy
5e7462a70e
Merge pull request #1292 from prometheus-community/dependabot/go_modules/github.com/Microsoft/hcsshim-0.11.1
...
chore(deps): bump github.com/Microsoft/hcsshim from 0.10.0 to 0.11.1
2023-09-26 18:47:33 +10:00
dependabot[bot]
e8864c766e
chore(deps): bump github.com/Microsoft/hcsshim from 0.10.0 to 0.11.1
...
Bumps [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim ) from 0.10.0 to 0.11.1.
- [Release notes](https://github.com/Microsoft/hcsshim/releases )
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.10.0...v0.11.1 )
---
updated-dependencies:
- dependency-name: github.com/Microsoft/hcsshim
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 12:00:50 +00:00
rob-scheepens
07fff6afc2
First implementation of physical_disk collector ( #803 )
...
* Added physical_disk collector.
Signed-off-by: Rob Scheepens <rob.scheepens@nutanix.com>
Signed-off-by: Brantley West <brantley@nutanix.com>
* exporter.go: Added physical_disk to defaultCollectors
Signed-off-by: Rob Scheepens <rob.scheepens@nutanix.com>
Signed-off-by: Brantley West <brantley@nutanix.com>
* Fix test cases for physicaldisk metrics
Signed-off-by: Rob Scheepens <rob.scheepens@nutanix.com>
Signed-off-by: Brantley West <brantley@nutanix.com>
* physical_disk.go: cleanup gofmt error
Signed-off-by: Brantley West <brantley@nutanix.com>
* physical_disk.go: populate physical disk 'number' label
Signed-off-by: Brantley West <brantley@nutanix.com>
* Added docs/collector.physical_disk.md.
Signed-off-by: Rob Scheepens <rob.scheepens@nutanix.com>
* physical_disk.go: change 'number' label to 'disk' to match node_exporter label
Signed-off-by: Brantley West <brantley@nutanix.com>
* physical_disk.go: adopt github.com/go-kit/log
Signed-off-by: Brantley West <brantley@nutanix.com>
* physical_disk.go: adopt include/exclude disk list
Signed-off-by: Brantley West <brantley@nutanix.com>
* fix: Add init config for physical_disk collector
Signed-off-by: Ben Reedy <breed808@breed808.com>
* chore: gofmt physical_disk collector
Signed-off-by: Ben Reedy <breed808@breed808.com>
---------
Signed-off-by: Rob Scheepens <rob.scheepens@nutanix.com>
Signed-off-by: Brantley West <brantley@nutanix.com>
Signed-off-by: Ben Reedy <breed808@breed808.com>
Co-authored-by: Brantley West <brantley@nutanix.com>
Co-authored-by: Ben Reedy <breed808@breed808.com>
2023-09-22 16:45:22 +10:00
Ben Reedy
083537a96a
Merge pull request #1262 from DiniFarb/textfile_collector
...
Textfile collector: collect files from multiple paths
2023-09-22 06:36:23 +10:00
Ben Reedy
6aa0ac5706
Merge pull request #1283 from breed808/go_version_bump
...
chore(deps): Bump Go version to v1.21.1
2023-09-11 20:31:10 +10:00
Ben Reedy
7d2d7f3d1c
chore(deps): Bump Go version to v1.21.1
...
Signed-off-by: Ben Reedy <breed808@breed808.com>
2023-09-11 20:25:58 +10:00
Ben Reedy
f8c298e038
Merge pull request #1279 from prometheus-community/dependabot/go_modules/golang.org/x/sys-0.12.0
...
chore(deps): bump golang.org/x/sys from 0.11.0 to 0.12.0
2023-09-05 06:14:28 +10:00
Ben Reedy
4e9fa4fd8e
Merge pull request #1278 from MarkDordoy/md/add-new-counter
...
Add new counter LDAP Client Sessions
2023-09-05 06:13:58 +10:00
dependabot[bot]
d8524c505b
chore(deps): bump golang.org/x/sys from 0.11.0 to 0.12.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/sys/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 11:09:55 +00:00
Mark Dordoy
ca6eb75685
add recommendation to prefix with ldap
...
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
2023-09-04 09:49:52 +01:00
Mark Dordoy
5631166075
Add description in docs
...
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
2023-09-04 09:49:52 +01:00
Mark Dordoy
1d027579d2
Add description, fix typo on type
...
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
2023-09-04 09:49:52 +01:00
Mark Dordoy
23e1a86aa7
Fix docs
...
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
2023-09-04 09:49:51 +01:00
Mark Dordoy
f8b8b2c546
Added docs, updated to gague. Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
...
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
2023-09-04 09:49:51 +01:00