Profiler configuration through Yaml and DI