Guard against a missing <metrics> section.