Add metrics collection ability