Alexey Kopytov
dd98a09bb2
A couple of ARM64-related fixes ( #934 )
...
* Do not rely on AArch64 CPUs to support 32-bit ARM for cross-testing.
Signed-off-by: Alexey Kopytov <akopytov@gmail.com>
* aarch64 like ppc64le reports 64k node_sockstat_TCP_mem_bytes due to 64k pages.
Signed-off-by: Alexey Kopytov <akopytov@gmail.com>
7 years ago
Steve Kotsopoulos
84dc362b05
Align Darwin disk stat names with Linux ( #930 )
...
Signed-off-by: Steve Kotsopoulos <sk@fywss.com>
7 years ago
Mario Trangoni
24a28fcc9e
Remove unused func, var, and const ( #928 )
...
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
7 years ago
Mario Trangoni
c9f421d0dd
Fix some golint issues ( #927 )
...
* collector/cpu_*: rename nodeCpuSecondsDesc to nodeCPUSecondsDesc
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
* collector/qdisc_linux.go: add NewQdiscStatCollector comment
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
* collector/cpu_linux.go: rename core_map to coreMap
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
7 years ago
Ben Kochie
7073dcdcb5
Fix 0.16.0-rc.3 release date.
7 years ago
Ben Kochie
575d8950d3
Merge pull request #925 from prometheus/superq/rc.3
...
Release v0.16.0-rc.3
7 years ago
Ben Kochie
11b60ac32f
Release v0.16.0-rc.3
...
Chaneges since v0.16.0-rc.2
* Remove gmond collector #852
* Build with Go 1.9[0]
* Fix /proc/net/dev/ interface name handling #910
[0]: https://github.com/prometheus/node_exporter/issues/870
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Ben Kochie
361b5bf85d
Merge pull request #852 from prometheus/remove-gmond
...
Remove gmond collector
7 years ago
Ben Kochie
bab8445f8c
Merge pull request #922 from prometheus/superq/go_1.9
...
Use Go 1.9 for build.
7 years ago
Ben Kochie
315ec8d3bf
Use Go 1.9 for build.
...
Workaround CGO bugs in 1.10.1.
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Ben Kochie
75561cb1fc
Merge pull request #910 from prometheus/superq/netdev_dot
...
Fix /proc/net/dev/ interface name handling
7 years ago
Ben Kochie
b10ca77680
Fix /proc/net/dev/ interface name handling
...
* Allow any character (UTF-8) for Linux interface names.
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Ben Kochie
661427f2c1
Merge pull request #907 from prometheus/superq/ppc_e2e
...
Update ppc64le end-to-end fixture.
7 years ago
Ben Kochie
1ab4a460c7
Update ppc64le end-to-end fixture.
...
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Johannes 'fish' Ziemke
fd66a86a30
Remove gmond collector
...
Signed-off-by: Johannes 'fish' Ziemke <github@freigeist.org>
7 years ago
Ben Kochie
7cbfa884a7
Merge pull request #905 from prometheus/superq/v0.16.0-rc.2
...
Release v0.16.0-rc.2
7 years ago
Ben Kochie
4a0fafcf06
Release v0.16.0-rc.2
...
* Update CHANGELOG.
* Bump VERSION.
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Ben Kochie
0f5be132ac
Merge pull request #904 from prometheus/superq/if_alias
...
Fix parsing of interface aliases in netdev linux
7 years ago
Ben Kochie
a528966dcd
Fix parsing of interface aliases in netdev linux
...
Very old kernels expose interface aliases as `foo0:0`, adjust the line
parsing to handle these names.
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Ben Kochie
f6008b242b
Merge pull request #901 from mischief/bsd_boottime
...
collector: implement node_boot_time_seconds for OpenBSD/NetBSD/Darwin
7 years ago
Ben Kochie
768be139be
Merge pull request #884 from prometheus/fish-add-dco-contributing
...
Document DCO in CONTRIBUTING.md
7 years ago
Johannes 'fish' Ziemke
66d81119ea
Document DCO in CONTRIBUTING.md
...
This closes #879
Signed-off-by: Johannes 'fish' Ziemke <github@freigeist.org>
7 years ago
Jürgen Hötzel
de0632c2e9
Fix memory corruption when number of filesystems > 16 ( #900 )
...
Signed-off-by: Juergen Hoetzel <juergen@archlinux.org>
7 years ago
mischief
693eb82139
update README.md and CHANGELOG.md to reflect new bsd boottime collector
...
Signed-off-by: mischief <mischief@offblast.org>
7 years ago
mischief
26a385d7ab
collector: implement node_boot_time_seconds for OpenBSD/NetBSD/Darwin
...
Signed-off-by: mischief <mischief@offblast.org>
7 years ago
Ben Kochie
6025dc207d
Merge pull request #898 from prometheus/superq/fmt
...
Fix formatting.
7 years ago
Ben Kochie
015b86670a
Update ppc64le e2e output.
...
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Ben Kochie
0507b0c9a2
Fix formatting.
...
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Ben Kochie
4c863f3b5d
Merge pull request #894 from prometheus/superq/ttar_cleanup
...
Cleanup sys fixtures before unpacking
7 years ago
Dmitriy Lukyanchikov
eddd1b9357
Fix netdev collector for linux ( #890 )
...
fix variable name, fix transmitHeader extracting
modify fixtures to run tests with updated netdev_linux collector
Signed-off-by: dmitriy-lukyanchikov <d.lukyanchikov@anchorfree.com>
7 years ago
Ben Kochie
4a94ed180c
Merge pull request #896 from derekmarcotte/dm-ppc64-fixtures
...
Update ppc64 fixtures to unbreak end-to-end.
7 years ago
Derek Marcotte
fe86e908da
Update ppc64 fixtures to unbreak end-to-end.
...
efc1fdb
added new labels.
Signed-off-by: Derek Marcotte <554b8425@razorfever.net>
7 years ago
Ben Kochie
b675a7c0a9
Merge pull request #891 from prometheus/grobie/fix-tests
...
Fix code style check in "all" make target
7 years ago
Ben Kochie
1bdfe77315
Cleanup sys fixtures before unpacking
...
Make sure we cleanup the sys fixtures before unpacking to avoid obsolete
files and conflicts from sticking around.
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Tobias Schmidt
22e79102e6
Fix code style check in "all" make target
...
The all target should abort on incorrectly formatted code, instead of
formatting it. The CI pipeline should fail and not silently accept
wrong code.
Signed-off-by: Tobias Schmidt <tobidt@gmail.com>
7 years ago
Ben Kochie
9e485f1157
Merge pull request #889 from prometheus/superq/codespell
...
Add codespell to circleci.
7 years ago
Ben Kochie
178c62d022
Merge pull request #861 from muellerbe/additional-smartmonattrs
...
added additional smartmonattrs
7 years ago
Ben Kochie
ec6421e595
Skip vendor'd ttar.
...
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Ben Kochie
64484cc254
Add codespell to circleci.
...
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Ben Kochie
bde511b521
Merge pull request #888 from knweiss/typos
...
Fix spelling mistakes found by codespell
7 years ago
Karsten Weiss
7e392e6634
Fix spelling mistakes found by codespell
...
Signed-off-by: Karsten Weiss <knweiss@gmail.com>
7 years ago
Karsten Weiss
efc1fdb6d0
cpu: Add a 2nd label 'package' to metric node_cpu_core_throttles_total ( #871 )
...
* cpu: Add a 2nd label 'package' to metric node_cpu_core_throttles_total
This commit fixes the node_cpu_core_throttles_total metrics on
multi-socket systems as the core_ids are the same for each package.
I.e. we need to count them seperately.
Rename the node_package_throttles_total metric label `node` to `package`.
Reorganize the sys.ttar archive and use the same symlinks as the Linux
kernel. Also, the new fixtures now use a dual-socket dual-core cpu w/o
HT/SMT (node0: cpu0+1, node1: cpu2+3) as well as processor-less
(memory-only) NUMA node 'node2' (this is a very rare case).
Signed-off-by: Karsten Weiss <knweiss@gmail.com>
* cpu: Use the direct /sys path to the cpu files.
Use the direct path /sys/devices/system/cpu/cpu[0-9]* (without symlinks)
instead of /sys/bus/cpu/devices/cpu[0-9]*.
The latter path also does not exist e.g. on RHEL 6.9's kernel.
Signed-off-by: Karsten Weiss <knweiss@gmail.com>
* cpu: Reverse core+package throttle processing order
Signed-off-by: Karsten Weiss <knweiss@gmail.com>
* cpu: Add documentation URLs
Signed-off-by: Karsten Weiss <knweiss@gmail.com>
7 years ago
Ben Kochie
f32ec245a3
Merge pull request #887 from prometheus/fish-push-image-tags
...
Push docker images tagged with git tag
7 years ago
Johannes 'fish' Ziemke
3c4a4aec64
Push docker images tagged with git tag
...
Signed-off-by: Johannes 'fish' Ziemke <github@freigeist.org>
7 years ago
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>
7 years ago
Ben Kochie
f3ff44fcca
Merge pull request #882 from prometheus/superq/0.16.0-rc.1
...
Update for 0.16.0-rc.1
7 years ago
Ben Kochie
b8f25c87f1
Update for 0.16.0-rc.1
...
* Update VERSION.
* Update CHANGELOG.
Signed-off-by: Ben Kochie <superq@gmail.com>
7 years ago
Ben Kochie
eef9ffbdad
Merge pull request #878 from prometheus/grobie/update-common
...
Update github.com/prometheus/common dependencies
7 years ago
Tobias Schmidt
04d663029d
Update github.com/prometheus/common dependencies
...
Signed-off-by: Tobias Schmidt <tobidt@gmail.com>
7 years ago
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>
7 years ago