Base checks in LXD containers overwork lxdfs
Bug #1919262 reported by
Xav Paice
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Fix Released
|
Undecided
|
Xav Paice |
Bug Description
A number of the base checks access /proc. On a busy site with lots of containers, the lxcfs proxy for /proc gets busy enough to cause problems for the host.
Since there's no value in statistics for mem, cpu etc., within LXD containers, but there is value for the Telegraf subordinate so we can relate to other items such as mysql, I'd like to automatically disable the base plugins that are not useful if the charm is running in an LXD container.
Related branches
~xavpaice/charm-telegraf:bug/1919262
- Junien F: Needs Fixing
- Edin S (community): Approve
- Canonical IS Reviewers: Pending requested
- BootStack Reviewers: Pending requested
-
Diff: 154 lines (+60/-10)4 files modifiedsrc/README.md (+19/-7)
src/reactive/telegraf.py (+29/-3)
src/tests/functional/requirements.txt (+1/-0)
src/tests/unit/test_telegraf.py (+11/-0)
Changed in charm-telegraf: | |
status: | New → In Progress |
assignee: | nobody → Xav Paice (xavpaice) |
Changed in charm-telegraf: | |
status: | In Progress → Fix Committed |
milestone: | none → 21.04 |
Changed in charm-telegraf: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.