jmeterloadperfmon

testing performance on Linux dockers


I have several scripts testing performance of Linux server. there are about 12 dockers containers running inside the Linux.

We are interested on collecting also metrics of containers (right now we are collecting only of the Linux machine itself) Is there any plugin for this? or can this be done with the Perfmon plugin?


Solution

  • There are several ways of monitoring Docker instance statistics:

    1. Built-in Runtime Metrics
    2. cAdvisor - probably this one will be the easiest to setup and use
    3. Any of built-in Linux monitoring tools

    Of course you can normally use JMeter PerfMon Plugin as this way you will get performance monitoring results integrated into your test script and be able to correlate JMeter metrics with server health metrics. Just make sure there is a TCP/UDP connectivity between JMeter and PerfMon Server Agent, default port is 4445 so make sure container exposes this port to the outside world.