Skip to content

Commit 68113ea

Browse files
authored
Update durable-functions-diagnostics.md
1 parent 00f5907 commit 68113ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-functions/durable/durable-functions-diagnostics.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Each lifecycle event of an orchestration instance causes a tracking event to be
3636
* **Listening**: The orchestrator is listening for an external event notification.
3737
* **Completed**: The function has completed successfully.
3838
* **Failed**: The function failed with an error.
39-
* **reason**: Additional data associated with the tracking event. For example, if an instance is waiting for an external event notification, this field indicates the name of the event it is waiting for. If a function has failed, this field will contain the error details.
39+
* **reason**: Additional data associated with the tracking event. For example, if an instance is waiting for an external event notification, this field indicates the name of the event it is waiting for. If a function has failed, this field contains the error details.
4040
* **isReplay**: Boolean value indicating whether the tracking event is for replayed execution.
4141
* **extensionVersion**: The version of the Durable Task extension. The version information is especially important data when reporting possible bugs in the extension. Long-running instances may report multiple versions if an update occurs while it is running.
4242
* **sequenceNumber**: Execution sequence number for an event. Combined with the timestamp helps to order the events by execution time. *Note that this number will be reset to zero if the host restarts while the instance is running, so it's important to always sort by timestamp first, then sequenceNumber.*
@@ -150,7 +150,7 @@ You can enable these logs by updating the `logging/logLevel` section of your fun
150150
}
151151
```
152152

153-
If you have Application Insights enabled, these logs will be automatically added to the `trace` collection. You can search them the same way that you search for other `trace` logs using Kusto queries.
153+
If you have Application Insights enabled, these logs are automatically added to the `trace` collection. You can search them the same way that you search for other `trace` logs using Kusto queries.
154154

155155
> [!NOTE]
156156
> For production applications, it is recommended that you enable `DurableTask.Core` and the appropriate storage provider (e.g. `DurableTask.AzureStorage`) logs using the `"Warning"` filter. Higher verbosity filters such as `"Information"` are very useful for debugging performance issues. However, these log events can be high-volume and can significantly increase Application Insights data storage costs.
@@ -548,7 +548,7 @@ Distributed Tracing tracks requests and shows how different services interact wi
548548
549549
### Setting up Distributed Tracing
550550

551-
To set up distributed tracing, please update the host.json and set up an Application Insights resource.
551+
To set up distributed tracing, update the host.json and set up an Application Insights resource.
552552

553553
#### host.json
554554
```
@@ -565,7 +565,7 @@ To set up distributed tracing, please update the host.json and set up an Applica
565565
```
566566

567567
#### Application Insights
568-
If the Function app is not configured with an Application Insights resource, then please configure it following the instructions [here](../configure-monitoring.md#enable-application-insights-integration).
568+
If the Function app is not configured with an Application Insights resource, then configure it following the instructions [here](../configure-monitoring.md#enable-application-insights-integration).
569569

570570
### Inspecting the traces
571571
In the Application Insights resource, navigate to **Transaction Search**. In the results, check for `Request` and `Dependency` events that start with Durable Functions specific prefixes (e.g. `orchestration:`, `activity:`, etc.). Selecting one of these events will open up a Gantt chart that will show the end to end distributed trace.

0 commit comments

Comments
 (0)