@@ -55,66 +55,29 @@ Create and assign persistent environment variables for your key and endpoint.
55
55
56
56
``` CMD
57
57
setx METRICS_ADVISOR_ENDPOINT "REPLACE_WITH_YOUR_ENDPOINT_HERE"
58
- ```
59
-
60
- ``` CMD
61
58
setx METRICS_ADVISOR_KEY "REPLACE_WITH_YOUR_KEY_VALUE_HERE"
62
- ```
63
-
64
- ``` CMD
65
59
setx METRICS_ADVISOR_API_KEY "REPLACE_WITH_YOUR_KEY_VALUE_HERE"
66
- ```
67
-
68
- ``` CMD
69
60
setx SQL_CONNECTION_STRING "REPLACE_WITH_YOUR_UNIQUE_SQL_CONNECTION_STRING"
70
- ```
71
-
72
- ``` CMD
73
61
setx SQL_QUERY "REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYING_STRUCTURE_OF_YOUR_DATA"
74
62
```
75
63
76
64
# [ PowerShell] ( #tab/powershell )
77
65
78
66
``` powershell
79
67
[System.Environment]::SetEnvironmentVariable('METRICS_ADVISOR_ENDPOINT', 'REPLACE_WITH_YOUR_ENDPOINT_HERE', 'User')
80
- ```
81
-
82
- ``` powershell
83
68
[System.Environment]::SetEnvironmentVariable('METRICS_ADVISOR_KEY', 'REPLACE_WITH_YOUR_KEY_VALUE_HERE', 'User')
84
- ```
85
-
86
- ``` powershell
87
69
[System.Environment]::SetEnvironmentVariable('METRICS_ADVISOR_API_KEY', 'REPLACE_WITH_YOUR_KEY_VALUE_HERE', 'User')
88
- ```
89
-
90
- ``` powershell
91
70
[System.Environment]::SetEnvironmentVariable('SQL_CONNECTION_STRING', 'REPLACE_WITH_YOUR_UNIQUE_SQL_CONNECTION_STRING', 'User')
92
- ```
93
-
94
- ``` powershell
95
71
[System.Environment]::SetEnvironmentVariable('SQL_QUERY', 'REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYING_STRUCTURE_OF_YOUR_DATA', 'User')
96
72
```
97
73
98
74
# [ Bash] ( #tab/bash )
99
75
100
76
``` Bash
101
77
echo export METRICS_ADVISOR_ENDPOINT=" REPLACE_WITH_YOUR_ENDPOINT_HERE" >> /etc/environment && source /etc/environment
102
- ```
103
-
104
-
105
- ``` Bash
106
78
echo export METRICS_ADVISOR_KEY=" REPLACE_WITH_YOUR_KEY_VALUE_HERE" >> /etc/environment && source /etc/environment
107
- ```
108
-
109
- ``` Bash
110
79
echo export METRICS_ADVISOR_API_KEY=" REPLACE_WITH_YOUR_KEY_VALUE_HERE" >> /etc/environment && source /etc/environment
111
- ```
112
-
113
- ``` Bash
114
80
echo export SQL_CONNECTION_STRING=" REPLACE_WITH_YOUR_UNIQUE_SQL_CONNECTION_STRING" >> /etc/environment && source /etc/environment
115
- ```
116
-
117
- ``` Bash
118
81
echo export SQL_QUERY=" REPLACE_WITH_YOUR_UNIQUE_SQL_QUERY_BASED_ON_THE_UNDERLYING_STRUCTURE_OF_YOUR_DATA" >> /etc/environment && source /etc/environment
119
82
```
120
83
@@ -320,4 +283,4 @@ Run the application with the `python` command on your quickstart file.
320
283
321
284
``` console
322
285
python quickstart-file.py
323
- ```
286
+ ```
0 commit comments