func catalogedMetricURI(host string, mt core.CatalogedMetric) string { return fmt.Sprintf("%s://%s/v1/metrics%s?ver=%d", protocolPrefix, host, core.JoinNamespace(mt.Namespace()), mt.Version()) }
func catalogedMetricURI(host string, mt core.CatalogedMetric) string { return fmt.Sprintf("%s://%s/v1/metrics?ns=%s&ver=%d", protocolPrefix, host, url.QueryEscape(mt.Namespace().String()), mt.Version()) }