Skip to content

Commit

Permalink
Enable process.include_cpu_ticks in system tests
Browse files Browse the repository at this point in the history
By enabling the feature we will automatically be ensuring that the fields
in the event are also in the fields.yml.

(cherry picked from commit 93eedf3)
  • Loading branch information
andrewkroh authored and ruflin committed Jun 14, 2018
1 parent 1303e6f commit 0ca4db4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metricbeat/tests/system/test_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ def test_process(self):
"metricsets": ["process"],
"period": "5s",
"extras": {
"process.env.whitelist": ["PATH"]
"process.env.whitelist": ["PATH"],
"process.include_cpu_ticks": True,
}
}])
proc = self.start_beat()
Expand Down

0 comments on commit 0ca4db4

Please sign in to comment.