new: Create new API stats.
This is a method of the ApiStats class in the telemetry module.
def new(endpoint: impl Into<String>) -> Self