Skip to content

Commit

Permalink
Add cgroup metrics to system/process MetricSet (#2184)
Browse files Browse the repository at this point in the history
* Update gosigar to cabc0737dc6b82977febbc5c24865259447e1965.
* Add cgroup metrics to system/process MetricSet

This adds metrics from the cpu, cpuacct, memory, and blkio cgroup subsystems. Cgroup metrics are not reported for processes that are members of the default cgroup ('/').
  • Loading branch information
andrewkroh authored and ruflin committed Aug 9, 2016
1 parent 32446ed commit 9d547aa
Show file tree
Hide file tree
Showing 18 changed files with 3,215 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ https://github.com/elastic/beats/compare/v5.0.0-alpha5...master[Check the HEAD d
*Metricbeat*

- Use the new scaled_float Elasticsearch type for the percentage values. {pull}2156[2156]
- Add cgroup metrics to the system/process MetricSet. {pull}2184[2184]

*Packetbeat*

Expand Down
2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import:
subpackages:
- /difflib
- package: github.com/elastic/gosigar
version: f720d6786aff82d4dae3d0af8c0ea5a34cd04029
version: cabc0737dc6b82977febbc5c24865259447e1965
- package: github.com/samuel/go-parser
version: ca8abbf65d0e61dedf061f98bd3850f250e27539
- package: github.com/samuel/go-thrift
Expand Down
2 changes: 1 addition & 1 deletion libbeat/scripts/generate_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def dedot(group):
else:
fields.append(field)
for _, field in dedotted.items():
fields.append(field)
fields.append(dedot(field))
group["fields"] = fields
return group

Expand Down
Loading

0 comments on commit 9d547aa

Please sign in to comment.