イベントサービスに送信する Ajax リクエストの構成

多くの場合、最近の Web ページには多数の Ajax リクエストが含まれています。これらの Ajax リクエストをモニタすることがすべて等しく重要であるわけではありませんが、すべてのリクエストが等しくライセンスの権限付与と制限事項に影響します。そのため、イベントサービスに送信される Ajax リクエストを構成して、全体的なイベントサービスの使用状況への影響を管理できます。

これを行うには、イベントサービスに送信するリクエストを指定するルールを作成することができます。これは、リクエスト全体を除外するか、特定のリクエストまたはそのリクエストタイプのサンプリングをパーセンテージで指定して含めるか、または単にリクエストの送信を許可することによって行います。一般的に、この動作は次のパターンに従います。

  • ルールが指定されていない場合、Ajax リクエストのデータは送信されません。
  • 除外ルールが指定されていて、Ajax リクエストがルールを満たしている場合、そのデータは送信されません。
  • ページのグループ化ルールが指定されている場合、ルールを満たす Ajax リクエストはそのルール内のパーセンテージで定義されたサンプリングに基づいて送信されます。
  • 包含ルールと除外ルールの両方が指定されている場合、ページのグループ化ルールを満たすが、除外ルールを満たしていない Ajax リクエストは送信されます。
  • 除外ルールとサンプルの割合のみを設定すると、除外されないコールは指定されたレートでサンプリングされます。

デフォルトの命名ルールとルールの評価方法の詳細については、「ページ識別と命名の構成」を参照してください。

Access Ajax Requests Rules

  1. Open the browser application in which you are interested.
  2. On the left navigation bar, select Configuration.
  3. Click Instrumentation >.
  4. Select the Ajax > Events Service tab.

Configure Exclude Rules

  1. Click Add to create a new rule. The Exclude Rule popup appears.
  2. Specify a display name for the rule.
  3. Check Enabled to enable the rule.
  4. Enter a string and select one of the options in the dropdown to match the URLs that you want to exclude from the Ajax requests.
  5. Click OK to save the rule.

Configure Page Grouping Rules

  1. From the Events Service Page Grouping Rules section, click Add to create a new rule. The Page Grouping Rule popup appears.
  2. Give your rule a display name.
  3. Check Enabled to enable the rule.
  4. For Criteria, enter a string and select one of the options in the dropdown to match URLs for including Ajax requests.
  5. Configure how to name pages:
    • Select one of the options from the dropdown to determine the part of the URL.
    • Select the path segment.
    • Enter the query string to use in the page name.
    • Select the part of the anchor (or none) to use in the page name.
  6. Click Save.