Configure Sampling for Mobile Applications

When you configure the session-based or error sampling to monitor your mobile application, the Controller collects the necessary metrics and events based on the samples. This sampling helps you to optimize the storage. You can configure the percentage of session sampling in the Controller UI. The session-based samples are evenly distributed among views and network requests.

.

セッションサンプリングの設定

  1. セッションベースのサンプリングを設定するモバイルアプリケーションを開きます。
  2. 左のナビゲーションバーから [] を選択します。
  3. [Sampling] をクリックします。
  4. [Ingestion Sampling] で、パーセンテージを指定します。
    コントローラは、メトリックとイベントをディスプレイするためのサンプルとしてセッションの割合のみを考慮します。たとえば、セッションサンプリングが 50% に設定されている場合、コントローラはセッションサンプルの 50% に基づいてメトリックとイベントを表示します。セッションのサンプリングのルールを有効にするには、アプリケーションのバージョンと OS のバージョンを指定します。
  5. [Save] をクリックします。

Configure Error Sampling

  1. Open the mobile application for which you want to configure session-based sampling.
  2. On the navigation bar, select Configuration.
  3. Click Sampling.
  4. In Ingestion Sampling, specify the percentage.
    The Controller considers only the percentage of errors as samples to display metrics and events. To monitor error samples, do not select the Sample Errors option.
  5. Click Save.