APM support for Scala applications