Extracting the instance name here means it has to parse/extract the instance name again and again, even when a single metric name is used to create multiple Stackdriver data points... the alternative was to make significant changes to the calling code, which seemed riskier.