Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Get Stats and Logs From a Container Using Docker Connector in Mule

DZone's Guide to

Get Stats and Logs From a Container Using Docker Connector in Mule

Have you ever needed to grab statistics and log files from a Docker container and import them into another environment, such as Mule? Read on to learn how!

· Integration Zone ·
Free Resource

SnapLogic is the leading self-service enterprise-grade integration platform. Download the 2018 GartnerMagic Quadrant for Enterprise iPaaS or play around on the platform, risk free, for 30 days.

Can you use Docker Connector as an Inbound Endpoint in Mule Flow?

Would you know how to use Docker Connector to fetch statistics and logs from the container?

Well, in this article, I’d like to walk you through a simple application to show you how to use the Docker Connector to get statistics and logs of a container from MuleFlow. If you don't have the running container on Docker host, then please refer my previous post How to Use Docker Connector to Build an Image and Run Containers From Mule Flow

You can download this Mule flow example from my GitHub repository.

Designing the Mule Flow With Anypoint Studio

For Get container logs and Get container statistics operations, we have to use Docker Connector as an inbound connector.

Get Container Logs Steps:

  1. Drag and drop the Flow scope into your Mule application file.

  2. Drag and drop "Docker Connector" in the source part of the Mule Flow and select the Operation to "Get container logs" in order to get the logs of the container. Image title

  3. Enter the name of the container from which we want to fetch the logs as ${app.containerName} or CONTAINER ID. Configure the parameter as per your needs, for example, logging a stream type: Standard Out and/or Standard Error to fetch standard out and error logs. Select Show Time Stamp if you would like to get the timestamp with logs. Image title

  4. Drag and drop "Logger" in front of Docker Connector in Mule Flow and set the message to  #[payload].

  5. Run the Mule project and look at the console log. If you are using the same container deployed using my previous post, then you will get a log like below:

*******************************************************************************************************
*            - - + APPLICATION + - -            *       - - + DOMAIN + - -       * - - + STATUS + - - *
*******************************************************************************************************
* docker-connector-example                      * default                        * DEPLOYED           *
*******************************************************************************************************

INFO  2018-03-28 19:29:51,298 [Receiving Thread] org.mule.modules.docker.DockerContainerOperations: Getting container logs
INFO  2018-03-28 19:29:51,987 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.01] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:07:06.473050713Z Now Tue Mar 20 11:07:06 UTC 2018
INFO  2018-03-28 19:29:51,997 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.05] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:06.440088295Z Now Tue Mar 20 11:06:06 UTC 2018
INFO  2018-03-28 19:29:52,007 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.07] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:16.443339282Z Now Tue Mar 20 11:06:16 UTC 2018
INFO  2018-03-28 19:29:52,009 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.03] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:05:56.435365518Z Now Tue Mar 20 11:05:56 UTC 2018
INFO  2018-03-28 19:29:52,009 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.11] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:36.453203680Z Now Tue Mar 20 11:06:36 UTC 2018
INFO  2018-03-28 19:29:52,009 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.08] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:21.445450611Z Now Tue Mar 20 11:06:21 UTC 2018
INFO  2018-03-28 19:29:52,020 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.12] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:41.456595417Z Now Tue Mar 20 11:06:41 UTC 2018
INFO  2018-03-28 19:29:52,022 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.16] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:07:01.470333212Z Now Tue Mar 20 11:07:01 UTC 2018
INFO  2018-03-28 19:29:52,023 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: STDERR: 2018-03-20T11:05:56.435295887Z runapp.sh: 2: runapp.sh: 
: not found
INFO  2018-03-28 19:29:52,022 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.06] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:11.441341538Z Now Tue Mar 20 11:06:11 UTC 2018
INFO  2018-03-28 19:29:52,025 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.10] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:31.450623585Z Now Tue Mar 20 11:06:31 UTC 2018
INFO  2018-03-28 19:29:52,032 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.14] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:51.464066301Z Now Tue Mar 20 11:06:51 UTC 2018
INFO  2018-03-28 19:29:52,038 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.04] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:01.437381812Z Now Tue Mar 20 11:06:01 UTC 2018
INFO  2018-03-28 19:29:52,038 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.15] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:56.466883055Z Now Tue Mar 20 11:06:56 UTC 2018
INFO  2018-03-28 19:29:52,053 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.09] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:26.448366104Z Now Tue Mar 20 11:06:26 UTC 2018
INFO  2018-03-28 19:29:52,056 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.01] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:07:21.483617241Z Now Tue Mar 20 11:07:21 UTC 2018
INFO  2018-03-28 19:29:52,068 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.13] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:06:46.460598194Z Now Tue Mar 20 11:06:46 UTC 2018
INFO  2018-03-28 19:29:52,072 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.03] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:07:11.476869324Z Now Tue Mar 20 11:07:11 UTC 2018
INFO  2018-03-28 19:29:52,082 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.01] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:08:26.521538700Z Now Tue Mar 20 11:08:26 UTC 2018
INFO  2018-03-28 19:29:52,098 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:08:01.508429566Z Now Tue Mar 20 11:08:01 UTC 2018
INFO  2018-03-28 19:29:52,099 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.07] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:07:16.480041748Z Now Tue Mar 20 11:07:16 UTC 2018
INFO  2018-03-28 19:29:52,140 [[docker-connector-example].docker-get-container-logs-applicationFlow.stage1.05] org.mule.api.processor.LoggerMessageProcessor: STDOUT: 2018-03-20T11:07:41.496362144Z Now Tue Mar 20 11:07:41 UTC 2018

