master
superq/goimports
superq/fs_include
superq/v2
superq/systemd_shutdown
mixin-fix-cpu-usage
release-1.8
superq/stylecheck
superq/refactor_kingpin
release-1.6
release-1.4
release-1.3
superq/os_collector
superq/replace_load_metric
release-1.2
fixpanic
release-1.1
aix-ppc64
security-dot-md
fish/remove-docker-hub-references
readme-remove-misleading-plugins
release-1.0
discordianfish-patch-1
revert-1677-expose-tls-copy
pgier/disable-default-collectors
superq/buildkite
release-0.18
superq/systemd_filter
superq/unit_type
release-0.17
bjk/fpm
release-0.16
release-0.15
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.1
v1.4.0
v1.4.0-rc.0
v1.3.1
v1.3.0
v1.2.2
v1.2.1
v1.2.0
v1.1.2
v1.1.1
v1.1.0
v1.0.1
v1.0.0
v1.0.0-rc.1
v1.0.0-rc.0
v0.18.1
v0.18.0
v0.17.0
v0.17.0-rc.0
v0.16.0
v0.16.0-rc.3
v0.16.0-rc.2
v0.16.0-rc.1
v0.16.0-rc.0
v0.15.2
v0.15.1
v0.15.0
0.12.0
0.12.0rc1
0.8.0
0.7.1
0.7.0
0.6.0
0.10.0
0.11.0
0.12.0rc2
0.12.0rc3
0.13.0-rc.2
0.8.1
0.9.0
v0.13.0
v0.13.0-rc.1
v0.13.0-rc.2
v0.14.0
v0.14.0-rc.1
v0.14.0-rc.2
${ noResults }
2 Commits (deadfef4c91c8ced6d6d1a29d66f74b40476f3b2)
Author | SHA1 | Message | Date |
---|---|---|---|
Calle Pettersson | 859a825bb8 |
Replace --collectors.enabled with per-collector flags (#640)
* Move NodeCollector into package collector * Refactor collector enabling * Update README with new collector enabled flags * Fix out-of-date inline flag reference syntax * Use new flags in end-to-end tests * Add flag to disable all default collectors * Track if a flag has been set explicitly * Add --collectors.disable-defaults to README * Revert disable-defaults flag * Shorten flags * Fixup timex collector registration * Fix end-to-end tests * Change procfs and sysfs path flags * Fix review comments |
7 years ago |
ideaship | 8d90276283 |
Add bcache collector (#597)
* Add bcache collector for Linux This collector gathers metrics related to the Linux block cache (bcache) from sysfs. * Removed commented out code * Use project comment style * Add _sectors to metric name to indicate unit * Really use project comment style * Rename bcache.go to bcache_linux.go * Keep collector namespace clean Rename: - metric -> bcacheMetric - periodStatsToMetrics -> bcachePeriodStatsToMetric * Shorten slice initialization * Change label names to backing_device, cache_device * Remove five minute metrics (keep only total) * Include units in additional metric names * Enable bcache collector by default * Provide metrics in seconds, not nanoseconds * remove metrics with label "all" * Add fixtures, update end-to-end for bcache collector * Move fixtures/sys into tar.gz This changeset moves the collector/fixtures/sys directory into collector/fixtures/sys.tar.gz and tweaks the Makefile to unpack the tarball before tests are run. The reason for this change is that Windows does not allow colons in a path (colons are present in some of the bcache fixture files), nor can it (out of the box) deal with pathnames longer than 260 characters (which we would be increasingly likely to hit if we tried to replace colons with longer codes that are guaranteed not the turn up in regular file names). * Add ttar: plain text archive, replacement for tar This changeset adds ttar, a plain text replacement for tar, and uses it for the sysfs fixture archive. The syntax is loosely based on tar(1). Using a plain text archive makes it possible to review changes without downloading and extracting the archive. Also, when working on the repo, git diff and git log become useful again, allowing a committer to verify and track changes over time. The code is written in bash, because bash is available out of the box on all major flavors of Linux and on macOS. The feature set used is restricted to bash version 3.2 because that is what Apple is still shipping. The programm also works on Windows if bash is installed. Obviously, it does not solve the Windows limitations (path length limited to 260 characters, no symbolic links) that prompted the move to an archive format in the first place. |
8 years ago |