Skip to content

Commit

Permalink
BugFix: adding app insights and logging to configuration settings (#358)
Browse files Browse the repository at this point in the history
* adding app insights and logging to configuration settings

* Update configure-dicom-server-settings.md

* Update configure-dicom-server-settings.md

* Update configure-dicom-server-settings.md

* Update configure-dicom-server-settings.md

* Update configure-dicom-server-settings.md
  • Loading branch information
moiradillon12 authored Oct 22, 2020
1 parent b6d6ee3 commit 2e845de
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 3 deletions.
41 changes: 38 additions & 3 deletions docs/how-to-guides/configure-dicom-server-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,51 @@ If you would like to update your SQL Database tier:
![Configure SQL2](../images/configure-sql-2.png)
1. Click **Apply**.

## Additional Configuration Settings
## Azure Monitor

**Application Insights**: By default, Application Insights is deployed, but not enabled, when you deploy the Medical Imaging Server for DICOM to Azure. To update this setting, navigate to your App Service:
[Azure Monitor](https://docs.microsoft.com/azure/azure-monitor/overview) offers a variety of solutions to collect, analyze and act on telemetry, including Application Insights Log Analytics.

### Application Insights

If you deploy the Medical Imaging Server for DICOM with our [Quickstart Deploy to Azure](../quickstarts/deploy-via-azure.md), Application Insights is deployed and enabled by default. To view and customize Application Insights:

1. Navigate to your Medical Imaging Server for DICOM **Application Insights** resource.
1. Select **Availability**, **Failures** or **Performance** for insight into the performance of your App Service.
1. To link your Application Insights resource to your Medical Imaging Server for DICOM Web App:
1. Navigate to your Medical Imaging Server for DICOM **App Service**.
1. Select **Application Insights** under **Settings**. Select *Enable* Application Insights. Select the existing Application Insights resource which was deployed.
1. Optionally, you can enable Application Insights features like *Profiler*, *Snapshot Debugger* and *SQL Commands*. (Note, these can be turned on later).
1. Click *Apply*.
1. To learn how to customize Application Insights for your requirements, see [Application Insights Overview](https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview).

If you did not enable Application Insights during deployment, you can via the Azure Portal:

1. Navigate to your Medical Imaging Server for DICOM **App Service**.
1. Select **Application Insights** from the menu:
![App Insights 1](../images/app-insights-1.png)
1. Select **Turn on Application Insights**:
![App Insights 2](../images/app-insights-2.png)
1. Link your App Service to an Application Insights Resource. You can create a new name for your **Application Insights** resource or use the default name. Select **Apply**.
1. View and customize **Application Insights** by navigating to the created **Application Insights** resource.

### Diagnostic Settings & Log Analytics

To monitor your SQL Database, create diagnostic settings which stream to Log Analytics:

1. Navigate to your **SQL Database**.
1. Select **Diagnostic Settings**:
![Diagnostic settings 1](../images/diagnostic-settings-1.png)
1. Select **Add Diagnostic setting**:
![Diagnostic settings 2](../images/diagnostic-settings-2.png)
1. Select the log and/or metric diagnostic settings you would like to monitor, along with the destination for those logs and/or metrics:
![Diagnostic settings 3](../images/diagnostic-settings-3.png)
1. Select **Save**.

To learn how to customize your diagnostic settings further, see [Diagnostic Settings](https://docs.microsoft.com/azure/azure-monitor/platform/diagnostic-settings?WT.mc_id=Portal-Microsoft_Azure_Monitoring). To learn how to write queries with Log Analytics, see [Log Query Overview](https://docs.microsoft.com/azure/azure-monitor/log-query/log-query-overview).

## OHIF Viewer

**OHIF Viewer**: By default, OHIF Viewer is enabled when you deploy the Medical Imaging Server for DICOM to Azure. To update this setting:
By default, OHIF Viewer is enabled when you deploy the Medical Imaging Server for DICOM to Azure. To update this setting:

1. Navigate to your Medical Imaging Server for DICOM **App Service** in the Azure Portal.
1. Select **Configuration** from the menu:
Expand Down
Binary file added docs/images/app-insights-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/diagnostic-settings-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/diagnostic-settings-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/diagnostic-settings-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2e845de

Please sign in to comment.