Metrics as hotspot

Refactor needed. This will be done after got running software.