stuart nelson
e942d7e234
Maintain granularity in cpu data
...
Export cpu mode times as original uint64_t data,
and update frequency, and do the conversion to
float64 and subsequent division in go.
8 years ago
Julius Volz
f5a15ee404
Merge pull request #309 from prometheus/superq/mdstat
...
Fix mdadm collector for resync=PENDING.
8 years ago
Ben Kochie
afac1f7433
Update mdstat fixture based on linux source.
...
Update `Contains` matching for `resync=`
8 years ago
stuart nelson
57f88ac4f6
Update comment
8 years ago
stuart nelson
78c84b1a47
Remove old freq finding code
...
This is the code that was lifted from the freebsd
implementation, but was not correct.
8 years ago
stuart nelson
45ac033d9e
Use correct frequency for calculating cpu time
...
The correct frequency is the systimer frequency,
not the stathz.
From one of the DragonFly developers:
The bump upon each statclock is:
((cur_systimer - prev_systimer) * systimer_freq) >> 32
systimer_freq can be extracted from following
sysctl in userspace:
sysctl kern.cputimer.freq
8 years ago
stuart nelson
8cc06aab04
Remove unneeded ncpu variable
8 years ago
stuart nelson
9f7822ccdc
Remember to bzero string
...
Duplication was caused by malloc returning a
region of memory that already had data in it.
8 years ago
stuart nelson
c02dcdeb35
Remove unused comment.
8 years ago
stuart nelson
3e4a154656
Correctly exporting values
...
Moved to exporting via a string, which is then
split and parsed.
The string is sometimes duplicated, however.
8 years ago
Ben Kochie
64b82596ef
Fix mdadm collector for resync=PENDING.
...
Add fix for mdadm devices in state `resync=PENDING`.
* Update test and fixture.
8 years ago
stuart nelson
4b4385bd44
Remove free
...
Don't need it since we aren't malloc'ing
8 years ago
stuart nelson
cc5142a007
Remove some unnecessary includes
8 years ago
stuart nelson
a9d27ea722
Appears to be working? Still need to cleanup after self
8 years ago
stuart nelson
1d75b376ae
checkpoint
8 years ago
stuart nelson
1b7a18c271
Creating slice from C-array
...
Might not be lined up correctly? Weird output data
in the second CPU.
8 years ago
stuart nelson
61f36ac1ab
Activate filesystem collector on DragonFly ( #302 )
8 years ago
stuart nelson
03da1ea516
successfully exporting one of 2 cpus
8 years ago
stuart nelson
cda2f493ee
wip
8 years ago
Steve Durrheimer
3fb4d99051
Merge pull request #301 from prometheus/sdurrheimer-promu-improvements
...
Update promu config file following recent changes + use the golang-bu…
8 years ago
Steve Durrheimer
70eba4b20c
circle: add tag v-prefix
8 years ago
Steve Durrheimer
4fd1b1d571
Update promu config file following recent changes + use the golang-builder base image for tests for CircleCI
8 years ago
Ben Kochie
1549f3087d
Merge pull request #294 from prometheus/sdurrheimer-use-promu-default-go-version
...
Use promu default go version + use 1.6 tag for cicleci tests
8 years ago
Steve Durrheimer
db0042152b
Use promu default go version + use 1.6 tag for cicleci tests
8 years ago
Takuya Nakaike
0f2a87ab22
add s390x support
8 years ago
Julius Volz
4932fcaa2e
Merge pull request #286 from carlpett/systemd-collector-filtering
...
Add ignored-units flag for systemd collector
8 years ago
Calle Pettersson
e890743f79
Add white/blacklisting of units for systemd collector
8 years ago
Julius Volz
428746c48e
Merge pull request #285 from prometheus/meminfo-bsd-constmetrics
...
Convert BSD meminfo collector to use ConstMetrics
8 years ago
Julius Volz
f0796683fe
Convert BSD meminfo collector to use ConstMetrics
...
This suffers from the same concurrency bug as the netstat one:
https://github.com/prometheus/node_exporter/issues/280
8 years ago
Julius Volz
c0b46391e2
Merge pull request #283 from prometheus/meminfo-constmetrics
...
Convert meminfo collector to use ConstMetrics
8 years ago
Brian Brazil
25289c5024
Merge pull request #284 from prometheus/sockstat-constmetrics
...
Convert sockstat collector to use ConstMetrics
8 years ago
Julius Volz
cef3d98256
Convert sockstat collector to use ConstMetrics
...
This suffers from the same concurrency bug as the netstat one:
https://github.com/prometheus/node_exporter/issues/280
8 years ago
Brian Brazil
1001548e43
Merge pull request #282 from prometheus/filefd-constmetrics
...
Convert filefd collector to use ConstMetrics
8 years ago
Julius Volz
eac396c637
Convert meminfo collector to use ConstMetrics
...
This suffers from the same concurrency bug as the netstat one:
https://github.com/prometheus/node_exporter/issues/280
8 years ago
Julius Volz
f91bca427b
Convert filefd collector to use ConstMetrics
...
This suffers from the same concurrency bug as the netstat one:
https://github.com/prometheus/node_exporter/issues/280
8 years ago
Julius Volz
9128952454
Fix end-to-end tests after netstat conversion
8 years ago
Julius Volz
55761fc788
Merge pull request #281 from prometheus/netstat-const-metrics
...
Convert netstat collector to use ConstMetrics
8 years ago
Julius Volz
8c5c880705
Convert netstat collector to use ConstMetrics
...
Fixes https://github.com/prometheus/node_exporter/issues/280
8 years ago
Julius Volz
b55019f10b
Merge pull request #275 from thomasf/mdstat-tabs
...
Fix mdstat tabs parsing
8 years ago
Thomas Frössman
32e3445d72
Fix mdstat tabs parsing
8 years ago
Björn Rabenstein
d48453a61a
Merge pull request #268 from h3po/patch-1
...
Ignore partitions on NVME devices by default
8 years ago
Daniel
c3eba340e3
Update e2e-output.txt
8 years ago
Daniel
87b3df90e6
Update diskstats
8 years ago
Daniel
a7a8d088da
Ignore partitions on NVME devices by default
...
The convention of the linux driver is nvme($device)n($namespace)p($partition). On *bsd it seems to be different, using "ns" instead of "n" as the namespace separator.
8 years ago
Brian Brazil
f660b32f08
Merge pull request #267 from mgit-at/sockstat-rhe4
...
sockstat: add support for RHE4
8 years ago
Johannes 'fish' Ziemke
3f19ee6f02
Merge pull request #266 from prometheus/fish/darwin-enable-meminfo
...
Use meminfo_freebsd on darwin as well
9 years ago
Johannes 'fish' Ziemke
7e5aaa9e33
Use meminfo_freebsd on darwin as well
9 years ago
Johannes 'fish' Ziemke
6350ef6d17
Merge pull request #265 from prometheus/fish/darwin-filesystem-stats
...
Enable *bsd collector on darwin
9 years ago
Johannes 'fish' Ziemke
4b04d04558
Enable *bsd collector on darwin
9 years ago
Michael Gebetsroither
4b820427dd
sockstat: add support for RHE4
9 years ago