Add machine-readable types for retrieving metrics from a remote service