metrics spec