Ben Kochie
f32ec245a3
Merge pull request #887 from prometheus/fish-push-image-tags
...
Push docker images tagged with git tag
2018-04-09 16:41:02 +02:00
Johannes 'fish' Ziemke
3c4a4aec64
Push docker images tagged with git tag
...
Signed-off-by: Johannes 'fish' Ziemke <github@freigeist.org>
2018-04-09 16:29:20 +02:00
Zach Leslie
6b1301fb24
Remove -race test flag to build on OpenBSD ( #883 )
...
Without this change, running 'gmake' as the documentation does not finish the
build process to produce the binary.
Signed-off-by: Zach Leslie <xaque208@gmail.com>
2018-04-06 18:50:26 +02:00
Ben Kochie
f3ff44fcca
Merge pull request #882 from prometheus/superq/0.16.0-rc.1
...
Update for 0.16.0-rc.1
2018-04-04 19:43:27 +02:00
Ben Kochie
b8f25c87f1
Update for 0.16.0-rc.1
...
* Update VERSION.
* Update CHANGELOG.
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-04-04 18:40:46 +02:00
Ben Kochie
eef9ffbdad
Merge pull request #878 from prometheus/grobie/update-common
...
Update github.com/prometheus/common dependencies
2018-03-31 23:53:19 +02:00
Tobias Schmidt
04d663029d
Update github.com/prometheus/common dependencies
...
Signed-off-by: Tobias Schmidt <tobidt@gmail.com>
2018-03-31 22:20:45 +02:00
Brian Brazil
31ce32f1fe
Greatly trim what netstat collector exposes by default ( #876 )
...
Netstat is 40% of the metrics on my laptop, many of which
are highly detailed information about IP internals in the kernel.
~300 such metrics on every machine in your fleet is excessive,
so focus on key metrics by default, overridable by the user.
Fixes #515
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2018-03-30 19:28:08 +01:00
Ben Kochie
cf3edadcbb
Update fixtures
...
* Add oom_kill to fixture.
* Update e2e outputs.
* Put regexp in order.
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-03-29 22:00:02 +01:00
Brian Brazil
499c342fed
Greatly reduce the metrics vmstat returns by default.
...
Vmstat has over 100 fields, most of which are highly
detailed debug information. Trim this down to only
essential fields by default, configurable by flag.
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2018-03-29 22:00:02 +01:00
Brian Brazil
c8c144587e
Enable bonding collector by default. ( #872 )
...
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2018-03-29 15:18:12 +01:00
Brian Brazil
be9d82b66e
Sort collector names in startup logs ( #857 )
...
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2018-03-29 13:42:44 +01:00
Ben Kochie
779090db7e
Update ppc64le fixture ( #867 )
...
Update to match standard e2e output.
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-03-27 17:05:20 +02:00
Mario Trangoni
1f11a86d59
Fix nfs golint issues ( #863 )
...
* procfs: update vendoring
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
* procfs: fix e2e tests after nfs changes
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2018-03-22 22:25:37 +01:00
Morten Siebuhr
a310029890
Add example launchctl-file for MacOS ( #856 )
...
* Add example LaunchCtl-file for MacOS
Signed-off-by: Morten Siebuhr <sbhr@sbhr.dk>
* Rewrite program location in launctctl file
This seem to be the way most plist files does it.
Signed-off-by: Morten Siebuhr <sbhr@sbhr.dk>
* Make launct-agent run as nobody/nobody
Signed-off-by: Morten Siebuhr <sbhr@sbhr.dk>
* Rename plist per general naming scheme
Signed-off-by: Morten Siebuhr <sbhr@sbhr.dk>
* Pass arguments-file when launched through launchctl
Signed-off-by: Morten Siebuhr <sbhr@sbhr.dk>
2018-03-22 15:31:53 +01:00
Tobias Schmidt
a8fc71334b
Merge pull request #843 from prometheus/grobie/vendor-ttar
...
Update vendored procfs packages and tools
2018-03-10 15:29:55 +01:00
Tobias Schmidt
a5bd651888
Update vendored github.com/prometheus/procfs packages
2018-03-10 15:20:20 +01:00
Tobias Schmidt
7a1a512c8a
Vendor ttar from github.com/ideaship/ttar
2018-03-10 15:19:44 +01:00
Ben Kochie
002c1ca029
Fix release tag build.
2018-03-09 16:05:49 +01:00
Ben Kochie
d6a172bb2a
Add tag filter to build per documentation[0].
...
[0]: https://circleci.com/docs/2.0/workflows/#git-tag-job-execution
2018-03-09 14:34:24 +01:00
Ben Kochie
423a7588c8
Fix tag release filter in circleci.
2018-03-09 14:18:13 +01:00
Ben Kochie
7fc2489a59
Bump the release date for 0.16.0-rc.0
2018-03-09 14:04:33 +01:00
Ben Kochie
16e1bf7993
Update for v0.16.0-rc.0 ( #848 )
...
* Update CHANGELOG.
* Update VERSION.
2018-03-09 14:03:07 +01:00
Ben Kochie
7b720df1c5
Use lowercase cpu label name in interrupts ( #849 )
...
To match other CPU related metric labels, use a lowercase named label.
2018-03-08 15:04:49 +01:00
Johannes 'fish' Ziemke
424ca8e322
Drop exec_ in boot_timestamp_seconds on *bsd ( #839 )
...
This closes #827 .
2018-03-08 12:59:48 +01:00
Ben Kochie
65e485c4e9
Convert circleci config to 2.0. ( #844 )
2018-03-08 12:43:49 +01:00
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
2018-03-07 11:56:57 +01:00
Dan Fredell
84719ef59a
On SunOS/ solaris/ SmartOS the go test flag of -rance isn't supported. ( #762 )
2018-02-28 18:05:35 +01:00
Ben Kochie
483f59d110
Document use of atomic wrapper ( #781 )
...
Document how to use `sponge` to atomic update textfiles.
2018-02-27 19:46:01 +01:00
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.
2018-02-27 19:43:38 +01:00
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
2018-02-27 19:43:15 +01:00
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
2018-02-21 16:24:48 +01:00
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.
2018-02-21 07:25:41 +01:00
Ben Kochie
6fc06e8288
Update Circle CI ( #833 )
...
* Use go 1.10
* Use latest aktau/github-release
2018-02-20 09:48:28 +01:00
Ben Kochie
3f41a2fecb
Update ppc64le fixture ( #832 )
...
Updates fixture for ppc64le arch to latest output.
2018-02-19 20:43:33 +01:00
Ben Kochie
d33a447047
Remove deprecated prometheus.InstrumentHandlerFunc ( #831 )
...
Update Prometheus client golang use to use `promhttp.Handler()` instead
of `prometheus.InstrumentHandlerFunc()`.
2018-02-19 15:44:59 +01:00
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/...
2018-02-17 13:38:38 +01:00
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
2018-02-16 15:46:31 +01:00
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.
2018-02-16 15:42:47 +01:00
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.
2018-02-16 11:34:41 +01:00
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
2018-02-16 09:47:50 +01:00
Ben Kochie
822bf91d14
Update README with nfsd collector. ( #826 )
...
Add missing documentation about the `nfsd` collector.
2018-02-16 09:46:41 +01:00
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.
2018-02-15 13:40:38 +01:00
Brian Brazil
52c031890e
Add _seconds suffix to node_time. ( #823 )
2018-02-14 16:59:08 +00:00
Ben Kochie
05eabe60fb
Fix error output in nfsd collector. ( #821 )
2018-02-14 13:57:35 +01:00
Matt Layher
dcb31670d6
Makefile: add checkmetrics target, use in CI ( #797 )
2018-02-13 18:04:03 +01:00
Ben Kochie
3de2542d21
Fix NFSd metric type ( #819 )
...
RPC Count should be a counter, not a gauge.
2018-02-13 17:03:22 +01:00
Matt Layher
544488ddd6
Fix remaining metric naming issues ( #799 )
2018-02-12 18:53:31 +01:00
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.
2018-02-12 17:56:05 +01:00
Tobias Schmidt
9a5bd5f8e4
Merge pull request #815 from prometheus/debug-log
...
Fix log level regression in #533
2018-02-07 16:33:14 +01:00