now auto wiring should be working for the metrics service