Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 128cac1

Browse files
hcourdentalpetric
andauthored
Clarifications env variables and portal (windmill-labs#853)
* Clarifications env variables and portal * Query args doc * Update docs/misc/7_plans_details/index.mdx Co-authored-by: Alexander Petric <[email protected]> * Update docs/misc/7_plans_details/index.mdx Co-authored-by: Alexander Petric <[email protected]> --------- Co-authored-by: Alexander Petric <[email protected]>
1 parent 95993fd commit 128cac1

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

docs/advanced/18_instance_settings/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,6 @@ The following information is collected:
414414
- memory usage
415415
- development instance status
416416

417-
From the instance settings, you can manually send usage or disable telemetry.
417+
From the instance settings, you can manually disable telemetry or "Send usage" to send usage data to Windmill and monitor it from the [Customer portal](../../misc/7_plans_details/index.mdx#windmill-customer-portal).
418418

419419
Under [Enterprise Edition](/pricing) (self-hosted), telemetry is mandatory to ensure usage correctly matches the subscription.

docs/apps/2_outputs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The app context contains the following outputs:
3030
- `groups`: the [groups](../core_concepts/8_groups_and_folders/index.mdx) the user is part of.
3131
- `hash`: the hash parameters of the URL.
3232
- `mode`: the mode the app is currently in (editor / viewer).
33-
- `query`: the query parameters of the URL.
33+
- `query`: the query parameters of the URL (e.g. `?id=123`), will be displayed as a JSON object.
3434
- `username`: the username of the current user.
3535
- `workspace`: the workspace of the current app.
3636

docs/core_concepts/47_environment_variables/index.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ import DocCard from '@site/src/components/DocCard';
44

55
Environment variables are used to configure the behavior of scripts and services, allowing for dynamic and flexible execution across different environments.
66

7+
You can retrieve environment variables from a script with the `Contextual` tab on the [Variable](../2_variables_and_secrets/index.mdx) page.
8+
9+
You can use them in a Script by clicking on "+Context Var":
10+
11+
![Contextual variable](../2_variables_and_secrets/context_variables.png.webp)
12+
713
## List of environment variables
814

915
| Name | Default | Description | Api Server/Worker/All |
@@ -44,12 +50,6 @@ Environment variables are used to configure the behavior of scripts and services
4450
Contextual variables are environment variables automatically set by Windmill. This is how the Deno and Python clients get their implicit
4551
credentials to interact with the platform.
4652

47-
See the `Contextual` tab on the [Variable](../2_variables_and_secrets/index.mdx) page for the list of reserved variables and what they are used for.
48-
49-
You can use them in a Script by clicking on "+Context Var":
50-
51-
![Contextual variable](../2_variables_and_secrets/context_variables.png.webp)
52-
5353
| Name | Example of value | Description |
5454
|------|------------------|-------------|
5555
| WM_WORKSPACE | demo | Workspace id of the current script |

docs/misc/7_plans_details/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ If you have any questions, please contact [email protected]
153153

154154
## Windmill Customer Portal
155155

156-
As an [Enterprise](/pricing) user, you will have access to detailed usage information and invoices through the [Windmill Customer Portal](https://portal.windmill.dev/). You can update contact information, billing details and subscription (seats & workers/compute units) from the portal.
156+
As an [Enterprise](/pricing) user, you will have access to detailed usage information and invoices through the [Windmill Customer Portal](https://portal.windmill.dev/). You can update contact information, billing details and subscription (seats & workers/compute units) from the portal. If you want to monitor your usage in real time, you can 'Send usage' from your [instance settings](../../advanced/18_instance_settings/index.mdx#telemetry) (if you have several instances, make sure to do it for each instance) and check how it converts into seats and compute units from the portal.
157157

158158
From the portal, you can adjust your subscription on your own. If you adjust your subscription during a billing cycle, you will be charged a prorated amount for the additional resources. This means you will only pay for the portion of the year that remains after the adjustment. For example on a yearly subscription, if you make the adjustment 10 months into the year, you would pay for approximately 2/12 of the annual cost for the additional resources.
159159

@@ -177,7 +177,7 @@ Access to the portal is made through either:
177177
178178
<br/>
179179

180-
You can also enable/disable any time automatic renewal and automatic debit (therefore payment by invoice).
180+
You can also enable/disable automatic renewal and automatic debit at any time. If disabled, you will need to pay by invoice.
181181

182182
This is also from the portal that you can [manage your issues and feature requests](../12_support_and_sla/index.mdx#feature-request-and-issue-dashboard). Access to the Issues Dasboard is made throught the 'Authorized domains'. Anyone with an email address from the set domains will be able to login to the issues page.
183183

0 commit comments

Comments
 (0)