convert metrics to module to prevent multiple registries