use mongo for internal metrics