fix for crashing metric creation if a service is set to not be monitored
putting the filename back