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
one listen port for metrics and another for ingress (#73)
* one listen port for metrics and another for ingress
Signed-off-by: cpanato <[email protected]>
* add mote tests
Signed-off-by: cpanato <[email protected]>
* update flag description
Signed-off-by: cpanato <[email protected]>
---------
Signed-off-by: cpanato <[email protected]>
Copy file name to clipboardExpand all lines: main.go
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,8 @@ import (
18
18
)
19
19
20
20
var (
21
-
listenAddress=kingpin.Flag("web.listen-address", "Address to listen on for web interface and telemetry.").Default(":9101").String()
21
+
listenAddressMetrics=kingpin.Flag("web.listen-address", "Address to listen on for metrics.").Default(":9101").String()
22
+
listenAddressIngress=kingpin.Flag("web.listen-address-ingress", "Address to listen on for web interface and receive webhook.").Default(":8065").String()
22
23
metricsPath=kingpin.Flag("web.telemetry-path", "Path under which to expose metrics.").Default("/metrics").String()
23
24
ghWebHookPath=kingpin.Flag("web.gh-webhook-path", "Path that will be called by the GitHub webhook.").Default("/gh_event").String()
0 commit comments