Commit graph

29 commits

Author SHA1 Message Date
Ben Kochie 3565316d7e
Linux CPU: Cache CPU metrics
Cache CPU metrics to avoid counters (ie iowait) jumping backwards.

Fixes: https://github.com/prometheus/node_exporter/issues/1686

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-05-24 16:31:26 +02:00
Julien Pivotto 0c532984b7
Finish the update to go 1.14 (#1696)
* Finish the update to go 1.14

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-05-03 21:48:28 +02:00
Julien Pivotto 01054558c2
Update go to 1.14 (#1692)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-04-28 11:18:18 +02:00
vitt-bagal 04ad4b3510 Added s390x support for docker image (#1539)
Signed-off-by: Vitthal Bagal <vitthalb@us.ibm.com>
2020-01-27 10:55:35 +01:00
Julian Kornberger da0ae76a91 Use Golang 1.13 for all CI jobs
Signed-off-by: Julian Kornberger <jk+github@digineo.de>
2019-12-19 15:26:55 +01:00
ksherryBAE aede04172c Adding TLS to node exporter - cleaner version (#1277)
Add support for https connections.

Signed-off-by: ksherryBAE <kieran.sherry@baesystems.com>
Signed-off-by: James Ritchie <james.g.ritchie@baesystems.com>
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Signed-off-by: Ben RIdley <benridley29@gmail.com>
2019-11-16 00:12:57 +01:00
Simon Pasquier e6f7dfaa50 *: bump Go version to 1.13
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-09-16 10:57:12 +02:00
Simon Pasquier 0841244283 Use Prometheus Circle CI's orb (#1412)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-07-02 18:40:25 +02:00
Simon Pasquier a076cd3203 Use Circle CI's org context (#1362)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-06-03 11:17:59 +02:00
Paul Gier bd3fc09b30 fix or ignore codespell issues (#1351)
Signed-off-by: Paul Gier <pgier@redhat.com>
2019-05-20 13:05:39 -05:00
PrometheusBot 2a9939fcf3 Synchronize Makefile.common from prometheus/prometheus (#1346)
* makefile: update Makefile.common with newer version

Signed-off-by: prombot <prometheus-team@googlegroups.com>

* Remove obsolete release tool.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-05-14 20:27:02 -05:00
Simon Pasquier c3ce1ea6d8 *: bump Go version to 1.12 (#1329)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-04-26 11:20:37 +02:00
Johannes Würbach 4e5c4d464f Docker images for ARM32v7, ARM64v8 and ppc64le (#1207)
Build and publish ARM32v7, ARM64v8 and ppc64le docker images.

Signed-off-by: Johannes Würbach <johannes.wuerbach@googlemail.com>
2019-04-15 17:36:25 +02:00
Ben Kochie dc4c58671d
Update vendoring. (#1257)
* Update vendoring.

Update vendoring to latest upstream.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-02-13 14:12:12 +01:00
Ben Kochie becca1275c
Convert to Go modules (#1178)
* Convert to Go modules

* Update promu config.
* Convert to Go modules.
* Update vendoring.
* Update Makefile.common.
* Update circleci config.
* Use Prometheus release tar for promtool.
* Fixup unpack

* Use temp dir for unpacking tools.
* Use BSD compatible tar command.
* OpenBSD mkdir doesn't support `-v`.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-11-30 14:01:20 +01:00
Ben Kochie 1732478361
circleci: switch to 2.1 config
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-11-29 12:06:34 +01:00
Ben Kochie 7519967619
Fix promu config (#1119)
Rename promu no-cgo config to default promu name to avoid crossbuild
problems.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-10-20 08:21:51 +02:00
Ben Kochie a1ce712e22
Cleanup unused /proc/mounts fixture. (#1097)
* Cleanup unused /proc/mounts fixture.
* Ignore Uint -> Unit in codespell.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-10-04 18:07:12 +02:00
Ben Kochie c7dfb82dac
Update build (#1081)
* Update build

* Only use CGO when building non-Linux.
* Update build to Go 1.11
* Use tab indenting consistently.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-09-25 16:02:42 +02:00
Ben Kochie 099c1527f1
Update build (#1041)
Update build

* Update to Go 1.10.
* Enable `ppc64le` build.
* Enable MIPS builds.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-08-13 17:26:55 +02:00
Ben Kochie 981de58fad
Update build (#1010)
* Update from upstream `Makefile.common`.
* Update CircleCI with simplifed upstream templating.
* Cleanup `Makefile`.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-07-23 09:38:39 +02:00
Ben Kochie 315ec8d3bf
Use Go 1.9 for build.
Workaround CGO bugs in 1.10.1.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-04-24 16:22:35 +02:00
Ben Kochie ec6421e595
Skip vendor'd ttar.
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-04-09 20:38:24 +02:00
Ben Kochie 64484cc254
Add codespell to circleci.
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-04-09 20:37:54 +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
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 65e485c4e9
Convert circleci config to 2.0. (#844) 2018-03-08 12:43:49 +01:00