metrics as objects in stats subsystem