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: articles/logic-apps/enable-enhanced-telemetry-standard-workflows.md
+23-29Lines changed: 23 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ For partially connected and on-premises scenarios, you can configure your Standa
119
119
120
120
To set up OpenTelemetry capability in the Azure portal, follow the steps, based on hosting option for your Standard logic workflow.
121
121
122
-
#### Workflow Service Plan or App Service Environment V3
122
+
#### Hosting option: Workflow Service Plan or App Service Environment V3
123
123
124
124
For a Standard logic app that uses the hosting option for **Workflow Service Plan** or **App Service Environment V3**, follow these steps to update the **host.json** file in the root directory for your logic app resource:
125
125
@@ -150,22 +150,16 @@ For a Standard logic app that uses the hosting option for **Workflow Service Pla
150
150
151
151
| App setting | Description |
152
152
|-------------|-------------|
153
-
|**OTEL_EXPORTER_OTLP_ENDPOINT**| The online transaction processing (OTLP) exporter endpoint URL for where to send the telemetry data. |
154
-
|**OTEL_EXPORTER_OTLP_HEADERS** (optional) | A list of headers to apply to all outgoing data. Commonly used to pass authentication keys or tokens to your observability backend. |
153
+
|**OTEL_EXPORTER_OTLP_ENDPOINT**| The online transaction processing (OTLP) exporter endpoint URL for where to send the telemetry data, for example: **`https://otel.kloud....`** <br><br> For more information, see [OTEL_EXPORTER_OTLP_ENDPOINT](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/#otel_exporter_otlp_endpoint). |
154
+
|**OTEL_EXPORTER_OTLP_HEADERS** (optional) | A list of headers to apply to all outgoing data. Commonly used to pass authentication keys or tokens to your observability backend, for example, **`Authorization=sk_....`**. <br><br> For more information, see [OTEL_EXPORTER_OTLP_HEADERS](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/#otel_exporter_otlp_headers). |
155
155
156
156
1. When you're done, select **Apply**.
157
157
158
-
1. If your OpenTelemetry endpoint requires other OpenTelemetry-related settings, include these settings in the app settings too.
158
+
1. If your OpenTelemetry endpoint requires other OpenTelemetry-related settings, include these settings in the app settings too. For more information, see [OTLP Exporter Configuration](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/).
159
159
160
-
#### Hybrid deployment
160
+
#### Hosting option: Hybrid
161
161
162
-
For a Standard logic app that uses the hosting option for **Hybrid**, follow the corresponding steps to set up OpenTelemetry based on the deployment option that you chose.
163
-
164
-
##### Zip deployment
165
-
166
-
##### On-premises SMB file share
167
-
168
-
For a Standard logic app that uses the hosting option for **Hybrid** and an on-premises SMB file share, follow these steps to update the **host.json** file:
162
+
For a Standard logic app that uses the **Hybrid** hosting option, follow the corresponding steps to set up OpenTelemetry:
169
163
170
164
1. On your on-premises SMB file share, in the root directory, find and open the **host.json** file.
171
165
@@ -184,20 +178,24 @@ For a Standard logic app that uses the hosting option for **Hybrid** and an on-p
184
178
185
179
1. Save your edits.
186
180
187
-
1. In the [Azure portal](https://portal.azure.com), find and open your Standard logic app resource.
181
+
1. In the [Azure portal](https://portal.azure.com), find and open your Standard logic app resource with the **Hybrid** hosting option.
188
182
189
-
1. On the resource navigation menu, under **Settings** >**Environment variables**, select **App settings**.
183
+
1. On the resource navigation menu, under **Settings**, select**Containers**, and then select **Edit and deploy**.
190
184
191
-
1. Add the following app settings:
185
+
1.On the **Edit a container** pane, select **Environment variables**, and then select **Add** so you can add the following app settings:
192
186
193
-
|App setting| Description |
194
-
|-------------|-------------|
195
-
|**OTEL_EXPORTER_OTLP_ENDPOINT**| The online transaction processing (OTLP) exporter endpoint URL for where to send the telemetry data. |
196
-
|**OTEL_EXPORTER_OTLP_HEADERS** (optional) | A list of headers to apply to all outgoing data. Commonly used to pass authentication keys or tokens to your observability backend. |
187
+
|Name | Source | Value| Description |
188
+
|------|--------|-------|-------------|
189
+
|**OTEL_EXPORTER_OTLP_ENDPOINT**|**Manual**| <*OTLP-endpoint-URL*> |The online transaction processing (OTLP) exporter endpoint URL for where to send the telemetry data, for example: **`https://otel.kloud....`** <br><br> For more information, see [OTEL_EXPORTER_OTLP_ENDPOINT](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/#otel_exporter_otlp_endpoint). |
190
+
|**OTEL_EXPORTER_OTLP_HEADERS** (optional) |**Manual**| <*OTLP-headers*> |A list of headers to apply to all outgoing data. Commonly used to pass authentication keys or tokens to your observability backend, for example, **`Authorization=sk_....`**. <br><br> For more information, see [OTEL_EXPORTER_OTLP_HEADERS](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/#otel_exporter_otlp_headers). |
197
191
198
-
1. When you're done, select **Apply**.
192
+
The following example shows the specified app settings added to the logic app resource:
193
+
194
+
:::image type="content" source="media/enable-enhanced-telemetry-standard-workflows/hybrid-app-settings.png" alt-text="Screenshot shows Azure portal, Logic App (Hybrid) resource menu with selected Settings, Containers, Edit and deploy, and pane named Environment variables." lightbox="media/enable-enhanced-telemetry-standard-workflows/hybrid-app-settings.png":::
199
195
200
-
1. If your OpenTelemetry endpoint requires other OpenTelemetry-related settings, include these settings in the app settings too.
196
+
1. When you're done, select **Save**.
197
+
198
+
1. If your OpenTelemetry endpoint requires other OpenTelemetry-related settings, include these settings in the app settings too. For more information, see [OTLP Exporter Configuration](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/).
201
199
202
200
### [Visual Studio Code](#tab/visual-studio-code)
203
201
@@ -222,18 +220,14 @@ To set up OpenTelemetry capability in Visual Studio Code, follow these steps:
222
220
223
221
| App setting | Description |
224
222
|-------------|-------------|
225
-
|**OTEL_EXPORTER_OTLP_ENDPOINT**| The online transaction processing (OTLP) exporter endpoint URL for where to send the telemetry data. |
226
-
|**OTEL_EXPORTER_OTLP_HEADERS** (optional) | A list of headers to apply to all outgoing data. Commonly used to pass authentication keys or tokens to your observability backend. |
223
+
|**OTEL_EXPORTER_OTLP_ENDPOINT**| The online transaction processing (OTLP) exporter endpoint URL for where to send the telemetry data, for example: **`https://otel.kloud....`** <br><br> For more information, see [OTEL_EXPORTER_OTLP_ENDPOINT](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/#otel_exporter_otlp_endpoint). |
224
+
|**OTEL_EXPORTER_OTLP_HEADERS** (optional) | A list of headers to apply to all outgoing data. Commonly used to pass authentication keys or tokens to your observability backend, for example, **`Authorization=sk_....`**. <br><br> For more information, see [OTEL_EXPORTER_OTLP_HEADERS](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/#otel_exporter_otlp_headers). |
227
225
228
-
1. If your OpenTelemetry endpoint requires other OpenTelemetry-related settings, include these settings in the app settings too.
226
+
1. If your OpenTelemetry endpoint requires other OpenTelemetry-related settings, include these settings in the app settings too. For more information, see [OTLP Exporter Configuration](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/).
229
227
230
228
---
231
229
232
-
For more information, see the following documentation:
233
-
234
-
-[Edit host and app settings for Standard logic apps](edit-app-settings-host-settings.md)
0 commit comments