Description Usage Arguments Value
This looks in the given time range for the top sessions based on the number of distinct pages called during the session.
1 2 3 | nrdb_session_ids(account_id, api_key, app_id, from = 48, to = 1,
size = 50, min_length = 10, max_length = NULL, min_unique = 1,
event_type = "PageView", verbose = T)
|
account_id |
your New Relic account ID |
api_key |
your New Relic NRDB (Insights) API key |
app_id |
the application id; you can find the id for your application in the RPM application by using the ID in the URL when viewing the application. |
from |
number of hours into the past to begin the hunt for sessions |
to |
number of hours into the past to end the hunt for sessions. The default is six because if you fetch sessions more recent than that they may still be open and therefore incomplete. |
size |
the maximum number of session ids to fetch |
min_length |
applies a filter with a minimum length of a session by number of pages |
max_length |
applies a filter with a maximum session length in pages |
min_unique |
applies a filter with a minimum number of unique pages in a session to avoid sessions that only have one unique page |
event_type |
to override the PageView event type with another event type |
verbose |
TRUE to print out the queries |
a character vector of session ids
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.