Commit Graph

15 Commits

Author SHA1 Message Date
Ben Reedy 7a6e2d7456
feat(ci): Add ARM64 builds to releases
Signed-off-by: Ben Reedy <breed808@breed808.com>
2022-10-24 21:21:43 +10:00
Ben Reedy 14d3e4ea28
Check default collector metrics with promtool
Signed-off-by: Ben Reedy <breed808@breed808.com>
2022-02-08 17:14:39 +10:00
James Sturtevant b450a50103 Add HostProcess Container Configuration for k8s
Co-authored-by: Brian Redmond <brianisrunning@gmail.com>
Signed-off-by: Brian Redmond <brianisrunning@gmail.com>
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2022-02-07 10:16:34 -08:00
Ben Reedy b6f88cbbdd
Use `pwsh` to run e2e-test target
Powershell >= 5 is required for the `New-Guid` command in the e2e script.

Signed-off-by: Ben Reedy <breed808@breed808.com>
2021-12-30 20:49:46 +10:00
Ben Reedy a2c4bf6a2d
Add benchmark for each collector
Benchmarks will allow for easier identification of slow collectors.
Additionally, they increase test coverage of the collectors, with some
collectors now reaching 80-95% coverage with this change.

Collector benchmarks have been structed so that common functionality is
present in `collector/collector_test.go` as is done with non-test
functionality in `collector/collector.go`.
Test logic that is specific to individual collectors is present in the
collector test file (E.G. `collector/process_test.go` for the Process
collector).

Signed-off-by: Ben Reedy <breed808@breed808.com>
2021-04-01 22:28:54 +10:00
Ben Reedy c93b709f96 Make build idempotent
Only rebuild windows_exporter.exe on changes to any Go source files.

Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-07 08:01:07 +10:00
Ben Reedy b300998b4b Add smoketest script
Signed-off-by: Ben Reedy <breed808@breed808.com>
2020-12-07 08:01:07 +10:00
Calle Pettersson 0d4f747f8f Switch to go modules 2019-12-28 16:28:10 +01:00
Calle Pettersson e24e0dc9f5 Lint-fix: Ignore goconst 2019-01-23 09:57:08 +01:00
Calle Pettersson 7e05621b26 Move to makefile, do initial excludes 2019-01-23 09:56:24 +01:00
Calle Pettersson 76ddad34b8 Add linting 2019-01-23 09:55:26 +01:00
Calle Pettersson 35b81dcdd0 Change AppVeyor build to cross-compile instead of having two runs (#311) 2019-01-23 02:24:59 +01:00
Calle Pettersson caf8742dcd Fix promu build 2017-09-08 09:38:33 +01:00
Martin Lindhe 2e0842573d Makefile: add build command 2017-08-10 01:32:54 +02:00
Martin Lindhe 1db60e22b9 add a Makefile with a 'fmt' target 2017-06-30 22:50:48 +02:00