• /
  • ログイン
  • 無料アカウント

Browser subscription usage

重要

This doc is for accounts on our original Product-based pricing. If you're on the newer pricing plan, see New Relic One pricing plan. Not sure which you're on? See Overview of pricing plans.

For accounts on our original pricing plan, this document explains how we calculate billable usage for Browser subscription usage. This document also provides available subscription usage attributes and example NRQL queries to use in the New Relic UI or with API calls.

For details about single-page app (SPA) monitoring usage, see SPA usage.

Data generation

Once per hour, for every monitored application, a New Relic Browser account will generate a NrUsage event. Each event will summarize the usage for the last hour.

When querying Browser usage data, use a productLine attribute value of Browser. For more information, see the Browser query examples.

Usage calculations

Monthly subscription usage equals the total number of page views that month across all end-user browsers. AJAX traffic does not count against your daily usage. If your page views are fairly steady over time, you can estimate usage for the current month.

ヒント

Only the account Owner and Admins can view the usage UI. However, anyone in your account can query usage data using the NrUsage event.

To view usage information in the UI:

  1. Go to: account dropdown > View your usage.
  2. On the Browser usage page, set the time picker to Last 30 days.
  3. Multiply the Avg daily page views by the number of days in the current month.

For more information about the usage UI, see Introduction to New Relic subscription usage data.

Table definitions

Here are definitions of the column headers displayed in the UI table and CSV files. The columns visible depend on the Group by option selected at the top of the page.

Header

Definition

Account name

The name of the account. This can be a standalone account, a parent account, or a customer partnership.

Account ID

New Relic account ID.

Average daily page views

The average daily page views for that account or application.

% of total usage

The percentage of the total usage used.

General attributes

The following are general (not Browser-specific) account-related attributes. These attributes can help you understand how your accounts are using New Relic products.

Attribute

Description

consumingAccountId

ID of the New Relic account that is directly responsible for the stored events, as determined from the license key used.

consumingAccountName

Name of the New Relic account that is directly responsible for the stored events, as determined from the license key used.

masterAccountId

The ID of the parent account that is either responsible for stored events or that is the parent of the consuming account. When a parent account is the consuming account, masterAccountId is the consumingAccountId.

This attribute is present even for accounts that do not have a parent account. This is to ensure continued reporting if the account is later made a parent account.

masterAccountName

Name of the parent account that is either responsible for stored events, or that is the parent of the consuming account. When a parent account is the consuming account, masterAccountName is the consumingAccountName.

This attribute is present even for accounts that do not have a parent account. This is to ensure continued reporting if the account is later made a parent account.

partnershipId

Partner ID of the New Relic customer partnership associated with the account responsible for the stored events.

This attribute is only present if the consuming account is associated with a New Relic customer partnership.

partnershipName

Name of the New Relic customer partnership associated with the account responsible for the stored events.

This attribute is only present if the consuming account is associated with a customer partnership.

subAccountId

ID of the child account that is responsible for the stored event. When this attribute is present, subAccountId is the consumingAccountId.

This attribute is only present if the consuming account is a child account (not a parent account).

subAccountName

Name of the child account responsible for stored events. When present, this attribute is the same as the consumingAccountName.

This attribute is only present if the consuming account is a child account (not a parent account).

timestamp

UNIX timestamp (seconds since epoch) of the day and time when event generation was initiated.

Browser attributes

The following are usage-related attributes generated by New Relic Browser. To query Browser data, use a productLine attribute value of Browser.

Attribute

Description

browserPageViewCount

Number of page views for an application for that 24-hour period. For more on how events are generated, see Data generation.Page views for both Pro and Lite Browser agents are counted.

productLine

The New Relic product the usage data is from. For Browser data, this value is Browser.

usageType

The type of entity this event records values for. For Browser, this value is Application.

browserAppId

ID uniquely identifying the application reporting this usage, as it appears in the Browser product.

isPrimaryApp

Deprecated April 2, 2020.

Boolean. true means the application is the primary app. false means the app is one of several apps that an agent reports data for. For more on multiple app names in APM and Browser, see Use multiple app names.

The sum of events where this attribute is true will give an accurate total of page views when you are using the multiple app names feature. Counting events where this attribute is false will result in over-counting of usage.

Query examples

Here are some examples of NRQL queries you can use with your subscription usage data. You can run NRQL queries and use the resulting charts in dashboards.

SPA usage

Page views are used by New Relic Browser to determine customer data usage and product pricing. This document defines a page view in the context of New Relic Browser's SPA monitoring and explains why:

  • SPA monitoring does not affect Browser data usage
  • SPA monitoring will increase Insights data usage

In New Relic Browser, a page view is defined as a complete load or reload of a page, signaled by the firing of the window.onload event.

New Relic's SPA monitoring tracks traditional page views, but it also tracks changes in the browser that do not require a page load, such as:

  • Route and hash changes
  • Synchronous and asynchronous JavaScript
  • Dynamic server-side updates to a page

Route changes are tracked automatically, and by setting up custom instrumentation you can capture almost any type of browser interaction.

With New Relic Browser Pro, pricing is based on an account's number of page views per month. If SPA monitoring is enabled, browser interactions that do not require a page load are not counted as page views for billing purposes. With SPA monitoring, you can track an unlimited number of route changes and other custom browser interactions that don't involve page loads.

Notes on Insights subscription

If you switch from standard Browser monitoring to SPA monitoring, and you also pay for Insights (and don't use only your complementary Insights subscription), your Insights data usage will increase. Because SPA monitoring is a more advanced way to monitor your application, it creates more Insights events than standard monitoring for the following reasons:

  • Page views create not only PageView events, but also BrowserInteraction, AjaxRequest, and BrowserTiming events.
  • For the typical SPA-architecture app, there are more route changes than there are standard page loads.

If you pay for Insights and your current Insights license is not sufficient for the amount of events generated with SPA monitoring, we will notify you when you have exceeded your data usage plan. To remedy this, the following options are available:

その他のヘルプ

さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:

問題を作成するこのページを編集する
Copyright © 2020 New Relic Inc.