|
| 1 | +--- |
| 2 | +title: Configure the MedTech service metrics - Azure Health Data Services |
| 3 | +description: This article explains how to display MedTech service metrics. |
| 4 | +services: healthcare-apis |
| 5 | +author: msjasteppe |
| 6 | +ms.service: healthcare-apis |
| 7 | +ms.subservice: iomt |
| 8 | +ms.topic: how-to |
| 9 | +ms.date: 10/12/2022 |
| 10 | +ms.author: jasteppe |
| 11 | +--- |
| 12 | + |
| 13 | +# How to configure the MedTech service metrics |
| 14 | + |
| 15 | +In this article, you'll learn how to configure the [MedTech service](iot-connector-overview.md) metrics in the Azure portal. You'll also learn how to pin the MedTech service metrics tile to an Azure portal dashboard for later viewing. |
| 16 | + |
| 17 | +The MedTech service metrics can be used to help determine the health and performance of your MedTech service and can be useful with troubleshooting and seeing patterns and/or trends with your MedTech service. |
| 18 | + |
| 19 | +## Metric types for the MedTech service |
| 20 | + |
| 21 | +This table shows the available MedTech service metrics and the information that the metrics are capturing and displaying within the Azure portal: |
| 22 | + |
| 23 | +Metric category|Metric name|Metric description| |
| 24 | +|--------------|-----------|--------------| |
| 25 | +|Availability|IotConnector Health Status|The overall health of the MedTech service.| |
| 26 | +|Errors|Total Error Count|The total number of errors.| |
| 27 | +|Latency|Average Group Stage Latency|The average latency of the group stage. The [group stage](iot-data-flow.md#group) performs buffering, aggregating, and grouping on normalized messages.| |
| 28 | +|Latency|Average Normalize Stage Latency|The average latency of the normalized stage. The [normalized stage](iot-data-flow.md#normalize) performs normalization on raw incoming messages.| |
| 29 | +|Traffic|Number of Fhir resources saved|The total number of Fast Healthcare Interoperability Resources (FHIR®) resources [updated or persisted](iot-data-flow.md#persist) by the MedTech service.| |
| 30 | +|Traffic|Number of Incoming Messages|The number of received raw [incoming messages](iot-data-flow.md#ingest) (for example, the device events) from the configured source event hub.| |
| 31 | +|Traffic|Number of Measurements|The number of normalized value readings received by the FHIR [transformation stage](iot-data-flow.md#transform) of the MedTech service.| |
| 32 | +|Traffic|Number of Message Groups|The number of groups that have messages aggregated in the designated time window.| |
| 33 | +|Traffic|Number of Normalized Messages|The number of normalized messages.| |
| 34 | + |
| 35 | +## Configure the MedTech service metrics |
| 36 | + |
| 37 | +1. Within your Azure Health Data Services workspace, select **MedTech service** under **Services**. |
| 38 | + |
| 39 | + :::image type="content" source="media\iot-metrics-display\workspace-displayed-with-connectors-button.png" alt-text="Screenshot of select the MedTech service within the workspace." lightbox="media\iot-metrics-display\workspace-displayed-with-connectors-button.png"::: |
| 40 | + |
| 41 | +2. Select the MedTech service that you would like to display metrics for. For this example, we'll select a MedTech service named **mt-azuredocsdemo**. You'll be selecting a MedTech service within your own Azure Health Data Services workspace. |
| 42 | + |
| 43 | + :::image type="content" source="media\iot-metrics-display\select-medtech-service.png" alt-text="Screenshot of select the MedTech service you would like to display metrics for." lightbox="media\iot-metrics-display\select-medtech-service.png"::: |
| 44 | + |
| 45 | +3. Select **Metrics** within the MedTech service page. |
| 46 | + |
| 47 | + :::image type="content" source="media\iot-metrics-display\select-metrics-under-monitoring.png" alt-text="Screenshot of select the Metrics option within your MedTech service." lightbox="media\iot-metrics-display\select-metrics-under-monitoring.png"::: |
| 48 | + |
| 49 | +4. The MedTech service metrics page will open allowing you to use the drop-down menus to view and select the metrics that are available for the MedTech service. |
| 50 | + |
| 51 | + :::image type="content" source="media\iot-metrics-display\select-metrics-to-display.png" alt-text="Screenshot the MedTech service metrics page with drop-down menus." lightbox="media\iot-metrics-display\select-metrics-to-display.png"::: |
| 52 | + |
| 53 | +5. Select the metrics combinations that you want to display for your MedTech service. For this example, we'll be choosing the following selections: |
| 54 | + |
| 55 | + * **Scope** = Your MedTech service name (**Default**) |
| 56 | + * **Metric Namespace** = Standard metrics (**Default**) |
| 57 | + * **Metric** = The MedTech service metrics you want to display. For this example, we'll choose **Number of Incoming Messages**. |
| 58 | + * **Aggregation** = How you would like to display the metrics. For this example, we'll choose **Count**. |
| 59 | + |
| 60 | +6. You can now see your MedTech service metrics for **Number of Incoming Messages** displayed on the MedTech service metrics page. |
| 61 | + |
| 62 | + :::image type="content" source="media\iot-metrics-display\select-metrics-being-displayed.png" alt-text="Screenshot of select metrics to display." lightbox="media\iot-metrics-display\select-metrics-being-displayed.png"::: |
| 63 | + |
| 64 | +7. You can add more metrics for your MedTech service by selecting **Add metric**. |
| 65 | + |
| 66 | + :::image type="content" source="media\iot-metrics-display\select-add-metric.png" alt-text="Screenshot of select Add metric to add more MedTech service metrics." lightbox="media\iot-metrics-display\select-add-metric.png"::: |
| 67 | + |
| 68 | +8. Then select the metrics that you would like to add to your MedTech service. |
| 69 | + |
| 70 | + :::image type="content" source="media\iot-metrics-display\select-more-metrics.png" alt-text="Screenshot of select more metrics to add to your MedTech service." lightbox="media\iot-metrics-display\select-more-metrics.png"::: |
| 71 | + |
| 72 | + > [!IMPORTANT] |
| 73 | + > If you leave the MedTech service metrics page, the metrics settings for your MedTech service are lost and will have to be recreated. If you would like to save your MedTech service metrics for future viewing, you can pin them to an Azure portal dashboard as a tile. |
| 74 | + > |
| 75 | + > To learn how to to create an Azure portal dashboard and pin tiles, see [How to create an Azure portal dashboard and pin tiles](how-to-configure-metrics.md#how-to-create-an-azure-portal-dashboard-and-pin-tiles) |
| 76 | + |
| 77 | + > [!TIP] |
| 78 | + > To learn more about advanced metrics display and sharing options, see [Getting started with Azure Metrics Explorer](/azure/azure-monitor/essentials/metrics-getting-started) |
| 79 | +
|
| 80 | +## How to create an Azure portal dashboard and pin tiles |
| 81 | + |
| 82 | +To learn how to create an Azure portal dashboard and pin tiles, see [Create a dashboard in the Azure portal](/azure/azure-portal/azure-portal-dashboards) |
| 83 | + |
| 84 | +## Next steps |
| 85 | + |
| 86 | +To learn how to enable the MedTech service diagnostic settings to export logs and metrics to another location (for example: an Azure storage account) for audit, backup, or troubleshooting, see |
| 87 | + |
| 88 | +> [!div class="nextstepaction"] |
| 89 | +> [How to enable diagnostic settings for the MedTech service](how-to-enable-diagnostic-settings.md) |
| 90 | +
|
| 91 | +(FHIR®) is a registered trademark of Health Level Seven International, registered in the U.S. Trademark Office and is used with their permission. |
0 commit comments