Generate JVM memory stats.
Handle optimizely metrics.