IoTダッシュボードを使用したアプリケーションのモニタリング

IoT モニタリングでは、アプリケーションのパフォーマンスと使用状況を表示および分析するために 3 つのダッシュボードが提供されています。各ダッシュボードでは、アプリケーションのパフォーマンスのさまざまな側面が提供されます。各ダッシュボードでは、ウィジェットまたは詳細レコードとして視覚化されたデータを表示したり、選択したパラメータに基づいてカスタムウィジェットを作成したりできます。

このページでは、次の各ダッシュボードの特徴、機能、および目的について説明します。

デバイス ダッシュボード

[Device Dashboard] では、デバイスのステータス、カスタム情報、およびカスタムデバイスのアプリケーション情報をモニターできます。要約のアクティビティを表示したり、フィルタを使用して特定のデバイスのメトリックを表示するようにドリルダウンしたりできます。

[Device Dashboard] を使用すると、DevOps はデバイスが稼働していることを確認でき、プロダクトマネージャとビジネス上の関係者はデバイスのアクティビティとトレンドを調べることができます。また、開発者は単一または複数のデバイスに影響を与える問題を特定するために結果をドリルダウンできます。

デバイス ダッシュボード

ネットワーク リクエスト ダッシュボード

[Network Request Dashboard] では、発信ネットワークリクエスト、ネットワークリクエストの詳細を表示し、ネットワークリクエストを分析することができます。

ネットワーク リクエスト ダッシュボード

[Network Requests Dashboard] では、次の操作ができます。

  • デバイスまたはサービスの可用性の確認

  • 低速ネットワークリクエストの検出

  • 失敗したネットワークリクエストの表示

  • ステータスコード、アプリケーションバージョンなどの条件によるネットワークリクエストの分析およびソート

  • ネットワークトラフィックの経時的モニタ

Error Dashboard

[Error Dashboard] では、クラッシュ、例外、およびカスタムエラー(致命的と非致命的の両方)を表示できます。DevOps は、アクティビティリストをモニタし、エラーイベントを開発者に通知できます。開発者はエラーイベントを選択して詳細を表示し、デバッグ用にスタックトレースをダウンロードできます。

Error Dashboard

注: スタックトレースは、IoT SDK または IoT REST API を使用して報告された場合にのみ使用できます。

[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

  1. Open the application you want.
  2. 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.

Device Dashboard

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.

Device 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.

Device Dashboard

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.

Edit Dashboard Mode

カスタム ダッシュボード ウィジェットの構築

各ダッシュボードには基本的なモニタリングのために事前定義されたウィジェットがありますが、非常に多くのデバイスやプラットフォームがあるため、ウィジェットの作成手順が示される Widget Builder でカスタムウィジェットを作成する必要があります。このページでは、ウィジェットを作成するときにグラフタイプを選択し、フィルタを使用する場合の方法について説明します。

ウィジェットビルダー

Widget Builder へのアクセス方法

  1. ダッシュボードを選択します。
  2. [Edit] モードに変更します。
  3. ツールバーで Add Widget をクリックします。
  4. ドロップダウンの [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 TypeGraph PropertiesUse Case(s)
Pie Chart
  • Field
  • Subfield
  • Filters
  • Name

Use pie charts to compare parts of a whole.

Examples:

  • For a retail device, the percentage of sales for each store.
  • For a fitness device, the percentage of different types of activities such as running, bicycling, walking.
Bar Chart
  • Field
  • Subfield
  • Filters
  • Name

Use bar charts to compare different items within the same category.

Examples:

  • For an inventory device, the number of items per store.
  • For a smart car, the mileage of different cars.
Time Series
  • Field
  • Filters
  • Name

Use a time series to measure events over time.

Examples:

  • network errors
  • sales
Histogram
  • Field
  • Filters
  • Name

Use histograms to analyze and understand the distribution of large sets of numerical data.

Examples:

  • The distribution of network request duration.
  • For a smart home device, the distribution of temperatures.
Number
  • Field
  • Filters
  • Name

Use a number graph to highlight an important data point.

Examples:

  • active devices
  • sales total
  • network errors
Table
  • Field
  • Filters
  • Name

Use a table to view detailed data for a list of similar items.

Examples:

  • customers
  • network requests
  • devices
Geo
  • Field
  • Filters
  • Name

Use the Geo widget to analyze and understand performance across geographic areas.

Examples:

  • Sales in different countries, regions, and cities
  • Network request durations across countries, regions, and cities
  • Device errors in different countries, regions, and cities

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:

Widget Builder