Documentation
¶
Index ¶
Constants ¶
View Source
const ( SchemeTagsKey = "promconsulfetcher.scheme" MetricPathTagsKey = "promconsulfetcher.metric_path" )
Variables ¶
View Source
var ( // CatalogServiceQueryRe is the regular expression to use. CatalogServiceQueryRe = regexp.MustCompile(`\A` + tagRe + serviceNameRe + dcRe + nearRe + `\z`) )
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { ID string Node string Address string Datacenter string TaggedAddresses map[string]string NodeMeta map[string]string ServiceID string ServiceName string ServiceAddress string ServiceTags ServiceTags ServiceMeta map[string]string ServicePort int }
func (*Route) FindMetricsPath ¶
func (*Route) FindScheme ¶
type ServiceSearch ¶
func SearchToServiceSearch ¶
func SearchToServiceSearch(search string) (ServiceSearch, error)
func (ServiceSearch) String ¶
func (s ServiceSearch) String() string
type ServiceTags ¶
type ServiceTags []string
Click to show internal directories.
Click to hide internal directories.