diff --git a/docs/content/cli/forwarder_pac_eval.md b/docs/content/cli/forwarder_pac_eval.md index 3a6bb751..a7a96e55 100644 --- a/docs/content/cli/forwarder_pac_eval.md +++ b/docs/content/cli/forwarder_pac_eval.md @@ -90,11 +90,27 @@ Syntax: - File: `/path/to/file.pac` - Embed: `data:base64,` +### `--http-dial-attempts` {#http-dial-attempts} + +* Environment variable: `FORWARDER_HTTP_DIAL_ATTEMPTS` +* Value Format: `` +* Default value: `3` + +The number of attempts to dial the network address. + +### `--http-dial-backoff` {#http-dial-backoff} + +* Environment variable: `FORWARDER_HTTP_DIAL_BACKOFF` +* Value Format: `` +* Default value: `1s` + +The amount of time to wait between dial attempts. + ### `--http-dial-timeout` {#http-dial-timeout} * Environment variable: `FORWARDER_HTTP_DIAL_TIMEOUT` * Value Format: `` -* Default value: `30s` +* Default value: `25s` The maximum amount of time a dial will wait for a connect to complete. With or without a timeout, the operating system may impose its own earlier timeout. diff --git a/docs/content/cli/forwarder_pac_server.md b/docs/content/cli/forwarder_pac_server.md index 1c79f637..dd2eb3c4 100644 --- a/docs/content/cli/forwarder_pac_server.md +++ b/docs/content/cli/forwarder_pac_server.md @@ -80,6 +80,26 @@ For https and h2 protocols, if TLS certificate is not specified, the server will The amount of time allowed to read request headers. +### `--read-limit` {#read-limit} + +* Environment variable: `FORWARDER_READ_LIMIT` +* Value Format: `` +* Default value: `0` + +Global read rate limit in bytes per second i.e. +how many bytes per second you can receive from a proxy. +Accepts binary format (e.g. +1.5Ki, 1Mi, 3.6Gi). + +### `--shutdown-timeout` {#shutdown-timeout} + +* Environment variable: `FORWARDER_SHUTDOWN_TIMEOUT` +* Value Format: `` +* Default value: `30s` + +The maximum amount of time to wait for the server to drain connections before closing. +Zero means no limit. + ### `--tls-cert-file` {#tls-cert-file} * Environment variable: `FORWARDER_TLS_CERT_FILE` @@ -113,6 +133,17 @@ Syntax: - File: `/path/to/file.pac` - Embed: `data:base64,` +### `--write-limit` {#write-limit} + +* Environment variable: `FORWARDER_WRITE_LIMIT` +* Value Format: `` +* Default value: `0` + +Global write rate limit in bytes per second i.e. +how many bytes per second you can send to proxy. +Accepts binary format (e.g. +1.5Ki, 1Mi, 3.6Gi). + ## Proxy options ### `-p, --pac` {#pac} @@ -176,11 +207,27 @@ Syntax: - File: `/path/to/file.pac` - Embed: `data:base64,` +### `--http-dial-attempts` {#http-dial-attempts} + +* Environment variable: `FORWARDER_HTTP_DIAL_ATTEMPTS` +* Value Format: `` +* Default value: `3` + +The number of attempts to dial the network address. + +### `--http-dial-backoff` {#http-dial-backoff} + +* Environment variable: `FORWARDER_HTTP_DIAL_BACKOFF` +* Value Format: `` +* Default value: `1s` + +The amount of time to wait between dial attempts. + ### `--http-dial-timeout` {#http-dial-timeout} * Environment variable: `FORWARDER_HTTP_DIAL_TIMEOUT` * Value Format: `` -* Default value: `30s` +* Default value: `25s` The maximum amount of time a dial will wait for a connect to complete. With or without a timeout, the operating system may impose its own earlier timeout. diff --git a/docs/content/cli/forwarder_run.md b/docs/content/cli/forwarder_run.md index 3609823e..4fc39063 100644 --- a/docs/content/cli/forwarder_run.md +++ b/docs/content/cli/forwarder_run.md @@ -86,6 +86,25 @@ The name value in Via header is extended with a random string to avoid collision The server protocol. For https and h2 protocols, if TLS certificate is not specified, the server will use a self-signed certificate. +### `--proxy-protocol-listener` {#proxy-protocol-listener} + +* Environment variable: `FORWARDER_PROXY_PROTOCOL_LISTENER` +* Value Format: `` +* Default value: `false` + +The PROXY protocol is used to correctly read the client's IP address. +When enabled the proxy will expect the client to send the PROXY protocol header before the actual request. +PROXY protocol version 1 and 2 are supported. + +### `--proxy-protocol-read-header-timeout` {#proxy-protocol-read-header-timeout} + +* Environment variable: `FORWARDER_PROXY_PROTOCOL_READ_HEADER_TIMEOUT` +* Value Format: `` +* Default value: `5s` + +The amount of time to wait for PROXY protocol header. +Zero means no limit. + ### `--read-header-timeout` {#read-header-timeout} * Environment variable: `FORWARDER_READ_HEADER_TIMEOUT` @@ -105,6 +124,15 @@ how many bytes per second you can receive from a proxy. Accepts binary format (e.g. 1.5Ki, 1Mi, 3.6Gi). +### `--shutdown-timeout` {#shutdown-timeout} + +* Environment variable: `FORWARDER_SHUTDOWN_TIMEOUT` +* Value Format: `` +* Default value: `30s` + +The maximum amount of time to wait for the server to drain connections before closing. +Zero means no limit. + ### `--tls-cert-file` {#tls-cert-file} * Environment variable: `FORWARDER_TLS_CERT_FILE` @@ -279,6 +307,23 @@ Syntax: - File: `/path/to/file.pac` - Embed: `data:base64,` +### `--mitm-cache-size` {#mitm-cache-size} + +* Environment variable: `FORWARDER_MITM_CACHE_SIZE` +* Value Format: `` +* Default value: `1024` + +Maximum number of certificates to cache. +If the cache is full, the least recently used certificate is removed. + +### `--mitm-cache-ttl` {#mitm-cache-ttl} + +* Environment variable: `FORWARDER_MITM_CACHE_TTL` +* Value Format: `` +* Default value: `6h0m0s` + +Expiration time of the cached certificates. + ### `--mitm-cakey-file` {#mitm-cakey-file} * Environment variable: `FORWARDER_MITM_CAKEY_FILE` @@ -356,11 +401,41 @@ Syntax: - File: `/path/to/file.pac` - Embed: `data:base64,` +### `--connect-to` {#connect-to} + +* Environment variable: `FORWARDER_CONNECT_TO` +* Value Format: `,...` + +For a request to the given HOST1:PORT1 pair, connect to HOST2:PORT2 instead. +This option is suitable to direct requests at a specific server, e.g. +at a specific cluster node in a cluster of servers. +This option is only used to establish the network connection and does not work when request is routed using an upstream proxy. +It does NOT affect the hostname/port that is used for TLS/SSL (e.g. +SNI, certificate verification) or for the application protocols. +HOST1 and PORT1 may be the empty string, meaning any host/port. +HOST2 and PORT2 may also be the empty string, meaning use the request's original host/port. + +### `--http-dial-attempts` {#http-dial-attempts} + +* Environment variable: `FORWARDER_HTTP_DIAL_ATTEMPTS` +* Value Format: `` +* Default value: `3` + +The number of attempts to dial the network address. + +### `--http-dial-backoff` {#http-dial-backoff} + +* Environment variable: `FORWARDER_HTTP_DIAL_BACKOFF` +* Value Format: `` +* Default value: `1s` + +The amount of time to wait between dial attempts. + ### `--http-dial-timeout` {#http-dial-timeout} * Environment variable: `FORWARDER_HTTP_DIAL_TIMEOUT` * Value Format: `` -* Default value: `30s` +* Default value: `25s` The maximum amount of time a dial will wait for a connect to complete. With or without a timeout, the operating system may impose its own earlier timeout. @@ -445,6 +520,37 @@ The maximum amount of time to wait for the next request before closing connectio The amount of time allowed to read request headers. +### `--api-read-limit` {#api-read-limit} + +* Environment variable: `FORWARDER_API_READ_LIMIT` +* Value Format: `` +* Default value: `0` + +Global read rate limit in bytes per second i.e. +how many bytes per second you can receive from a proxy. +Accepts binary format (e.g. +1.5Ki, 1Mi, 3.6Gi). + +### `--api-shutdown-timeout` {#api-shutdown-timeout} + +* Environment variable: `FORWARDER_API_SHUTDOWN_TIMEOUT` +* Value Format: `` +* Default value: `30s` + +The maximum amount of time to wait for the server to drain connections before closing. +Zero means no limit. + +### `--api-write-limit` {#api-write-limit} + +* Environment variable: `FORWARDER_API_WRITE_LIMIT` +* Value Format: `` +* Default value: `0` + +Global write rate limit in bytes per second i.e. +how many bytes per second you can send to proxy. +Accepts binary format (e.g. +1.5Ki, 1Mi, 3.6Gi). + ## Logging options ### `--log-file` {#log-file} diff --git a/docs/content/cli/forwarder_test_httpbin.md b/docs/content/cli/forwarder_test_httpbin.md index 7149572c..251946e7 100644 --- a/docs/content/cli/forwarder_test_httpbin.md +++ b/docs/content/cli/forwarder_test_httpbin.md @@ -56,6 +56,26 @@ For https and h2 protocols, if TLS certificate is not specified, the server will The amount of time allowed to read request headers. +### `--read-limit` {#read-limit} + +* Environment variable: `FORWARDER_READ_LIMIT` +* Value Format: `` +* Default value: `0` + +Global read rate limit in bytes per second i.e. +how many bytes per second you can receive from a proxy. +Accepts binary format (e.g. +1.5Ki, 1Mi, 3.6Gi). + +### `--shutdown-timeout` {#shutdown-timeout} + +* Environment variable: `FORWARDER_SHUTDOWN_TIMEOUT` +* Value Format: `` +* Default value: `30s` + +The maximum amount of time to wait for the server to drain connections before closing. +Zero means no limit. + ### `--tls-cert-file` {#tls-cert-file} * Environment variable: `FORWARDER_TLS_CERT_FILE` @@ -89,6 +109,17 @@ Syntax: - File: `/path/to/file.pac` - Embed: `data:base64,` +### `--write-limit` {#write-limit} + +* Environment variable: `FORWARDER_WRITE_LIMIT` +* Value Format: `` +* Default value: `0` + +Global write rate limit in bytes per second i.e. +how many bytes per second you can send to proxy. +Accepts binary format (e.g. +1.5Ki, 1Mi, 3.6Gi). + ## Logging options ### `--log-file` {#log-file} diff --git a/docs/content/config/forwarder_pac_eval.yaml b/docs/content/config/forwarder_pac_eval.yaml index cda316f5..cd67cabc 100644 --- a/docs/content/config/forwarder_pac_eval.yaml +++ b/docs/content/config/forwarder_pac_eval.yaml @@ -46,12 +46,22 @@ # - Embed: data:base64, #cacert-file: +# http-dial-attempts +# +# The number of attempts to dial the network address. +#http-dial-attempts: 3 + +# http-dial-backoff +# +# The amount of time to wait between dial attempts. +#http-dial-backoff: 1s + # http-dial-timeout # # The maximum amount of time a dial will wait for a connect to complete. With or # without a timeout, the operating system may impose its own earlier timeout. # For instance, TCP timeouts are often around 3 minutes. -#http-dial-timeout: 30s +#http-dial-timeout: 25s # http-idle-conn-timeout # diff --git a/docs/content/config/forwarder_pac_server.yaml b/docs/content/config/forwarder_pac_server.yaml index d4f08c91..5fa8cd64 100644 --- a/docs/content/config/forwarder_pac_server.yaml +++ b/docs/content/config/forwarder_pac_server.yaml @@ -28,6 +28,18 @@ # The amount of time allowed to read request headers. #read-header-timeout: 1m0s +# read-limit +# +# Global read rate limit in bytes per second i.e. how many bytes per second you +# can receive from a proxy. Accepts binary format (e.g. 1.5Ki, 1Mi, 3.6Gi). +#read-limit: 0 + +# shutdown-timeout +# +# The maximum amount of time to wait for the server to drain connections before +# closing. Zero means no limit. +#shutdown-timeout: 30s + # tls-cert-file # # TLS certificate to use if the server protocol is https or h2. @@ -52,6 +64,12 @@ # - Embed: data:base64, #tls-key-file: +# write-limit +# +# Global write rate limit in bytes per second i.e. how many bytes per second you +# can send to proxy. Accepts binary format (e.g. 1.5Ki, 1Mi, 3.6Gi). +#write-limit: 0 + # --- Proxy options --- # pac @@ -100,12 +118,22 @@ # - Embed: data:base64, #cacert-file: +# http-dial-attempts +# +# The number of attempts to dial the network address. +#http-dial-attempts: 3 + +# http-dial-backoff +# +# The amount of time to wait between dial attempts. +#http-dial-backoff: 1s + # http-dial-timeout # # The maximum amount of time a dial will wait for a connect to complete. With or # without a timeout, the operating system may impose its own earlier timeout. # For instance, TCP timeouts are often around 3 minutes. -#http-dial-timeout: 30s +#http-dial-timeout: 25s # http-idle-conn-timeout # diff --git a/docs/content/config/forwarder_run.yaml b/docs/content/config/forwarder_run.yaml index b9926020..608f2df0 100644 --- a/docs/content/config/forwarder_run.yaml +++ b/docs/content/config/forwarder_run.yaml @@ -37,6 +37,18 @@ # specified, the server will use a self-signed certificate. #protocol: http +# proxy-protocol-listener +# +# The PROXY protocol is used to correctly read the client's IP address. When +# enabled the proxy will expect the client to send the PROXY protocol header +# before the actual request. PROXY protocol version 1 and 2 are supported. +#proxy-protocol-listener: false + +# proxy-protocol-read-header-timeout +# +# The amount of time to wait for PROXY protocol header. Zero means no limit. +#proxy-protocol-read-header-timeout: 5s + # read-header-timeout # # The amount of time allowed to read request headers. @@ -48,6 +60,12 @@ # can receive from a proxy. Accepts binary format (e.g. 1.5Ki, 1Mi, 3.6Gi). #read-limit: 0 +# shutdown-timeout +# +# The maximum amount of time to wait for the server to drain connections before +# closing. Zero means no limit. +#shutdown-timeout: 30s + # tls-cert-file # # TLS certificate to use if the server protocol is https or h2. @@ -181,6 +199,17 @@ # - Embed: data:base64, #mitm-cacert-file: +# mitm-cache-size +# +# Maximum number of certificates to cache. If the cache is full, the least +# recently used certificate is removed. +#mitm-cache-size: 1024 + +# mitm-cache-ttl +# +# Expiration time of the cached certificates. +#mitm-cache-ttl: 6h0m0s + # mitm-cakey-file # # CA key file to use for generating MITM certificates. @@ -237,12 +266,35 @@ # - Embed: data:base64, #cacert-file: +# connect-to ,... +# +# For a request to the given HOST1:PORT1 pair, connect to HOST2:PORT2 instead. +# This option is suitable to direct requests at a specific server, e.g. at a +# specific cluster node in a cluster of servers. This option is only used to +# establish the network connection and does not work when request is routed +# using an upstream proxy. It does NOT affect the hostname/port that is used for +# TLS/SSL (e.g. SNI, certificate verification) or for the application protocols. +# HOST1 and PORT1 may be the empty string, meaning any host/port. HOST2 and +# PORT2 may also be the empty string, meaning use the request's original +# host/port. +#connect-to: + +# http-dial-attempts +# +# The number of attempts to dial the network address. +#http-dial-attempts: 3 + +# http-dial-backoff +# +# The amount of time to wait between dial attempts. +#http-dial-backoff: 1s + # http-dial-timeout # # The maximum amount of time a dial will wait for a connect to complete. With or # without a timeout, the operating system may impose its own earlier timeout. # For instance, TCP timeouts are often around 3 minutes. -#http-dial-timeout: 30s +#http-dial-timeout: 25s # http-idle-conn-timeout # @@ -300,6 +352,24 @@ # The amount of time allowed to read request headers. #api-read-header-timeout: 1m0s +# api-read-limit +# +# Global read rate limit in bytes per second i.e. how many bytes per second you +# can receive from a proxy. Accepts binary format (e.g. 1.5Ki, 1Mi, 3.6Gi). +#api-read-limit: 0 + +# api-shutdown-timeout +# +# The maximum amount of time to wait for the server to drain connections before +# closing. Zero means no limit. +#api-shutdown-timeout: 30s + +# api-write-limit +# +# Global write rate limit in bytes per second i.e. how many bytes per second you +# can send to proxy. Accepts binary format (e.g. 1.5Ki, 1Mi, 3.6Gi). +#api-write-limit: 0 + # --- Logging options --- # log-file diff --git a/docs/content/config/forwarder_test_httpbin.yaml b/docs/content/config/forwarder_test_httpbin.yaml index fe434159..022a7326 100644 --- a/docs/content/config/forwarder_test_httpbin.yaml +++ b/docs/content/config/forwarder_test_httpbin.yaml @@ -28,6 +28,18 @@ # The amount of time allowed to read request headers. #read-header-timeout: 1m0s +# read-limit +# +# Global read rate limit in bytes per second i.e. how many bytes per second you +# can receive from a proxy. Accepts binary format (e.g. 1.5Ki, 1Mi, 3.6Gi). +#read-limit: 0 + +# shutdown-timeout +# +# The maximum amount of time to wait for the server to drain connections before +# closing. Zero means no limit. +#shutdown-timeout: 30s + # tls-cert-file # # TLS certificate to use if the server protocol is https or h2. @@ -52,6 +64,12 @@ # - Embed: data:base64, #tls-key-file: +# write-limit +# +# Global write rate limit in bytes per second i.e. how many bytes per second you +# can send to proxy. Accepts binary format (e.g. 1.5Ki, 1Mi, 3.6Gi). +#write-limit: 0 + # --- Logging options --- # log-file diff --git a/docs/content/metrics.md b/docs/content/metrics.md index 98102deb..05bcc698 100644 --- a/docs/content/metrics.md +++ b/docs/content/metrics.md @@ -7,14 +7,14 @@ title: Metrics ## forwarder run -### `forwarder_dialer_closed_total` +### `forwarder_dialer_cx_active` -Number of closed connections +Number of active connections Labels: - host -### `forwarder_dialer_dialed_total` +### `forwarder_dialer_cx_total` Number of dialed connections @@ -23,7 +23,14 @@ Labels: ### `forwarder_dialer_errors_total` -Number of dialer errors +Number of errors dialing connections + +Labels: + - host + +### `forwarder_dialer_retries_total` + +Number of dial retries Labels: - host @@ -39,14 +46,6 @@ Labels: The HTTP request latencies in seconds. -Labels: - - code - - method - -### `forwarder_http_request_size_bytes` - -The HTTP request sizes in bytes. - Labels: - code - method @@ -66,30 +65,18 @@ Labels: - code - method -### `forwarder_http_response_size_bytes` - -The HTTP response sizes in bytes. +### `forwarder_listener_cx_active` -Labels: - - code - - method +Number of active connections -### `forwarder_listener_accepted_total` +### `forwarder_listener_cx_total` Number of accepted connections -### `forwarder_listener_closed_total` - -Number of closed connections - ### `forwarder_listener_errors_total` Number of listener errors when accepting connections -### `forwarder_listener_tls_errors_total` - -Number of TLS handshake errors - ### `forwarder_process_cpu_seconds_total` Total user and system CPU time spent in seconds. @@ -98,6 +85,14 @@ Total user and system CPU time spent in seconds. Maximum number of open file descriptors. +### `forwarder_process_network_receive_bytes_total` + +Number of bytes received by the process over the network. + +### `forwarder_process_network_transmit_bytes_total` + +Number of bytes sent by the process over the network. + ### `forwarder_process_open_fds` Number of open file descriptors. @@ -144,7 +139,15 @@ Memory limit for the process ### `go_gc_duration_seconds` -A summary of the pause duration of garbage collection cycles. +A summary of the wall-time pause (stop-the-world) duration in garbage collection cycles. + +### `go_gc_gogc_percent` + +Heap size target percentage configured by the user, otherwise 100. This value is set by the GOGC environment variable, and the runtime/debug.SetGCPercent function. Sourced from /gc/gogc:percent + +### `go_gc_gomemlimit_bytes` + +Go runtime memory limit configured by the user, otherwise math.MaxInt64. This value is set by the GOMEMLIMIT environment variable, and the runtime/debug.SetMemoryLimit function. Sourced from /gc/gomemlimit:bytes ### `go_goroutines` @@ -159,95 +162,95 @@ Labels: ### `go_memstats_alloc_bytes` -Number of bytes allocated and still in use. +Number of bytes allocated in heap and currently in use. Equals to /memory/classes/heap/objects:bytes. ### `go_memstats_alloc_bytes_total` -Total number of bytes allocated, even if freed. +Total number of bytes allocated in heap until now, even if released already. Equals to /gc/heap/allocs:bytes. ### `go_memstats_buck_hash_sys_bytes` -Number of bytes used by the profiling bucket hash table. +Number of bytes used by the profiling bucket hash table. Equals to /memory/classes/profiling/buckets:bytes. ### `go_memstats_frees_total` -Total number of frees. +Total number of heap objects frees. Equals to /gc/heap/frees:objects + /gc/heap/tiny/allocs:objects. ### `go_memstats_gc_sys_bytes` -Number of bytes used for garbage collection system metadata. +Number of bytes used for garbage collection system metadata. Equals to /memory/classes/metadata/other:bytes. ### `go_memstats_heap_alloc_bytes` -Number of heap bytes allocated and still in use. +Number of heap bytes allocated and currently in use, same as go_memstats_alloc_bytes. Equals to /memory/classes/heap/objects:bytes. ### `go_memstats_heap_idle_bytes` -Number of heap bytes waiting to be used. +Number of heap bytes waiting to be used. Equals to /memory/classes/heap/released:bytes + /memory/classes/heap/free:bytes. ### `go_memstats_heap_inuse_bytes` -Number of heap bytes that are in use. +Number of heap bytes that are in use. Equals to /memory/classes/heap/objects:bytes + /memory/classes/heap/unused:bytes ### `go_memstats_heap_objects` -Number of allocated objects. +Number of currently allocated objects. Equals to /gc/heap/objects:objects. ### `go_memstats_heap_released_bytes` -Number of heap bytes released to OS. +Number of heap bytes released to OS. Equals to /memory/classes/heap/released:bytes. ### `go_memstats_heap_sys_bytes` -Number of heap bytes obtained from system. +Number of heap bytes obtained from system. Equals to /memory/classes/heap/objects:bytes + /memory/classes/heap/unused:bytes + /memory/classes/heap/released:bytes + /memory/classes/heap/free:bytes. ### `go_memstats_last_gc_time_seconds` Number of seconds since 1970 of last garbage collection. -### `go_memstats_lookups_total` - -Total number of pointer lookups. - ### `go_memstats_mallocs_total` -Total number of mallocs. +Total number of heap objects allocated, both live and gc-ed. Semantically a counter version for go_memstats_heap_objects gauge. Equals to /gc/heap/allocs:objects + /gc/heap/tiny/allocs:objects. ### `go_memstats_mcache_inuse_bytes` -Number of bytes in use by mcache structures. +Number of bytes in use by mcache structures. Equals to /memory/classes/metadata/mcache/inuse:bytes. ### `go_memstats_mcache_sys_bytes` -Number of bytes used for mcache structures obtained from system. +Number of bytes used for mcache structures obtained from system. Equals to /memory/classes/metadata/mcache/inuse:bytes + /memory/classes/metadata/mcache/free:bytes. ### `go_memstats_mspan_inuse_bytes` -Number of bytes in use by mspan structures. +Number of bytes in use by mspan structures. Equals to /memory/classes/metadata/mspan/inuse:bytes. ### `go_memstats_mspan_sys_bytes` -Number of bytes used for mspan structures obtained from system. +Number of bytes used for mspan structures obtained from system. Equals to /memory/classes/metadata/mspan/inuse:bytes + /memory/classes/metadata/mspan/free:bytes. ### `go_memstats_next_gc_bytes` -Number of heap bytes when next garbage collection will take place. +Number of heap bytes when next garbage collection will take place. Equals to /gc/heap/goal:bytes. ### `go_memstats_other_sys_bytes` -Number of bytes used for other system allocations. +Number of bytes used for other system allocations. Equals to /memory/classes/other:bytes. ### `go_memstats_stack_inuse_bytes` -Number of bytes in use by the stack allocator. +Number of bytes obtained from system for stack allocator in non-CGO environments. Equals to /memory/classes/heap/stacks:bytes. ### `go_memstats_stack_sys_bytes` -Number of bytes obtained from system for stack allocator. +Number of bytes obtained from system for stack allocator. Equals to /memory/classes/heap/stacks:bytes + /memory/classes/os-stacks:bytes. ### `go_memstats_sys_bytes` -Number of bytes obtained from system. +Number of bytes obtained from system. Equals to /memory/classes/total:byte. + +### `go_sched_gomaxprocs_threads` + +The current runtime.GOMAXPROCS setting, or the number of operating system threads that can execute user-level Go code simultaneously. Sourced from /sched/gomaxprocs:threads ### `go_threads` diff --git a/docs/data/assets.yml b/docs/data/assets.yml index ad7a401c..8485ffac 100644 --- a/docs/data/assets.yml +++ b/docs/data/assets.yml @@ -1,36 +1,36 @@ - os: macOS arch: all - name: forwarder-1.3.2_darwin-signed.all.zip - url: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_darwin-signed.all.zip + name: forwarder-1.4.0_darwin-signed.all.zip + url: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_darwin-signed.all.zip - os: Debian/Ubuntu arch: ARM64 - name: forwarder_1.3.2.linux_arm64.deb - url: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder_1.3.2.linux_arm64.deb + name: forwarder_1.4.0.linux_arm64.deb + url: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder_1.4.0.linux_arm64.deb - os: Debian/Ubuntu arch: x86-64 - name: forwarder_1.3.2.linux_amd64.deb - url: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder_1.3.2.linux_amd64.deb + name: forwarder_1.4.0.linux_amd64.deb + url: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder_1.4.0.linux_amd64.deb - os: RedHat/CentOS/Fedora arch: ARM64 - name: forwarder-1.3.2_linux.aarch64.rpm - url: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_linux.aarch64.rpm + name: forwarder-1.4.0_linux.aarch64.rpm + url: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_linux.aarch64.rpm - os: RedHat/CentOS/Fedora arch: x86-64 - name: forwarder-1.3.2_linux.x86_64.rpm - url: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_linux.x86_64.rpm + name: forwarder-1.4.0_linux.x86_64.rpm + url: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_linux.x86_64.rpm - os: Linux arch: ARM64 - name: forwarder-1.3.2_linux.aarch64.tar.gz - url: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_linux.aarch64.tar.gz + name: forwarder-1.4.0_linux.aarch64.tar.gz + url: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_linux.aarch64.tar.gz - os: Linux arch: x86-64 - name: forwarder-1.3.2_linux.x86_64.tar.gz - url: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_linux.x86_64.tar.gz + name: forwarder-1.4.0_linux.x86_64.tar.gz + url: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_linux.x86_64.tar.gz - os: Windows arch: ARM64 - name: forwarder-1.3.2_windows.aarch64.zip - url: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_windows.aarch64.zip + name: forwarder-1.4.0_windows.aarch64.zip + url: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_windows.aarch64.zip - os: Windows arch: x86-64 - name: forwarder-1.3.2_windows.x86_64.zip - url: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_windows.x86_64.zip + name: forwarder-1.4.0_windows.x86_64.zip + url: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_windows.x86_64.zip diff --git a/docs/data/latest.yml b/docs/data/latest.yml index a918dce5..90e44e87 100644 --- a/docs/data/latest.yml +++ b/docs/data/latest.yml @@ -1,11 +1,11 @@ -checksums: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/checksums -darwin-signed.all.zip: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_darwin-signed.all.zip -darwin.all.zip: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_darwin.all.zip -linux.aarch64.rpm: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_linux.aarch64.rpm -linux.aarch64.tar.gz: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_linux.aarch64.tar.gz -linux.x86_64.rpm: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_linux.x86_64.rpm -linux.x86_64.tar.gz: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_linux.x86_64.tar.gz -windows.aarch64.zip: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_windows.aarch64.zip -windows.x86_64.zip: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder-1.3.2_windows.x86_64.zip -linux_amd64.deb: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder_1.3.2.linux_amd64.deb -linux_arm64.deb: https://github.com/saucelabs/forwarder/releases/download/v1.3.2/forwarder_1.3.2.linux_arm64.deb +checksums: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/checksums +darwin-signed.all.zip: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_darwin-signed.all.zip +darwin.all.zip: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_darwin.all.zip +linux.aarch64.rpm: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_linux.aarch64.rpm +linux.aarch64.tar.gz: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_linux.aarch64.tar.gz +linux.x86_64.rpm: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_linux.x86_64.rpm +linux.x86_64.tar.gz: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_linux.x86_64.tar.gz +windows.aarch64.zip: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_windows.aarch64.zip +windows.x86_64.zip: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder-1.4.0_windows.x86_64.zip +linux_amd64.deb: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder_1.4.0.linux_amd64.deb +linux_arm64.deb: https://github.com/saucelabs/forwarder/releases/download/v1.4.0/forwarder_1.4.0.linux_arm64.deb