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
Copy file name to clipboardExpand all lines: docs/user-guide/cli-arguments.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ They are set in the container spec of the `ingress-nginx-controller` Deployment
8
8
|----------|-------------|
9
9
|`--annotations-prefix`| Prefix of the Ingress annotations specific to the NGINX controller. (default "nginx.ingress.kubernetes.io") |
10
10
|`--apiserver-host`| Address of the Kubernetes API server. Takes the form "protocol://address:port". If not specified, it is assumed the program runs inside a Kubernetes cluster and local discovery is attempted. |
11
+
|`--bucket-factor`| Bucket factor for native histograms. Value must be > 1 for enabling native histograms. (default 0) |
11
12
|`--certificate-authority`| Path to a cert file for the certificate authority. This certificate is used only when the flag --apiserver-host is specified. |
12
13
|`--configmap`| Name of the ConfigMap containing custom global configurations for the controller. |
13
14
|`--controller-class`| Ingress Class Controller value this Ingress satisfies. The class of an Ingress object is set using the field IngressClassName in Kubernetes clusters version v1.19.0 or higher. The .spec.controller value of the IngressClass referenced in an Ingress Object should be the same value specified here to make this object be watched. |
@@ -40,6 +41,7 @@ They are set in the container spec of the `ingress-nginx-controller` Deployment
40
41
|`--internal-logger-address`| Address to be used when binding internal syslogger. (default 127.0.0.1:11514) |
41
42
|`--kubeconfig`| Path to a kubeconfig file containing authorization and API server information. |
42
43
|`--length-buckets`| Set of buckets which will be used for prometheus histogram metrics such as RequestLength, ResponseLength. (default `[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]`) |
44
+
|`--max-buckets`| Maximum number of buckets for native histograms. (default 100) |
|`--maxmind-retries-timeout`| Maxmind downloading delay between 1st and 2nd attempt, 0s - do not retry to download if something went wrong. (default 0s) |
45
47
|`--maxmind-retries-count`| Number of attempts to download the GeoIP DB. (default 1) |
Copy file name to clipboardExpand all lines: pkg/flags/flags.go
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -183,6 +183,8 @@ Requires the update-status parameter.`)
183
183
timeBuckets=flags.Float64Slice("time-buckets", prometheus.DefBuckets, "Set of buckets which will be used for prometheus histogram metrics such as RequestTime, ResponseTime.")
184
184
lengthBuckets=flags.Float64Slice("length-buckets", prometheus.LinearBuckets(10, 10, 10), "Set of buckets which will be used for prometheus histogram metrics such as RequestLength, ResponseLength.")
185
185
sizeBuckets=flags.Float64Slice("size-buckets", prometheus.ExponentialBuckets(10, 10, 7), "Set of buckets which will be used for prometheus histogram metrics such as BytesSent.")
186
+
bucketFactor=flags.Float64("bucket-factor", 0, "Bucket factor for native histograms. Value must be > 1 for enabling native histograms.")
187
+
maxBuckets=flags.Uint32("max-buckets", 100, "Maximum number of buckets for native histograms.")
186
188
excludeSocketMetrics=flags.StringSlice("exclude-socket-metrics", []string{}, "et of socket request metrics to exclude which won't be exported nor being calculated. E.g. 'nginx_ingress_controller_success,nginx_ingress_controller_header_duration_seconds'.")
187
189
monitorMaxBatchSize=flags.Int("monitor-max-batch-size", 10000, "Max batch size of NGINX metrics.")
0 commit comments