Get Container Statistics Steps:

  1. Drag and drop the Flow scope into your Mule application file.

  2. Drag and drop "Docker Connector" in the source part of the Mule Flow and select the Operation to "Get container statistics" to get the statistics of the container. Image title

  3. Enter the name of the container from which we want to fetch the statistics as ${app.containerName} or CONTAINER ID.Image title

  4. Drag and drop "Logger" in front of Docker Connector in Mule Flow and set the message to #[payload] 

  5. Run the Mule project and look at the console log. You will get the container statistics like:
*******************************************************************************************************
*            - - + APPLICATION + - -            *       - - + DOMAIN + - -       * - - + STATUS + - - *
*******************************************************************************************************
* docker-connector-example                      * default                        * DEPLOYED           *
*******************************************************************************************************

INFO  2018-03-28 19:24:54,624 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@250b8144[read=2018-03-28T13:43:09.827809224Z,networks={eth0={rx_bytes=168, rx_packets=2, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=1646592, max_usage=3993600, stats={active_anon=77824, active_file=12288, cache=1568768, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=1556480, mapped_file=1048576, pgfault=1293, pgmajfault=13, pgpgin=1384, pgpgout=982, rss=77824, rss_huge=0, total_active_anon=77824, total_active_file=12288, total_cache=1568768, total_dirty=0, total_inactive_anon=0, total_inactive_file=1556480, total_mapped_file=1048576, total_pgfault=1293, total_pgmajfault=13, total_pgpgin=1384, total_pgpgout=982, total_rss=77824, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=1568768}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=1568768}, {major=8, minor=0, op=Total, value=1568768}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=22}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=22}, {major=8, minor=0, op=Total, value=22}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=32405800, percpu_usage=[32405800], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77523540000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:24:54,898 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@6bea3c92[read=2018-03-28T13:43:10.118598288Z,networks={eth0={rx_bytes=168, rx_packets=2, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2396160, max_usage=3993600, stats={active_anon=155648, active_file=663552, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=1564672, mapped_file=1708032, pgfault=1459, pgmajfault=20, pgpgin=1604, pgpgout=1019, rss=167936, rss_huge=0, total_active_anon=155648, total_active_file=663552, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=1564672, total_mapped_file=1708032, total_pgfault=1459, total_pgmajfault=20, total_pgpgin=1604, total_pgpgout=1019, total_rss=167936, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=36367718, percpu_usage=[36367718], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77524530000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:24:55,934 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@61452d8f[read=2018-03-28T13:43:11.118742356Z,networks={eth0={rx_bytes=921, rx_packets=9, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2396160, max_usage=3993600, stats={active_anon=167936, active_file=663552, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=1564672, mapped_file=1708032, pgfault=1459, pgmajfault=20, pgpgin=1604, pgpgout=1019, rss=167936, rss_huge=0, total_active_anon=167936, total_active_file=663552, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=1564672, total_mapped_file=1708032, total_pgfault=1459, total_pgmajfault=20, total_pgpgin=1604, total_pgpgout=1019, total_rss=167936, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=36367718, percpu_usage=[36367718], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77525500000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:24:56,945 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@36c167bf[read=2018-03-28T13:43:12.118441942Z,networks={eth0={rx_bytes=1774, rx_packets=14, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2396160, max_usage=3993600, stats={active_anon=167936, active_file=663552, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=1564672, mapped_file=1708032, pgfault=1459, pgmajfault=20, pgpgin=1604, pgpgout=1019, rss=167936, rss_huge=0, total_active_anon=167936, total_active_file=663552, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=1564672, total_mapped_file=1708032, total_pgfault=1459, total_pgmajfault=20, total_pgpgin=1604, total_pgpgout=1019, total_rss=167936, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=36367718, percpu_usage=[36367718], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77526490000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:24:57,979 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@4fb9d182[read=2018-03-28T13:43:13.119058541Z,networks={eth0={rx_bytes=1978, rx_packets=15, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2396160, max_usage=3993600, stats={active_anon=167936, active_file=663552, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=1564672, mapped_file=1708032, pgfault=1459, pgmajfault=20, pgpgin=1604, pgpgout=1019, rss=167936, rss_huge=0, total_active_anon=167936, total_active_file=663552, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=1564672, total_mapped_file=1708032, total_pgfault=1459, total_pgmajfault=20, total_pgpgin=1604, total_pgpgout=1019, total_rss=167936, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=36367718, percpu_usage=[36367718], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77527480000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:24:59,001 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@758d6a4b[read=2018-03-28T13:43:14.118790916Z,networks={eth0={rx_bytes=2085, rx_packets=16, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2396160, max_usage=3993600, stats={active_anon=167936, active_file=663552, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=1564672, mapped_file=1708032, pgfault=1459, pgmajfault=20, pgpgin=1604, pgpgout=1019, rss=167936, rss_huge=0, total_active_anon=167936, total_active_file=663552, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=1564672, total_mapped_file=1708032, total_pgfault=1459, total_pgmajfault=20, total_pgpgin=1604, total_pgpgout=1019, total_rss=167936, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=36367718, percpu_usage=[36367718], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77528470000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:00,011 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@3dec0820[read=2018-03-28T13:43:15.118546487Z,networks={eth0={rx_bytes=2359, rx_packets=18, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2400256, max_usage=3993600, stats={active_anon=159744, active_file=1703936, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=524288, mapped_file=1679360, pgfault=1599, pgmajfault=20, pgpgin=1660, pgpgout=1074, rss=172032, rss_huge=0, total_active_anon=159744, total_active_file=1703936, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=524288, total_mapped_file=1679360, total_pgfault=1599, total_pgmajfault=20, total_pgpgin=1660, total_pgpgout=1074, total_rss=172032, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=38338551, percpu_usage=[38338551], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77529460000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:01,038 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@ad7cbd[read=2018-03-28T13:43:16.118762262Z,networks={eth0={rx_bytes=2359, rx_packets=18, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2400256, max_usage=3993600, stats={active_anon=172032, active_file=1703936, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=524288, mapped_file=1679360, pgfault=1599, pgmajfault=20, pgpgin=1660, pgpgout=1074, rss=172032, rss_huge=0, total_active_anon=172032, total_active_file=1703936, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=524288, total_mapped_file=1679360, total_pgfault=1599, total_pgmajfault=20, total_pgpgin=1660, total_pgpgout=1074, total_rss=172032, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=38338551, percpu_usage=[38338551], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77530450000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:02,056 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@19988eb[read=2018-03-28T13:43:17.118554134Z,networks={eth0={rx_bytes=2359, rx_packets=18, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2400256, max_usage=3993600, stats={active_anon=172032, active_file=1703936, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=524288, mapped_file=1679360, pgfault=1599, pgmajfault=20, pgpgin=1660, pgpgout=1074, rss=172032, rss_huge=0, total_active_anon=172032, total_active_file=1703936, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=524288, total_mapped_file=1679360, total_pgfault=1599, total_pgmajfault=20, total_pgpgin=1660, total_pgpgout=1074, total_rss=172032, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=38338551, percpu_usage=[38338551], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77531440000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:03,079 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@1fd865a1[read=2018-03-28T13:43:18.118910915Z,networks={eth0={rx_bytes=2466, rx_packets=19, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2400256, max_usage=3993600, stats={active_anon=172032, active_file=1703936, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=524288, mapped_file=1679360, pgfault=1599, pgmajfault=20, pgpgin=1660, pgpgout=1074, rss=172032, rss_huge=0, total_active_anon=172032, total_active_file=1703936, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=524288, total_mapped_file=1679360, total_pgfault=1599, total_pgmajfault=20, total_pgpgin=1660, total_pgpgout=1074, total_rss=172032, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=38338551, percpu_usage=[38338551], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77532440000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:04,114 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@42a8d372[read=2018-03-28T13:43:19.119146548Z,networks={eth0={rx_bytes=2536, rx_packets=20, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2400256, max_usage=3993600, stats={active_anon=172032, active_file=1703936, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=524288, mapped_file=1679360, pgfault=1599, pgmajfault=20, pgpgin=1660, pgpgout=1074, rss=172032, rss_huge=0, total_active_anon=172032, total_active_file=1703936, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=524288, total_mapped_file=1679360, total_pgfault=1599, total_pgmajfault=20, total_pgpgin=1660, total_pgpgout=1074, total_rss=172032, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=38338551, percpu_usage=[38338551], usage_in_kernelmode=10000000, usage_in_usermode=20000000}, system_cpu_usage=77533430000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:05,131 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@298b070e[read=2018-03-28T13:43:20.118796669Z,networks={eth0={rx_bytes=2536, rx_packets=20, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2400256, max_usage=3993600, stats={active_anon=159744, active_file=1794048, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=434176, mapped_file=1679360, pgfault=1741, pgmajfault=20, pgpgin=1715, pgpgout=1129, rss=172032, rss_huge=0, total_active_anon=159744, total_active_file=1794048, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=434176, total_mapped_file=1679360, total_pgfault=1741, total_pgmajfault=20, total_pgpgin=1715, total_pgpgout=1129, total_rss=172032, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=41534455, percpu_usage=[41534455], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77534420000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:06,148 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@64980c04[read=2018-03-28T13:43:21.118715176Z,networks={eth0={rx_bytes=2536, rx_packets=20, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2400256, max_usage=3993600, stats={active_anon=172032, active_file=1794048, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=434176, mapped_file=1679360, pgfault=1741, pgmajfault=20, pgpgin=1715, pgpgout=1129, rss=172032, rss_huge=0, total_active_anon=172032, total_active_file=1794048, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=434176, total_mapped_file=1679360, total_pgfault=1741, total_pgmajfault=20, total_pgpgin=1715, total_pgpgout=1129, total_rss=172032, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=41534455, percpu_usage=[41534455], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77535420000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:07,174 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@3831885b[read=2018-03-28T13:43:22.119439662Z,networks={eth0={rx_bytes=2536, rx_packets=20, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2400256, max_usage=3993600, stats={active_anon=172032, active_file=1794048, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=434176, mapped_file=1679360, pgfault=1741, pgmajfault=20, pgpgin=1715, pgpgout=1129, rss=172032, rss_huge=0, total_active_anon=172032, total_active_file=1794048, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=434176, total_mapped_file=1679360, total_pgfault=1741, total_pgmajfault=20, total_pgpgin=1715, total_pgpgout=1129, total_rss=172032, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=41534455, percpu_usage=[41534455], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77536410000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:08,196 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@3c06ef6c[read=2018-03-28T13:43:23.118616736Z,networks={eth0={rx_bytes=2536, rx_packets=20, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2400256, max_usage=3993600, stats={active_anon=172032, active_file=1794048, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=434176, mapped_file=1679360, pgfault=1741, pgmajfault=20, pgpgin=1715, pgpgout=1129, rss=172032, rss_huge=0, total_active_anon=172032, total_active_file=1794048, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=434176, total_mapped_file=1679360, total_pgfault=1741, total_pgmajfault=20, total_pgpgin=1715, total_pgpgout=1129, total_rss=172032, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=41534455, percpu_usage=[41534455], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77537400000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:09,216 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@4dc43c95[read=2018-03-28T13:43:24.118687944Z,networks={eth0={rx_bytes=2536, rx_packets=20, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2400256, max_usage=3993600, stats={active_anon=172032, active_file=1794048, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=434176, mapped_file=1679360, pgfault=1741, pgmajfault=20, pgpgin=1715, pgpgout=1129, rss=172032, rss_huge=0, total_active_anon=172032, total_active_file=1794048, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=434176, total_mapped_file=1679360, total_pgfault=1741, total_pgmajfault=20, total_pgpgin=1715, total_pgpgout=1129, total_rss=172032, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=41534455, percpu_usage=[41534455], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77538410000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:10,237 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@6918f105[read=2018-03-28T13:43:25.1186822Z,networks={eth0={rx_bytes=2536, rx_packets=20, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2433024, max_usage=3993600, stats={active_anon=176128, active_file=1802240, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=425984, mapped_file=1679360, pgfault=1882, pgmajfault=20, pgpgin=1772, pgpgout=1185, rss=176128, rss_huge=0, total_active_anon=176128, total_active_file=1802240, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=425984, total_mapped_file=1679360, total_pgfault=1882, total_pgmajfault=20, total_pgpgin=1772, total_pgpgout=1185, total_rss=176128, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=43296007, percpu_usage=[43296007], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77539400000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:11,269 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@5d5fcf2d[read=2018-03-28T13:43:26.12033053Z,networks={eth0={rx_bytes=2643, rx_packets=21, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2404352, max_usage=3993600, stats={active_anon=176128, active_file=1802240, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=425984, mapped_file=1679360, pgfault=1882, pgmajfault=20, pgpgin=1772, pgpgout=1185, rss=176128, rss_huge=0, total_active_anon=176128, total_active_file=1802240, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=425984, total_mapped_file=1679360, total_pgfault=1882, total_pgmajfault=20, total_pgpgin=1772, total_pgpgout=1185, total_rss=176128, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=43296007, percpu_usage=[43296007], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77540380000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:12,287 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@56a92665[read=2018-03-28T13:43:27.119051566Z,networks={eth0={rx_bytes=2643, rx_packets=21, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2404352, max_usage=3993600, stats={active_anon=176128, active_file=1802240, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=425984, mapped_file=1679360, pgfault=1882, pgmajfault=20, pgpgin=1772, pgpgout=1185, rss=176128, rss_huge=0, total_active_anon=176128, total_active_file=1802240, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=425984, total_mapped_file=1679360, total_pgfault=1882, total_pgmajfault=20, total_pgpgin=1772, total_pgpgout=1185, total_rss=176128, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=43296007, percpu_usage=[43296007], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77541370000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:13,310 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@3a6598b1[read=2018-03-28T13:43:28.119648204Z,networks={eth0={rx_bytes=2643, rx_packets=21, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2404352, max_usage=3993600, stats={active_anon=176128, active_file=1802240, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=425984, mapped_file=1679360, pgfault=1882, pgmajfault=20, pgpgin=1772, pgpgout=1185, rss=176128, rss_huge=0, total_active_anon=176128, total_active_file=1802240, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=425984, total_mapped_file=1679360, total_pgfault=1882, total_pgmajfault=20, total_pgpgin=1772, total_pgpgout=1185, total_rss=176128, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=43296007, percpu_usage=[43296007], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77542370000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:14,339 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@14dbc621[read=2018-03-28T13:43:29.118972616Z,networks={eth0={rx_bytes=2643, rx_packets=21, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2404352, max_usage=3993600, stats={active_anon=176128, active_file=1802240, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=425984, mapped_file=1679360, pgfault=1882, pgmajfault=20, pgpgin=1772, pgpgout=1185, rss=176128, rss_huge=0, total_active_anon=176128, total_active_file=1802240, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=425984, total_mapped_file=1679360, total_pgfault=1882, total_pgmajfault=20, total_pgpgin=1772, total_pgpgout=1185, total_rss=176128, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=43296007, percpu_usage=[43296007], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77543360000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]
INFO  2018-03-28 19:25:15,355 [[docker-connector-example].docker-get-container-stats-applicationFlow.stage1.02] org.mule.api.processor.LoggerMessageProcessor: com.github.dockerjava.api.model.Statistics@37de5530[read=2018-03-28T13:43:30.119372703Z,networks={eth0={rx_bytes=2643, rx_packets=21, rx_errors=0, rx_dropped=0, tx_bytes=0, tx_packets=0, tx_errors=0, tx_dropped=0}},network=<null>,memoryStats={usage=2437120, max_usage=3993600, stats={active_anon=163840, active_file=1802240, cache=2228224, dirty=0, hierarchical_memory_limit=9223372036854771712, hierarchical_memsw_limit=0, inactive_anon=0, inactive_file=425984, mapped_file=1712128, pgfault=2023, pgmajfault=20, pgpgin=1828, pgpgout=1241, rss=176128, rss_huge=0, total_active_anon=163840, total_active_file=1802240, total_cache=2228224, total_dirty=0, total_inactive_anon=0, total_inactive_file=425984, total_mapped_file=1712128, total_pgfault=2023, total_pgmajfault=20, total_pgpgin=1828, total_pgpgout=1241, total_rss=176128, total_rss_huge=0, total_unevictable=0, total_writeback=0, unevictable=0, writeback=0}, limit=4143640576},blkioStats={io_service_bytes_recursive=[{major=8, minor=0, op=Read, value=2228224}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=2228224}, {major=8, minor=0, op=Total, value=2228224}], io_serviced_recursive=[{major=8, minor=0, op=Read, value=41}, {major=8, minor=0, op=Write, value=0}, {major=8, minor=0, op=Sync, value=0}, {major=8, minor=0, op=Async, value=41}, {major=8, minor=0, op=Total, value=41}], io_queue_recursive=[], io_service_time_recursive=[], io_wait_time_recursive=[], io_merged_recursive=[], io_time_recursive=[], sectors_recursive=[]},cpuStats={cpu_usage={total_usage=46207412, percpu_usage=[46207412], usage_in_kernelmode=20000000, usage_in_usermode=20000000}, system_cpu_usage=77544360000000, online_cpus=1, throttling_data={periods=0, throttled_periods=0, throttled_time=0}}]

I hope, this article is helpful and you have enjoyed it!

Please share your review and comments on Docker Connector!

With SnapLogic’s integration platform you can save millions of dollars, increase integrator productivity by 5X, and reduce integration time to value by 90%. Sign up for our risk-free 30-day trial!

Topics:
mulesoft ,docker container ,mule flow ,integration ,container integration

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}