Fix dicker container table disk/write metrics, compares "op" values with ignore case by Kislaci90 · Pull Request #8566 · osquery/osquery
Conversation
At the 27.4.0 docker engine version, there was a change with the "blkio_stats. io_service_bytes_recursive.op" in the container stats API response. The value of the "op" became lowercase, and it caused a mismatch in the getIOBytes function which is called with Capitalised op.
Example:
getIOBytes(container.get_child("blkio_stats.io_service_bytes_recursive"),"Write");
directionless
changed the title
Fixes container disk/write metrics, compares "op" values with ignore case
Fix dicker container table disk/write metrics, compares "op" values with ignore case
This file contains hidden or 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