IoTダッシュボードを使用したアプリケーションのモニタリング
IoT モニタリングでは、アプリケーションのパフォーマンスと使用状況を表示および分析するために 3 つのダッシュボードが提供されています。各ダッシュボードでは、アプリケーションのパフォーマンスのさまざまな側面が提供されます。各ダッシュボードでは、ウィジェットまたは詳細レコードとして視覚化されたデータを表示したり、選択したパラメータに基づいてカスタムウィジェットを作成したりできます。
このページでは、次の各ダッシュボードの特徴、機能、および目的について説明します。
デバイス ダッシュボード
[Device Dashboard] では、デバイスのステータス、カスタム情報、およびカスタムデバイスのアプリケーション情報をモニターできます。要約のアクティビティを表示したり、フィルタを使用して特定のデバイスのメトリックを表示するようにドリルダウンしたりできます。
[Device Dashboard] を使用すると、DevOps はデバイスが稼働していることを確認でき、プロダクトマネージャとビジネス上の関係者はデバイスのアクティビティとトレンドを調べることができます。また、開発者は単一または複数のデバイスに影響を与える問題を特定するために結果をドリルダウンできます。
ネットワーク リクエスト ダッシュボード
[Network Request Dashboard] では、発信ネットワークリクエスト、ネットワークリクエストの詳細を表示し、ネットワークリクエストを分析することができます。
[Network Requests Dashboard] では、次の操作ができます。
-
デバイスまたはサービスの可用性の確認
-
低速ネットワークリクエストの検出
-
失敗したネットワークリクエストの表示
-
ステータスコード、アプリケーションバージョンなどの条件によるネットワークリクエストの分析およびソート
-
ネットワークトラフィックの経時的モニタ
Error Dashboard
[Error Dashboard] では、クラッシュ、例外、およびカスタムエラー(致命的と非致命的の両方)を表示できます。DevOps は、アクティビティリストをモニタし、エラーイベントを開発者に通知できます。開発者はエラーイベントを選択して詳細を表示し、デバッグ用にスタックトレースをダウンロードできます。
[Error Dashboard] では、次の操作ができます。
-
新しいエラーの検出
-
エラーの範囲と影響の評価(影響を受けるデバイスの数、影響を受けるデバイスの種類、デバイスへの影響の深刻度など)
-
エラーパターンのモニタ
-
コードをデバッグするためのエラーのスタックトレースのダウンロード
-
破損したデバイスの検出(故障したハードウェア)
How to Use IoT Dashboards
Although each dashboard presents different information, they all have the same UI functionality and features. This page provides an overview of the dashboard functionality to help you get started monitoring your devices.
Access the IoT Dashboards
- Open the application you want.
- Select one of the dashboards to view:
- Devices
- Network Requests
- Errors
View Dashboard Summaries
From each dashboard, you can view aggregated data in predefined and custom widgets. Each dashboard is in view mode by default, so data is read-only, although you can set filters, view details, and resize widgets.
View Details
To view details, you select a row in one of the tables and click the Details icon. The Device Details dialog displays. You can view when the three types of events (Custom Event, Network Request, and Error) occurred on the timeline, or by duration. You can also click on the event bar in the waterfall for more details.
Filter Results
You can filter results by adding criteria. This enables you to focus on factors affecting availability, usage, and performance.
In this screenshot, the criteria softwareversion and Country are added, which could potentially home in on performance issues caused by a particular software version in a particular country.
Modify Content and Presentation
To modify the dashboard, you need to be in Edit mode. You simply change the toggle to Edit, and then you'll be able to add, move, resize, remove, and even create widgets.
カスタム ダッシュボード ウィジェットの構築
各ダッシュボードには基本的なモニタリングのために事前定義されたウィジェットがありますが、非常に多くのデバイスやプラットフォームがあるため、ウィジェットの作成手順が示される Widget Builder でカスタムウィジェットを作成する必要があります。このページでは、ウィジェットを作成するときにグラフタイプを選択し、フィルタを使用する場合の方法について説明します。
Widget Builder へのアクセス方法
- ダッシュボードを選択します。
- [Edit] モードに変更します。
- ツールバーで Add Widget をクリックします。
- ドロップダウンの [Create a Widget] をクリックします。
Choose the Best Graph Type
The Widget Builder allows you to choose from one of six types of graphs, you should try to use the best graph for your data set. The following is a guideline for choosing the graph type:
| Graph Type | Graph Properties | Use Case(s) |
|---|---|---|
| Pie Chart |
|
Use pie charts to compare parts of a whole. Examples:
|
| Bar Chart |
|
Use bar charts to compare different items within the same category. Examples:
|
| Time Series |
|
Use a time series to measure events over time. Examples:
|
| Histogram |
|
Use histograms to analyze and understand the distribution of large sets of numerical data. Examples:
|
| Number |
|
Use a number graph to highlight an important data point. Examples:
|
| Table |
|
Use a table to view detailed data for a list of similar items. Examples:
|
| Geo |
|
Use the Geo widget to analyze and understand performance across geographic areas. Examples:
|
How to Use Filters
Filters enable you to narrow your results to meaningful information. For example, suppose you wanted to see the total number of items sold at each store, but you were particularly interested in those more expensive items. You could choose a bar graph and use the field Device Name and the subfield Annual Mileage with the filter Location: Quebec, Canada to view the average annual mileage of cars in Quebec, Canada, as shown in the example widget: