Tobias Schmidt
a8fc71334b
Merge pull request #843 from prometheus/grobie/vendor-ttar
...
Update vendored procfs packages and tools
7 years ago
Tobias Schmidt
a5bd651888
Update vendored github.com/prometheus/procfs packages
7 years ago
Tobias Schmidt
7a1a512c8a
Vendor ttar from github.com/ideaship/ttar
7 years ago
Ben Kochie
002c1ca029
Fix release tag build.
7 years ago
Ben Kochie
d6a172bb2a
Add tag filter to build per documentation[0].
...
[0]: https://circleci.com/docs/2.0/workflows/#git-tag-job-execution
7 years ago
Ben Kochie
423a7588c8
Fix tag release filter in circleci.
7 years ago
Ben Kochie
7fc2489a59
Bump the release date for 0.16.0-rc.0
7 years ago
Ben Kochie
16e1bf7993
Update for v0.16.0-rc.0 ( #848 )
...
* Update CHANGELOG.
* Update VERSION.
7 years ago
Ben Kochie
7b720df1c5
Use lowercase cpu label name in interrupts ( #849 )
...
To match other CPU related metric labels, use a lowercase named label.
7 years ago
Johannes 'fish' Ziemke
424ca8e322
Drop exec_ in boot_timestamp_seconds on *bsd ( #839 )
...
This closes #827 .
7 years ago
Ben Kochie
65e485c4e9
Convert circleci config to 2.0. ( #844 )
7 years ago
colmbuckley
098f975b48
Correct the ClocksPerSec scaling factor on Darwin ( #846 )
...
* Update cpu_darwin.go
Change the definition of ClocksPerSec to read from limits.h
* Update cpu_darwin.go
7 years ago
Dan Fredell
84719ef59a
On SunOS/ solaris/ SmartOS the go test flag of -rance isn't supported. ( #762 )
7 years ago
Ben Kochie
483f59d110
Document use of atomic wrapper ( #781 )
...
Document how to use `sponge` to atomic update textfiles.
7 years ago
Julius Volz
864a6ee935
Treat custom textfile metric timestamps as errors ( #769 )
...
This is clearer behavior and users will notice and fix their textfiles faster
than if we just output a warning.
7 years ago
Rene Treffer
c504c7e264
Only report core throttles per core, not per cpu ( #836 )
...
* Only report core throttles per core, not per cpu
* Add topology/core_id to the cpu sysfs fixtures
* Add new cpu fixtures to ttar file
* Merge core_id reading and thermal throttle accounting
* Declare core_id
7 years ago
anarcat
79ae03c4c7
add sample directory size exporter ( #789 )
...
* add sample directory size exporter
This is a possible workaround for the lack of metrics in the new
storage backend, as documented in:
https://github.com/prometheus/prometheus/issues/3684
Partly inspired by this post as well:
https://www.robustperception.io/monitoring-directory-sizes-with-the-textfile-collector/
* properly escape backslashes and double-quotes
7 years ago
Ben Kochie
e0d54a509c
Cleanup NFS metrics ( #834 )
...
* Cleanup NFS metrics
* Update `nfs` metric names to match `nfsd`.
* Remove uneeded `tcp` label from TCP connections metric.
* Remove uneeded `v` on `nfsd` metrics.
* Enable all `nfs` v4 client metrics.
* Remove `nfs` metric name overrides.
* Add ppc64le fixture.
* Fix typo.
7 years ago
Ben Kochie
6fc06e8288
Update Circle CI ( #833 )
...
* Use go 1.10
* Use latest aktau/github-release
7 years ago
Ben Kochie
3f41a2fecb
Update ppc64le fixture ( #832 )
...
Updates fixture for ppc64le arch to latest output.
7 years ago
Ben Kochie
d33a447047
Remove deprecated prometheus.InstrumentHandlerFunc ( #831 )
...
Update Prometheus client golang use to use `promhttp.Handler()` instead
of `prometheus.InstrumentHandlerFunc()`.
7 years ago
Ben Kochie
7928dc93da
Update vendor before 0.16.0 ( #829 )
...
* Update vendor github.com/coreos/go-systemd/dbus@v16
* Update vendor github.com/golang/protobuf/proto@v1.0.0
* Update vendor github.com/prometheus/...
* Update vendor golang.org/x/...
7 years ago
Richard Elling
d7348a5c78
updates for zfsonlinux 0.7.5 ( #779 )
...
* updates for zfsonlinux 0.7.5
* add constants for KSTAT_DATA_* types
* added e2e test for negative values represented by uint64 that can result from ZFS bugs
7 years ago
Ben Kochie
6468e7c80b
Enable NFS client metrics by default. ( #828 )
...
Enable NFS client metrics by default now that it nolonger prints errors
on scrape if there are no metrics to display.
Also fixup the nfsd README to match the nfs entry.
7 years ago
Ralf Horstmann
8d9c7ca659
Use swpginuse instead of swpgonly in meminfo_openbsd ( #813 )
...
All tools in OpenBSD base system use swpginuse instead of swpgonly
for reporting swap usage (snmpd, swapctl, top, vmstat), so let
memory collector use that as well for consistency.
7 years ago
Kasinath Kottukkal
f6965e1812
Add overlay to defIgnoredFSTypes ( #824 )
...
* Add overlay to defIgnoredFSTypes
To avoid statfs() errors if node_exporter is running as non privileged user.
* Updated defIngoredFSTypes values in sorted order
7 years ago
Ben Kochie
822bf91d14
Update README with nfsd collector. ( #826 )
...
Add missing documentation about the `nfsd` collector.
7 years ago
Ben Kochie
01bd99fb1a
Refactor NFS client collector ( #816 )
...
* Update vendor github.com/prometheus/procfs/...
* Refactor NFS collector
Use new procfs library to parse NFS client stats.
* Ignore nfs proc file not existing.
* Refactor with reflection to walk the structs.
7 years ago
Brian Brazil
52c031890e
Add _seconds suffix to node_time. ( #823 )
7 years ago
Ben Kochie
05eabe60fb
Fix error output in nfsd collector. ( #821 )
7 years ago
Matt Layher
dcb31670d6
Makefile: add checkmetrics target, use in CI ( #797 )
7 years ago
Ben Kochie
3de2542d21
Fix NFSd metric type ( #819 )
...
RPC Count should be a counter, not a gauge.
7 years ago
Matt Layher
544488ddd6
Fix remaining metric naming issues ( #799 )
7 years ago
Ben Kochie
6a041692ed
Add NFS Server metrics collector. ( #803 )
...
* Add NFS Server metrics collector.
* Add File Handles metrics.
* Add nfsd IO stats.
* Add metrics for NFSd threads.
* Add metrics for NFSd read ahead cache.
* Add NFSd network traffic counters.
* Add RPC metrics.
* Add V2 requests metrics.
* Add NFSv3 metrics.
* Add NFSv4 metrics.
* Update reply cache comment.
* Update help text.
7 years ago
Tobias Schmidt
9a5bd5f8e4
Merge pull request #815 from prometheus/debug-log
...
Fix log level regression in #533
7 years ago
Brian Brazil
1072f2868d
Fix log level regression in #533
7 years ago
Brian Brazil
7e41a2b279
Ignore /var/lib/docker by default. ( #814 )
...
The node exporter runs unprivileged, so it cannot statfs any filesystems
under this directory causing log spam. In addition there tends to be
high churn in the filesystems here (as it's basically application
monitoring) which can cause high cardinaltiy and in one case caused
Prometheus's index symbol table to get very large.
Accordingly this should be ignored to reduce log spam and avoid
performance issues. The filesystems themselves can in principle be
monitored via container oriented exporters, and the underlying
filesystems will still be monitored.
7 years ago
tobald
2978728b00
Fix apt.sh syntax ( #811 )
...
This patch fixes:
./apt.test: command substitution: line 19: syntax error near unexpected token `|'
./apt.test: command substitution: line 19: ` | /usr/bin/sort | /usr/bin/uniq -c | awk '{ gsub(/\\\\/,
7 years ago
Ralf Horstmann
29ac809e48
Use unified CPU metric description on OpenBSD ( #810 )
7 years ago
Derek Marcotte
fde5d2c6c9
Remove unsafe typecasts from sysctl_bsd getStructTimeval. ( #741 )
...
There is a simpler way.
7 years ago
Ben Kochie
14d60958d6
Unify CPU collector conventions ( #806 )
...
* Unify CPU collector conventions
Add a common CPU metric description.
* All collectors use the same `nodeCpuSecondsDesc`.
* All collectors drop the `cpu` prefix for `cpu` label values.
* Fix subsystem string in cpu_freebsd.
* Fix Linux CPU freq label names.
7 years ago
Ralf Horstmann
e3c76b1f0c
Add OpenBSD CPU collector ( #805 )
7 years ago
Tom Wilkie
05d14ef9ee
Merge pull request #807 from tomwilkie/systemd-timers
...
Export systemd timers last trigger seconds.
7 years ago
Tom Wilkie
6833eec187
Fix tests.
7 years ago
Tom Wilkie
0316bacceb
Only use one dbus connection, required some refactoring.
7 years ago
Tom Wilkie
a7fd6b8743
Export systemd timer last trigger sec.
7 years ago
Ben Kochie
f9e91156d0
Update vendoring ( #801 )
...
* Update vendor github.com/godbus/dbus@v4.1.0
* Update vendor github.com/golang/protobuf/proto
* Update vendor github.com/mdlayher/netlink/...
* Update vendor github.com/prometheus/client_golang/prometheus/...
* Update vendor github.com/prometheus/client_model/go
* Update vendor github.com/prometheus/common/...
* Update vendor github.com/prometheus/procfs/...
* Update vendor github.com/sirupsen/logrus@v1.0.4
* Update vendor golang.org/x/...
* Update vendor gopkg.in/alecthomas/kingpin.v2
* Remove obsolete vendor github.com/mdlayher/netlink/genetlink
7 years ago
Shevchenko Vitaliy
4ed49e73fb
Escape double quotes in device model family ( #772 )
7 years ago
Ben Kochie
111e3af437
Remove obsolete megacli collector. ( #798 )
...
This collector has been replaced by the textfile collector tool
`storcli.py`.
7 years ago
Ben Kochie
1ad5ba4dc7
Fix smartmon.sh bugs ( #792 )
...
* Fix smartmon.sh info label consistency.
* Fix parsing of SMART-ID attributes <= 99.
7 years ago