Azure Functions has dynamic tracing functionality for Java with App Insights. Where it collects metrics against several libraries. Full list here.
As per this, for Linux, adding the config ApplicationInsightsAgent_EXTENSION_VERSION=~3 should make it work. It works as expected if the azure function is deployed as code runtime.
But it doesn't work when the azure function is deployed against docker!
