You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
serviceName=flag.String("service-name", "", "Remote service name to reference.")
28
+
serviceProtocol=flag.String("service-protocol", "http", "HTTP Schema of the remote service (http or https).")
29
+
serviceUri=flag.String("service-uri", "", "Endpoint address of the remote service.")
30
+
servicePort=flag.String("service-port", "80", "HTTP Port of the remote service.")
25
31
serviceMetricsPath=flag.String("service-metrics-path", "metrics", "Service path to scrape metrics from.")
26
-
serviceVersionScrape=flag.Bool("service-version-scrape", false, "Enable whether the service will be internally scraped for fetching remote build version or not")
serviceVersionScrape=flag.Bool("service-version-scrape", false, "Enable whether the service will be internally scraped for fetching remote build version or not.")
28
33
)
29
34
30
35
funcmain() {
31
36
flag.Parse()
32
37
33
38
name:=*serviceName
34
39
ifstrings.Trim(name, " ") =="" {
35
-
log.Fatalln("Service name not known! Specify by -service-name SERVICE")
40
+
log.Fatalln("Service name not set! Specify by -service-name SERVICE")
0 commit comments