forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add freebsd build tags for Metricbeat system metricsets (elastic#1966)
The MetricSets made available on FreeBSD by this change are core, cpu, filesystem, fsstat, memory, and process. - Enable python system tests on FreeBSD. - Remove cmdline from the required fields list in the python system tests for system/process events because cmdline may not be included for certain kernel level processes. - Disable python filtering tests on OpenBSD because system/process is not implemented. - Add build tags for the Golang tests in the system module.
- Loading branch information
1 parent
b00a66a
commit e412c00
Showing
25 changed files
with
114 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
// +build !integration | ||
// +build darwin freebsd linux windows | ||
|
||
package common | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
=== System Core Metricset | ||
|
||
The System `core` metricset provides load statistics for each CPU core. | ||
|
||
This metricset is available on: | ||
|
||
- Darwin | ||
- FreeBSD | ||
- Linux | ||
- OpenBSD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build darwin linux openbsd windows | ||
// +build darwin freebsd linux openbsd | ||
|
||
package core | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// +build !integration | ||
// +build darwin freebsd linux openbsd | ||
|
||
package core | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
=== System CPU Metricset | ||
|
||
The System `cpu` metricset provides CPU statistics. | ||
|
||
This metricset is available on: | ||
|
||
- Darwin | ||
- FreeBSD | ||
- Linux | ||
- OpenBSD | ||
- Windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build darwin linux openbsd windows | ||
// +build darwin freebsd linux openbsd windows | ||
|
||
package cpu | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// +build !integration | ||
// +build darwin freebsd linux openbsd windows | ||
|
||
package cpu | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
=== System Filesystem Metricset | ||
|
||
The System `filesystem` metricset provides file system statistics. For each file system, one document is provided. | ||
The System `filesystem` metricset provides file system statistics. For each file | ||
system, one document is provided. | ||
|
||
This metricset is available on: | ||
|
||
- Darwin | ||
- FreeBSD | ||
- Linux | ||
- OpenBSD | ||
- Windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build darwin linux openbsd windows | ||
// +build darwin freebsd linux openbsd windows | ||
|
||
package filesystem | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// +build !integration | ||
// +build darwin freebsd linux openbsd windows | ||
|
||
package filesystem | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
=== System Fsstat Metricset | ||
|
||
The System `fsstats` metricset provides overall file system statistics. | ||
|
||
This metricset is available on: | ||
|
||
- Darwin | ||
- FreeBSD | ||
- Linux | ||
- OpenBSD | ||
- Windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build darwin linux openbsd windows | ||
// +build darwin freebsd linux openbsd windows | ||
|
||
package fsstat | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// +build !integration | ||
// +build darwin freebsd linux openbsd windows | ||
|
||
package fsstat | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
=== System Memory Metricset | ||
|
||
The System `memory` metricset provides memory statistics. | ||
|
||
This metricset is available on: | ||
|
||
- Darwin | ||
- FreeBSD | ||
- Linux | ||
- OpenBSD | ||
- Windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build darwin linux openbsd windows | ||
// +build darwin freebsd linux openbsd windows | ||
|
||
package memory | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// +build !integration | ||
// +build darwin freebsd linux openbsd windows | ||
|
||
package memory | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
// +build !integration | ||
// +build darwin freebsd linux windows | ||
|
||
package network | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
=== System Process Metricset | ||
|
||
The System `process` metricset provides process statistics. One document is provided for each process. | ||
The System `process` metricset provides process statistics. One document is | ||
provided for each process. | ||
|
||
This metricset is available on: | ||
|
||
- Darwin | ||
- FreeBSD | ||
- Linux | ||
- Windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build darwin linux windows | ||
// +build darwin freebsd linux windows | ||
|
||
package process | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters