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
Johannes 'fish' Ziemke
8e50b80d12
Convert remaining collectors to use ConstMetrics
8 years ago
Johannes 'fish' Ziemke
c53bc168fe
Merge pull request #321 from discordianfish/fish/scope-clarify-deprecate
...
RFC: Limit node-exporter scope, mark collectors deprecated that don't fit
8 years ago
Johannes 'fish' Ziemke
3db2f442ae
Limit node-exporter scope, deprecated collectors
8 years ago
Julius Volz
269ee7a7b4
Merge pull request #385 from dominikh/freebsd-no-c
...
Replace some FreeBSD collectors with pure Go versions
8 years ago
Johannes 'fish' Ziemke
3c47ef8e60
Add netdev collector for darwin
...
Same as for openbsd, this is just slightly adjusted from freebsd
variant.
8 years ago
Johannes 'fish' Ziemke
a0b6f55aa9
Merge pull request #394 from discordianfish/fish-fix-makefile
...
Fix Makefile by using first element of GOPATH
8 years ago
Johannes 'fish' Ziemke
2c5f17d4e7
Fix Makefile by using first element of GOPATH
...
If GOPATH includes multiple paths, running `make promu` would fail.
This fixes it by always using the first path.
8 years ago
Dominik Honnef
f0adcd163d
Implement CPU collector on FreeBSD without cgo
8 years ago
Dominik Honnef
d2a43f7d05
Implement meminfo on BSD without cgo
...
This removes some error handling, which should be fine. If the calls
fail, we will get the zeroes, which is a safe enough fallback.
Additionally, if the first sysctl (page_size) succeeded it is unlikely
that other ones will fail.
8 years ago
Johannes 'fish' Ziemke
050d6f7f13
Add cpu collector for darwin
8 years ago
Johannes 'fish' Ziemke
41271cd99c
Merge pull request #272 from bluecmd/patch-2
...
Allow overrides for GO and PROMU
8 years ago
Dominik Honnef
0f6191987e
Implement file systems on FreeBSD without cgo
...
The code may also work for other BSDs, but I don't have access to those
for testing.
8 years ago
Dominik Honnef
54c74923ee
Implement loadavg on FreeBSD without cgo
...
The code may also work for other BSDs, but I don't have access to those
for testing.
8 years ago
Ben Kochie
10e525ff02
Merge pull request #375 from prometheus/fish-add-runit-servicedir-flag
...
Add runit service dir flag
8 years ago
Johannes 'fish' Ziemke
d506b2266c
Merge pull request #374 from prometheus/fish-add-filesystem-errors
...
Add node_filesystem_device_errors_total metric
8 years ago
Johannes 'fish' Ziemke
88f8dba35e
Merge pull request #384 from bjornfor/filesystem-ignore-autofs
...
Ignore autofs filesystems on linux
8 years ago
Johannes 'fish' Ziemke
ad1befe6d6
Merge pull request #320 from mattbostock/add_storcli
...
Add StorCli text collector example script
8 years ago
Bjørn Forsman
64e637cbcc
Ignore autofs filesystems on linux
...
node_exporter currently triggers autofs to mount the underlying
filesystem on every scrape. This is undesirable. Better ignore autofs.
The underlying filesystem that autofs mounts will be monitored though,
when the (real) filesystem is mounted.
8 years ago
Johannes 'fish' Ziemke
71ea37987f
Merge pull request #365 from EdSchouten/drbd
...
A collector for DRBD
8 years ago
Ed Schouten
b0d15eaac6
Reduce the severity of these messages.
...
They get printed all the time, as there are some tokens in the /proc
file that we simply don't support. It's better to keep these as
debugging messages, which may come in useful if new tags start to
appear.
8 years ago
Ed Schouten
4adf7fa96c
Improve the help strings, as proposed in the code review.
8 years ago
Matt Bostock
004bdca8e5
Add text_collector_examples README
8 years ago
Matt Bostock
2c02571040
Add StorCli text collector example script
...
Collect metrics from the StorCLI utility on the health of MegaRAID
hardware RAID controllers and write them to stdout so that they can be
used by the textfile collector.
We parse the JSON output that StorCLI provides.
Script must be run as root or with appropriate capabilities for storcli
to access the RAID card.
Designed to run under Python 2.7, using the system Python provided with
many Linux distributions.
The metrics look like this:
mbostock@host:~$ sudo ./storcli.py
megaraid_status_code 0
megaraid_controllers_count 1
megaraid_emergency_hot_spare{controller="0"} 1
megaraid_scheduled_patrol_read{controller="0"} 1
megaraid_virtual_drives{controller="0"} 1
megaraid_drive_groups{controller="0"} 1
megaraid_virtual_drives_optimal{controller="0"} 1
megaraid_degraded{controller="0"} 0
megaraid_battery_backup_healthy{controller="0"} 1
megaraid_ports{controller="0"} 8
megaraid_failed{controller="0"} 0
megaraid_drive_groups_optimal{controller="0"} 1
megaraid_healthy{controller="0"} 1
megaraid_physical_drives{controller="0"} 24
megaraid_controller_info{controller="0", model="AVAGOMegaRAIDSASPCIExpressROMB"} 1
mbostock@host:~$
8 years ago
Ed Schouten
b7daf27678
Process feedback from the code review.
...
- Use the right number of printf() arguments. Use %q where it makes sense.
- Use "DRBD" instead of "Drbd", per Go's style guide.
- Add _total suffixes to counter metrics.
- Mention the unit (bytes) in documentation strings once more.
8 years ago
Christian Svensson
ee1a0cc3cc
Allow overrides for GO and PROMU
...
This allows the user to override how/where promu and/or go is invoked.
8 years ago
Julius Volz
296d7fdd2e
Merge pull request #379 from juergenhoetzel/dont-use-non-posix-which
...
Use POSIX "command" instead of non-standard "which"
8 years ago
Juergen Hoetzel
92ea3e1599
Use POSIX "command" instead of non-standard "which"
8 years ago
Johannes 'fish' Ziemke
e681dcc296
Merge pull request #378 from prometheus/add-e2e-tests-makefile
...
Add e2e tests makefile
8 years ago
Johannes 'fish' Ziemke
445f9c1e45
Merge pull request #354 from prometheus/superq/smart_metrics
...
Add text file utility for SMART metrics
8 years ago
Johannes 'fish' Ziemke
3b1ef14e7b
Add end-to-end tests as default Makefile target
8 years ago
Johannes 'fish' Ziemke
ac406e652e
Print log if error occurs
8 years ago
Ben Kochie
481392d75c
Merge pull request #376 from prometheus/fish-update-docker-readme
...
Improve Docker documentation
8 years ago
Björn Rabenstein
08c9347e88
Merge pull request #367 from mdlayher/mountstats
...
Add mountstats collector for detailed NFS statistics
8 years ago
Matt Layher
25a93e38e7
Add mountstats collector for detailed NFS statistics
8 years ago
Johannes 'fish' Ziemke
21173e21f0
Improve Docker documentation
...
This adds bind-mounts and ignore flags to Docker example and explains
why it's best run uncontainerized.
8 years ago
Ben Kochie
af4c98618f
Merge pull request #372 from prometheus/superq/vendoring
...
Update vendoring
8 years ago
Johannes 'fish' Ziemke
9039a425d0
Add runit service dir flag
8 years ago
Johannes 'fish' Ziemke
deebf0aa49
Add node_filesystem_device_errors_total metric
...
This metric is the total number of errors occurred when getting stats
for the given device.
8 years ago
Ben Kochie
b8d951c0a3
Update vendoring entries
...
Fix missing checksums.
* `github.com/kolo/xmlrpc`
* `github.com/prometheus/client_model/go`
* `github.com/soundcloud/go-runit/runit`
8 years ago
Ben Kochie
90bb7678d4
Add vendoring of golang.org/x/sys/windows
8 years ago
Ben Kochie
6bbd2847e9
Update vendoring for golang.org/x/sys/unix
8 years ago
Ben Kochie
69ef3b6209
Update vendoring for github.com/prometheus/common/*
8 years ago
Ben Kochie
ec6385a095
Update vendoring for github.com/prometheus/client_golang/prometheus
...
Pin to 0.8.0 (c5b7fccd204277076155f10851dad72b76a49317)
8 years ago
Ben Kochie
f190b8f5a4
Update vendoring for github.com/matttproud/golang_protobuf_extensions/pbutil
8 years ago
Ben Kochie
3939e9d0b1
Update vendoring for github.com/golang/protobuf/proto
8 years ago