Piotr
1ef992543f
remove unused function with issues on freeBSD
2025-02-18 11:54:49 +01:00
Sam DeHaan
7423ab01f4
Fix linter, try to fix exporter
2025-02-17 01:31:29 -05:00
Sam DeHaan
c55b81403e
Update prometheus/common
2025-02-13 12:59:48 -05:00
matt durham
e1b5fa2aed
Merge remote-tracking branch 'origin/refactor_collectors' into refactor_collectors
2023-10-05 09:12:10 -04:00
matt durham
fe9ec398f9
Add caching back in.
2023-10-05 09:12:03 -04:00
Marc Tuduri
878243c613
Merge branch 'master' into refactor_collectors
2023-10-05 11:03:28 +02:00
Marc Tuduri
20ed63b2e7
Revert "I have no idea how the code in node_exporter prometheus compiles."
...
This reverts commit a372120527
.
2023-10-05 11:03:09 +02:00
Conall O'Brien
60c86ab218
Fix inconsistent variable name, to address compilation issue ( #2820 )
...
https://github.com/prometheus/node_exporter/issues/2819
Signed-off-by: Conall O'Brien <conall@conall.net>
2023-10-04 21:16:58 +02:00
matt durham
3f53cb406d
Fix cpu freq failure.
2023-10-04 12:14:05 -04:00
matt durham
a372120527
I have no idea how the code in node_exporter prometheus compiles.
2023-10-04 10:17:16 -04:00
matt durham
f491eb14df
Fix changes with node_exporter on bsd.
2023-10-04 10:13:11 -04:00
matt durham
26e058a40f
Fix bug with systemd config not being set.
2023-10-03 15:42:28 -04:00
matt durham
af0fe37ac4
Fix bug with ntp config not being set.
2023-10-03 15:25:22 -04:00
matt durham
69c6eb312f
Remove caching of collectors.
2023-10-03 14:59:48 -04:00
matt durham
d4879a5e87
Rearrange kingpin
2023-10-03 09:53:36 -04:00
matt durham
5bc1573cc4
Allow the passing in of enabled collectors.
2023-10-03 09:30:15 -04:00
matt durham
e78bc3045a
Merge branch 'refactor_collectors' of github.com:grafana/node_exporter into refactor_collectors
2023-10-02 15:51:42 -04:00
matt durham
7bc164fbe7
Fix global ref
2023-10-02 15:51:27 -04:00
matt durham
d9683215e7
Add filtering for available collectors
2023-10-02 15:47:19 -04:00
matt durham
bc2b7b4dc0
fix filesystem on other archs
2023-09-28 09:56:24 -04:00
matt durham
302c8c8176
Fix netdev signature
2023-09-28 09:38:11 -04:00
matt durham
dfd66e0c97
Finish config changes
2023-09-28 09:29:52 -04:00
matt durham
33af25f572
Merge refactor changes merge
2023-09-28 09:27:55 -04:00
matt durham
508bd94ac9
Merge config changes
2023-09-28 09:26:52 -04:00
matt durham
2f4d563976
Merge config changes
2023-09-28 09:26:34 -04:00
Marc Tuduri
399ce78c36
Fix defaults
2023-09-27 18:26:51 +02:00
matt durham
2e027c850e
fix issues
2023-09-27 12:24:00 -04:00
matt durham
e7bf2f8579
update amd openbsd
2023-09-27 12:10:39 -04:00
matt durham
dde374e68a
spceific arch configs
2023-09-27 12:01:37 -04:00
Marc Tuduri
c01a7c2c57
use pointers
2023-09-27 18:00:19 +02:00
Marc Tuduri
d59d6568c6
Rename fields
2023-09-27 17:29:41 +02:00
Marc Tuduri
fbff3bb21a
Remove comment
2023-09-27 15:47:39 +02:00
Marc Tuduri
5b2b1412b7
Fix unneded logger
2023-09-27 15:42:10 +02:00
Marc Tuduri
507871a192
Fix build
2023-09-27 15:22:15 +02:00
Marc Tuduri
58bc86d2a6
Merge branch 'master' into marctc/refactor_kingpin
2023-09-27 15:06:40 +02:00
Marc Tuduri
97ddc9b40b
Fix tests - part 1
2023-09-27 12:37:12 +02:00
Marc Tuduri
26fc637aed
Fix more stuff
2023-09-27 10:55:06 +02:00
Marc Tuduri
96f13a2e27
Refactor collectors - part 3
2023-09-26 16:41:39 +02:00
Marc Tuduri
ed7a10dde2
Refactor collectors - part 2
2023-09-26 15:17:45 +02:00
Marc Tuduri
58a99510d2
Refactor collectors - part 1
2023-09-25 17:41:34 +02:00
dongjiang
e8c5110ada
fix(zfs) zfs arcstats.p
on FreeBSD 14.0+ ( #2754 )
...
* dongjiang, fix zfs arcstats.p
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* dongjiang, fix gofmt -s
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
* change warn log to debug log by code review
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
---------
Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2023-09-20 11:49:56 +02:00
Metbog
e387997e4c
Move RO status before error return
...
Signed-off-by: Metbog <metbog@gmail.com>
2023-09-20 11:26:39 +02:00
Conall O'Brien
f34aaa6109
Add ZFS freebsd per dataset stats ( #2753 )
...
* Rename parsePoolObjsetFile to parseLinuxPoolObjsetFile to better reflect
it's scope
* Create a new parseFreeBSDPoolObjsetStats function, to generate a list
of per pool metrics to be queried via sysctl
---------
Signed-off-by: Conall O'Brien <conall@conall.net>
2023-09-11 06:33:21 +02:00
Daniel Swarbrick
685b98ec7f
Optionally fetch ARP stats via rtnetlink instead of procfs ( #2777 )
...
* Optionally fetch ARP stats via rtnetlink instead of procfs
Implement collection of ARP stats via rtnetlink to work around
shortcomings in the output of /proc/net/arp, which truncates InfiniBand
link-layer addresses.
Fixes : #2776
---------
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2023-09-09 16:41:09 +02:00
Marc Tuduri
fe42dec972
Separate config structs
2023-08-30 12:48:27 +02:00
Daniel Swarbrick
381f32b1c5
btrfs: close btrfs.FS handle after use
...
Despite being quite hard to provoke (< 10% in my testing), the btrfs
collector would occasionally leave stale FDs relating to btrfs
mountpoints, making the filesystems unable to be unmounted.
Fixes : #2772 .
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
2023-08-21 16:00:00 +02:00
Josh Bradley
f2b274350a
fix(qdisc) flag naming corrected for consistency ( #2782 )
...
* fix collector qdisc flag naming for consistency
---------
Signed-off-by: jbradleynh <jbradley@fastly.com>
2023-08-21 07:48:09 +02:00
John Kordich
e120d958f5
Change log message from Warn to Debug
...
Signed-off-by: John Kordich <jkordich@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: John Kordich <jkordich@gmail.com>
2023-08-20 13:38:47 +02:00
John Kordich
933b1c1797
Add new node_cpu_frequency_hertz metric
...
Revert changes to node_cpu_info and add new node_cpu_frequency_hertz
metric for measuring CPU frequency from /proc/cpuinfo
Signed-off-by: John Kordich <jkordich@gmail.com>
2023-08-20 13:38:47 +02:00
John Kordich
e84c278107
Update e2e-output.txt with new expected metric values
...
Changes the e2e-output.txt file to have the expected CPU MHz values
for the node_cpu_info metric.
Signed-off-by: John Kordich <jkordich@gmail.com>
2023-08-20 13:38:47 +02:00