Skip to content

Commit 9425ba4

Browse files
author
ecfan
committed
Updates per feedback
1 parent b570f06 commit 9425ba4

File tree

2 files changed

+48
-36
lines changed

2 files changed

+48
-36
lines changed

articles/logic-apps/create-standard-workflows-hybrid-deployment.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ If you want to deploy with SMB file share, confirm that the following conditions
147147

148148
#### Deploy your logic app
149149

150-
After you finish building your workflow, you can deploy your logic app to your Azure Container Apps connected environment.
150+
After you finish building your workflow, you can deploy your logic app to your on-premises Azure Container Apps connected environment.
151151

152152
##### Zip deployment
153153

@@ -228,7 +228,7 @@ For more information, see the following resources:
228228

229229
You can set up enhanced telemetry collection in Application Insights for your Standard logic app and then view the collected data after your workflow finishes a run. This capability gives you a simpler experience to get insights about your workflows and more control over filtering events at the data source, which helps you reduce storage costs. These improvements focus on real-time performance metrics that provide insights into your system's health and behavior.
230230

231-
For partially connected and on-premises scenarios, you can set up your Standard logic app to emit telemetry in [OpenTelemetry format](https://opentelemetry.io/). By default, this telemetry data is sent to Application Insights. For more information, see [Enable enhanced telemetry in Application Insights for Standard workflows in Azure Logic Apps](enable-enhanced-telemetry-standard-workflows.md).
231+
For partially connected and on-premises scenarios, you can set up your Standard logic app to emit telemetry based on the [OpenTelemetry-supported](https://opentelemetry.io/) app settings that you define for the specific environment. By default, this telemetry data is sent to Application Insights. For more information, see [Enable enhanced telemetry in Application Insights for Standard workflows in Azure Logic Apps](enable-enhanced-telemetry-standard-workflows.md).
232232

233233
<a name="change-vcpu-memory"></a>
234234

@@ -384,6 +384,18 @@ You can store the client ID and client secret values in your logic app resource
384384

385385
## Known issues and troubleshooting
386386

387+
The following section describes currently known issues and guidance for troubleshooting common problems.
388+
389+
### General environment setup or portal deployment problems
390+
391+
To help you diagnose and debug problems with your environment configuration or portal deployment failures, you can try running the **troubleshoot.ps1** PowerShell script provided for the hybrid deployment option.
392+
393+
1. Go to the [Azure Logic Apps GitHub repository: **scripts/hybrid** folder](https://github.com/Azure/logicapps/blob/master/scripts/hybrid).
394+
395+
1. Copy the **troubleshoot.ps1** file to a folder in the same on-premises location as your logic app deployment.
396+
397+
1. Run the script using PowerShell.
398+
387399
### Arc-enabled Kubernetes clusters
388400

389401
In rare scenarios, you might notice a high memory footprint in your cluster. To prevent this issue, either scale out or add autoscale for node pools.

articles/logic-apps/enable-enhanced-telemetry-standard-workflows.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,17 @@ For partially connected and on-premises scenarios, you can configure your Standa
119119

120120
To set up OpenTelemetry capability in the Azure portal, follow the steps, based on hosting option for your Standard logic workflow.
121121

122-
##### Workflow Service Plan or App Service Environment V3
122+
#### Workflow Service Plan or App Service Environment V3
123123

124-
Follow these steps to update the **host.json** file in the root directory for your logic app resource:
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:
125125

126126
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
127127

128128
1. On the resource navigation menu, under **Development Tools**, select **Advanced Tools** > **Go**.
129129

130130
1. In the **Kudu+** console, from the **Debug console** menu, select **CMD**. Go to **site** > **wwwroot**.
131131

132-
1. Edit the **host.json** file. At the root level, add the following **telemetryMode** setting with the **OpenTelemetry** value, and save your changes, for example:
132+
1. Edit the **host.json** file. At the root level, add the following **telemetryMode** setting with the **OpenTelemetry** value, for example:
133133

134134
```json
135135
{
@@ -157,45 +157,47 @@ Follow these steps to update the **host.json** file in the root directory for yo
157157

158158
1. If your OpenTelemetry endpoint requires other OpenTelemetry-related settings, include these settings in the app settings too.
159159

160-
##### Hybrid deployment
160+
#### Hybrid deployment
161161

162-
Follow these steps to update the **host.json** file in the root directory for an SMB file share in an Azure storage account:
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.
163163

164-
1. In the [Azure portal](https://portal.azure.com), open the Azure storage account with your SMB file share.
164+
##### Zip deployment
165165

166-
1. On the storage account menu, under **Data storage**, select **File shares**, and then select your SMB file share.
166+
##### On-premises SMB file share
167167

168-
1,
169-
open the host.json in the root directory of SMB file share path configured in your logic app
170-
In the host.json file, at the root level, add the following telemetryMode setting with the OpenTelemetry value, for example:
171-
JSONCopy
172-
{
173-
"version": "2.0",
174-
"extensionBundle": {
175-
"id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
176-
"version": "[1.*, 2.0.0)"
177-
},
178-
"telemetryMode": "OpenTelemetry"
179-
}
180-
When you enable OpenTelemetry in the host.json file, your logic app exports telemetry based on the OpenTelemetry-supported app settings that you define in the environment.
181-
Add below app settings from portal by navigating to Containers-->Enviornment variables-->edit and deploy
182-
App setting
183-
184-
Description
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:
169+
170+
1. On your on-premises SMB file share, in the root directory, find and open the **host.json** file.
171+
172+
1. In the **host.json** file, at the root level, add the following **telemetryMode** setting with the **OpenTelemetry** value, and save your changes, for example:
173+
174+
```json
175+
{
176+
"version": "2.0",
177+
"extensionBundle": {
178+
"id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
179+
"version": "[1.*, 2.0.0)"
180+
},
181+
"telemetryMode": "OpenTelemetry"
182+
}
183+
```
184+
185+
1. Save your edits.
185186

187+
1. In the [Azure portal](https://portal.azure.com), find and open your Standard logic app resource.
188+
189+
1. On the resource navigation menu, under **Settings** > **Environment variables**, select **App settings**.
190+
191+
1. Add the following app settings:
186192

187193
| App setting | Description |
188194
|-------------|-------------|
189195
| **OTEL_EXPORTER_OTLP_ENDPOINT** | The online transaction processing (OTLP) exporter endpoint URL for where to send the telemetry data. |
190196
| **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. |
191197

192-
1. If your OpenTelemetry endpoint requires other OpenTelemetry-related settings, include these settings in the app settings too.
193-
194-
For more information, see the following documentation:
195-
196-
- [Edit host and app settings for Standard logic apps](edit-app-settings-host-settings.md)
198+
1. When you're done, select **Apply**.
197199

198-
- [OTLP Exporter Configuration documentation](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/)
200+
1. If your OpenTelemetry endpoint requires other OpenTelemetry-related settings, include these settings in the app settings too.
199201

200202
### [Visual Studio Code](#tab/visual-studio-code)
201203

@@ -216,8 +218,6 @@ To set up OpenTelemetry capability in Visual Studio Code, follow these steps:
216218
}
217219
```
218220

219-
When you enable OpenTelemetry in the **host.json** file, your logic app exports telemetry based on the OpenTelemetry-supported app settings that you define in the environment.
220-
221221
1. Open the **local.settings.json** file at the project root level, add the following app settings:
222222

223223
| App setting | Description |
@@ -227,14 +227,14 @@ To set up OpenTelemetry capability in Visual Studio Code, follow these steps:
227227

228228
1. If your OpenTelemetry endpoint requires other OpenTelemetry-related settings, include these settings in the app settings too.
229229

230+
---
231+
230232
For more information, see the following documentation:
231233

232234
- [Edit host and app settings for Standard logic apps](edit-app-settings-host-settings.md)
233235

234236
- [OTLP Exporter Configuration documentation](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/)
235237

236-
---
237-
238238
<a name="open-application-insights"></a>
239239

240240
## Open Application Insights

0 commit comments

Comments
 (0)