The primary metric is the single indicator that decides the outcome of an A/B test. Guardrail metrics are secondary indicators monitored to check that the variant does not degrade anything important, such as load time or product returns. Defining them before launch avoids picking whichever metric suits you.
Example
Primary: conversion rate; guardrails: load time and unsubscribe rate.