Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefajers authored Jan 15, 2024
1 parent 94e0f53 commit ddc9e60
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/wiki/Monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

- [Introduction](#introduction)
- [Troubleshooting AzOps](#troubleshooting-azops)
- [External Monitoring](#external-monitoring)
- [Application Insights](#azure-monitor-application-insights)
- [Enable Application Insights Monitoring](#enable-application-insights-monitoring)

---

Expand All @@ -20,7 +21,7 @@ Depending on the numeric value set for `Message.Info.Maximum` at `settings.json`
During normal operations changes to verbosity levels are not needed and the default is sufficient. However, when troubleshooting and trying to understand the why and the what has happened it is advised to increase the verbosity to at least `5` or `8`, going all the way up to `9` makes the module very noisy and the amount of events emitted are high
[read more](https://github.com/azure/azops/wiki/troubleshooting).

## External Monitoring
## Azure Monitor Application Insights

By design the module emits logs to console during execution, in addition to that the module can emit logs to Azure Monitor Application Insights.

Expand All @@ -32,7 +33,7 @@ This can be useful to track performance, key metrics, and exceptions over time.

It is also helpful when you are running the module with several parallel threads `Core.ThrottleLimit` > `1` due to that console output does not work well when running in parallel. By emitting information to Azure Monitor Application Insights this can be overcome without adjusting the `Core.ThrottleLimit`.

Enable Application Insights monitoring:
### Enable Application Insights Monitoring

1. [Create a Application Insights resource](https://learn.microsoft.com/en-us/azure/azure-monitor/app/create-workspace-resource#create-a-workspace-based-resource).
1. Add a secret named `APPLICATIONINSIGHTS_CONNECTIONSTRING` *(in GitHub or Azure Pipelines)* and enter the connection string for you Application Insights resource, [find your connection string](https://learn.microsoft.com/en-us/azure/azure-monitor/app/sdk-connection-string?tabs=dotnet5#find-your-connection-string).
Expand Down

0 comments on commit ddc9e60

Please sign in to comment.