I've opensourced a mesos executor and additional tools that embed the performance counter software papi (http://icl.cs.utk.edu/papi/) into the embedded python, r, java (jvm), and ruby interpreters/runtimes. c/c++ applications are also supported.
Container users won't be able to use the mesos executor (the executor it will only work for "bare metal" applications). Container users can use the papi-embedded versions of the python, r, java (jvm), and ruby interpreters/runtimes by adding them into their container applications. users will have to run their programs using these papi-embedded versions of their interpreter/runtime. source can be found here: https://github.com/ct-clmsn/mesos-papi Chris