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
`metricsAddress` and `metricsPort` can be used to configure
livenessprobe sidecar metrics configuration
Signed-off-by: Humble Chirammal <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,10 @@ spec:
75
75
76
76
*`--probe-timeout <duration>`: Maximum duration of single `Probe()` call (default "1s").
77
77
78
+
*`--metrics-address <port>`: The TCP network address where the prometheus metrics endpoint will listen (example: `:8080`). The default is empty string, which means metrics endpoint is disabled.
79
+
80
+
*`--metrics-path <path>`: The HTTP path where prometheus metrics will be exposed. Default is `/metrics`."
81
+
78
82
* All glog / klog arguments are supported, such as `-v <log level>` or `-alsologtostderr`.
79
83
80
84
## Community, discussion, contribution, and support
probeTimeout=flag.Duration("probe-timeout", time.Second, "Probe timeout in seconds")
36
-
csiAddress=flag.String("csi-address", "/run/csi/socket", "Address of the CSI driver socket.")
37
-
healthzPort=flag.String("health-port", "9808", "TCP ports for listening healthz requests")
37
+
probeTimeout=flag.Duration("probe-timeout", time.Second, "Probe timeout in seconds")
38
+
csiAddress=flag.String("csi-address", "/run/csi/socket", "Address of the CSI driver socket.")
39
+
healthzPort=flag.String("health-port", "9808", "TCP ports for listening healthz requests")
40
+
metricsAddress=flag.String("metrics-address", "", "The TCP network address where the prometheus metrics endpoint will listen (example: `:8080`). The default is empty string, which means metrics endpoint is disabled.")
41
+
metricsPath=flag.String("metrics-path", "/metrics", "The HTTP path where prometheus metrics will be exposed. Default is `/metrics`.")
0 commit comments