Johannes 'fish' Ziemke
2884181cce
Merge pull request #415 from mdlayher/mountstats-nfs-additional
...
Add NFS event metrics to mountstats collector
8 years ago
Johannes 'fish' Ziemke
3b6b5dfb92
Merge pull request #413 from mdlayher/wifi
...
Add initial wifi collector
8 years ago
Matt Layher
e3f99e13b9
Add NFS event metrics to mountstats collector
8 years ago
Matt Layher
efa25665ec
Add initial wifi collector, bump netlink to fix 32-bit builds
8 years ago
Johannes 'fish' Ziemke
8ee7f5bad2
Merge pull request #412 from mdlayher/vendor-wifi
...
Vendor github.com/mdlayher/wifi and dependencies
8 years ago
Matt Layher
82a2b8fc02
Vendor github.com/mdlayher/wifi and dependencies
8 years ago
Johannes 'fish' Ziemke
55170e8feb
Merge pull request #411 from discordianfish/hwmon-move-label-metrics
...
Use filename as label, move 'label' to own metric
8 years ago
Ben Kochie
12f8494a83
Merge pull request #324 from prometheus/superq/edac_mc
...
Add collector for Linux EDAC
8 years ago
Ben Kochie
38a4a36061
Update end-to-end test.
8 years ago
Ben Kochie
b4fa10ca9d
Add collector for Linux EDAC
...
Collect "Error detection and correction" metrics from memory
controllers.
* Supported on Linux only.
* Add basic fixtures.
* Enabled by default.
8 years ago
Johannes 'fish' Ziemke
e9cea11553
Merge pull request #410 from joehandzik/master
...
Add ZFS collector + review feedback from PRs 213 and 369
8 years ago
Johannes 'fish' Ziemke
6aef20f8d8
Use filename as label, move 'label' to own metric
...
This closes #406
8 years ago
Joe Handzik
dd3e1d6283
AUTHORS.md: Update authors from ZFS plugin commit
...
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
8 years ago
Joe Handzik
e7442d6517
end-to-end-test.sh: Add zfs plugin
...
Enables fixture test and updates e2e-output.txt.
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
8 years ago
Corey Stewart
10ba27bf2c
Remove FreeBSD support for zfs plugin.
...
This also involves removing zfs_zpool code for now.
Signed-Off-By: Corey Stewart <stewa169@purdue.edu>
Signed-Off-By: Joe Handzik <joseph.t.handzik@hpe.com>
8 years ago
Corey Stewart
a8c94d48e6
Style changes and cleanup
...
This patch makes stylistic changes to error strings, unexports method names by lower casing them, removes unused dataSetMetric, and adds copyright/licence information.
Signed-Off-By: Corey Stewart <stewa169@purdue.edu>
8 years ago
Christian Schwarz
c95bfa705e
Enable ZFS exporter by default and update README.
8 years ago
Christian Schwarz
f29f3873ea
Add a collector for ZFS, currently focussed on ARC stats.
...
It is tested on FreeBSD 10.2-RELEASE and Linux (ZFS on Linux 0.6.5.4).
On FreeBSD, Solaris, etc. ZFS metrics are exposed through sysctls.
ZFS on Linux exposes the same metrics through procfs `/proc/spl/...`.
In addition to sysctl metrics, 'computed metrics' are exposed by
the collector, which are based on several sysctl values.
There is some conditional logic involved in computing these metrics
which cannot be easily mapped to PromQL.
Not all 92 ARC sysctls are exposed right now but this can be changed
with one additional LOC each.
8 years ago
Johannes 'fish' Ziemke
dde59014b8
Merge pull request #409 from discordianfish/use-promhttp-set-logger
...
Use promhttp and setup logger
8 years ago
Johannes 'fish' Ziemke
2e47fcb8c5
Only store relevant e2e output
...
This makes commits ligher/more readable when updating the output.
8 years ago
Johannes 'fish' Ziemke
17e71b0a16
Update client_golang
8 years ago
Johannes 'fish' Ziemke
ad2eb4a788
Use Gauge for megacli counters
...
Without refactoring this to use const metrics, we need to make this a
gauge to we can keep using Set() which was deprecated for counters.
8 years ago
Johannes 'fish' Ziemke
01a9a37556
Stop using deprecated SetMetricFamilyInjectionHook
8 years ago
Johannes 'fish' Ziemke
3983cd58ff
Use promhttp and setup logger
8 years ago
Johannes 'fish' Ziemke
3e266e28b9
Merge pull request #397 from dominikh/freebsd-cpu
...
Collect CPU temperatures on FreeBSD
8 years ago
Johannes 'fish' Ziemke
fc1113cd11
Merge pull request #396 from dominikh/bsd-memleak
...
Don't leak or race in FreeBSD devstat collector
8 years ago
Dominik Honnef
d827db8e17
Better error handling when collecting CPU temps
...
Log why we couldn't collect the temperature, and set metric to NaN if
the CPU should support temperature collection but had an error.
8 years ago
Johannes 'fish' Ziemke
91f4781234
Merge pull request #311 from kpettijohn/solaris-loadavg
...
Added loadavg collector for Solaris
8 years ago
Dominik Honnef
9847257bc0
Add missing license headers
8 years ago
Dominik Honnef
782eaee100
Collect CPU temperatures on FreeBSD
8 years ago
Dominik Honnef
38c5890428
Reuse devinfo struct
...
The devstat API expects us to reuse one devinfo for many invocations of
devstat_getstats. In particular, it allocates and resizes memory
referenced by devinfo.
8 years ago
Dominik Honnef
ea55d0f5cb
Don't race in FreeBSD devstat collector
...
Querying the number of devices separately from the device list itself is
racy. Devices may be added or removed between the two calls; and removed
devices would lead to a segfault.
8 years ago
Dominik Honnef
5e220c1665
Move cgo portions of FreeBSD devstat collector into own file
...
Embedding 100 lines of code in a comment doesn't make for good reading,
editing or code quality.
8 years ago
Dominik Honnef
20ca0f1376
Eliminate memory leak in FreeBSD devstat collector
...
The memory allocated by calloc was never freed. Since the devinfo struct
never leaves the function, anyway, we might as well just allocate it on
the stack.
8 years ago
Tobias Schmidt
3b469e5547
Merge pull request #405 from dominikh/fix-freebsd-cpu
...
Fix build of cpu_freebsd.go
8 years ago
Dominik Honnef
732dd67729
Fix build of cpu_freebsd.go
...
Corrects an incorrect merge in 8e50b80
8 years ago
Kevin Pettijohn
d2fbeeb3c3
Added loadavg collector for solaris
...
It seems solaris prefers "sys/loadavg.h" over "stdlib.h" when
fetching the load average.
For Illumos based OSes it was required to include "sys/time.h" to
ensure that "hrtime_t" was defined.
https://www.illumos.org/issues/6002
It also required setting the ldflags "-fno-stack-protector -lssp" to
avoid undefined symbols when linking with gcc.
/opt/local/go/pkg/tool/solaris_amd64/link: running gcc failed: exit status 1
Undefined first referenced
symbol in file
__stack_chk_fail /tmp/go-link-138622936/000002.o
__stack_chk_guard /tmp/go-link-138622936/000002.o
8 years ago
Johannes 'fish' Ziemke
f9d3f830cb
Merge pull request #399 from discordianfish/fish-fs-uniq-metric
...
Make sure we only return one metric per mounted fs
8 years ago
Johannes 'fish' Ziemke
4c9131b7d8
Make sure we only return one metric per mounted fs
8 years ago
Johannes 'fish' Ziemke
6dd39b15c2
Do not build meminfo on freebsd
8 years ago
Johannes 'fish' Ziemke
a97ff2bcda
Do not build meminfo on windows
8 years ago
Johannes 'fish' Ziemke
7617e8b4be
Update archs supported by collectors in README
8 years ago
Johannes 'fish' Ziemke
d17b1b44a6
Merge pull request #398 from prometheus/fish-netdev-check-scan-errror
...
Check for errors in netdev scanner
8 years ago
Johannes 'fish' Ziemke
9969f93e7d
Merge pull request #387 from discordianfish/fish-fix-meminfo-darwin
...
Refactor meminfo and add darwin metrics
8 years ago
Johannes 'fish' Ziemke
6576571ac8
Check for errors in netdev scanner
8 years ago
Johannes 'fish' Ziemke
26c6182c84
Move comment and remove superfluous newline
8 years ago
Johannes 'fish' Ziemke
b68a9ec7af
Merge pull request #359 from CloudAndHeat/feature/hwmon_chip_name_metric
...
hwmon: Provide annotation metric to link chip sysfs paths to human-readable chip types
8 years ago
Johannes 'fish' Ziemke
4e696d5d31
Merge pull request #391 from discordianfish/fish-add-cpu-darwin
...
Add cpu collector for darwin
8 years ago
Johannes 'fish' Ziemke
079fd701a0
Merge pull request #389 from prometheus/fish-use-const-metrics
...
Convert remaining collectors to use ConstMetrics
8 years ago
Johannes 'fish' Ziemke
d2ca252457
Merge pull request #393 from discordianfish/fish-add-netdev-darwin
...
Add netdev collector for darwin
8 years ago