Learn when to replace missing Prometheus data with zero, use vector(0) with matching labels, and detect missing metrics with PromQL.