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
| Unleash url | example: `https://unleash.my-site.com`, this url without `/api`, can be a Unleash instance or Unleash edge |`OVERLEASH_URL`|`--url`|
70
-
| Reload frequency | default: `0`, example: `1`, value is in minutes, `0` is no reload |`OVERLEASH_RELOAD`|`--reload`|
71
-
| Server port | default: `5433`|`OVERLEASH_PORT`|`--port`|
72
-
| Unleash token (Client token) | example: `*:development.a2a6261d38fe4f9c86aceddce09a00df6c348fd0feeab3c24a9547f2` Token or tokens that are used to fetch the feature flag config from upstream unleash. |`OVERLEASH_TOKEN`|`--token`|
73
-
| Verbose | default: `false` Logs a bit more information for diagnose issues |`OVERLEASH_VERBOSE`|`--verbose`|
74
-
| Proxy metrics to upstream | default: `false` Proxy the metric calls to the upstream. Make sure the correct token are in the authorization header. |`OVERLEASH_PROXY_METRICS`|`--proxy-metrics`|
| Unleash upstream url | example: `https://unleash.my-site.com`, this url without `/api`, can be a Unleash instance or Unleash edge |`OVERLEASH_UPSTREAM`|`--upstream`|
70
+
| Reload frequency | default: `0`, example: `1`, value is in minutes, `0` is no reload |`OVERLEASH_RELOAD`|`--reload`|
71
+
| Server port | default: `5433`|`OVERLEASH_PORT`|`--port`|
72
+
| Unleash token (Client token) | example: `*:development.a2a6261d38fe4f9c86aceddce09a00df6c348fd0feeab3c24a9547f2` Token or tokens that are used to fetch the feature flag config from upstream unleash. |`OVERLEASH_TOKEN`|`--token`|
73
+
| Verbose | default: `false` Logs a bit more information for diagnose issues |`OVERLEASH_VERBOSE`|`--verbose`|
74
+
| Proxy metrics to upstream | default: `false` Proxy the metric calls to the upstream. Make sure the correct token are in the authorization header. |`OVERLEASH_PROXY_METRICS`|`--proxy-metrics`|
pflag.String("url", "", "DEPRECATED: Unleash URL (e.g. https://unleash.my-site.com) without /api. Use --upstream instead.")
59
+
pflag.String("upstream", "", "Unleash upstream URL to load feature flags (e.g. https://unleash.my-site.com) without /api, can be an Unleash instance or Unleash Edge.")
60
+
pflag.String("token", "", "Comma-separated Unleash client token(s) to fetch feature flag configurations.")
61
+
pflag.String("port", "5433", "Port number on which Overleash will listen (default: 5433).")
62
+
pflag.Int("reload", 0, "Reload frequency in minutes for refreshing feature flag configuration (0 disables automatic reloading).")
63
+
pflag.Bool("verbose", false, "Enable verbose logging to troubleshoot and diagnose issues.")
64
+
pflag.Bool("proxy_metrics", false, "Proxy metrics requests to the upstream Unleash server (ensure that the correct token is provided in the authorization header).")
0 commit comments