func BuildURL(annotations map[string]string) string {
	port := openmetricsDefaultPort
	if portFromAnnotation, found := annotations[PrometheusPortAnnotation]; found {
		port = portFromAnnotation
	}

	path := openmetricsDefaultPath
	if pathFromAnnotation, found := annotations[PrometheusPathAnnotation]; found {
		path = pathFromAnnotation
	}

	return openmetricsURLPrefix + port + path
}
// BuildURL returns the 'prometheus_url' based on the default values
// and the prometheus path and port annotations
BuildURL returns the 'prometheus_url' based on the default values
and the prometheus path and port annotations
// BuildURL returns the ' prometheus_url ' based on the default values // and the prometheus path and port annotations
func BuildURL(annotations map[string]string) string {
	port := openmetricsDefaultPort
	if portFromAnnotation, found := annotations[PrometheusPortAnnotation]; found {
		port = portFromAnnotation
	}
	path := openmetricsDefaultPath
	if pathFromAnnotation, found := annotations[PrometheusPathAnnotation]; found {
		path = pathFromAnnotation
	}
	return openmetricsURLPrefix + port + path
}
func BuildURL ( annotations map [ string ] string ) string { port := openmetricsDefaultPort if portFromAnnotation , found := annotations [ PrometheusPortAnnotation ] ; found { port = portFromAnnotation } path := openmetricsDefaultPath if pathFromAnnotation , found := annotations [ PrometheusPathAnnotation ] ; found { path = pathFromAnnotation } return openmetricsURLPrefix + port + path }
BuildURL returns the 'prometheus_url' based on the default values
and the prometheus path and port annotations
BuildURL returns the ' prometheus_url ' based on the default values and the prometheus path and port annotations