This article shows you how generate activity metrics for all actors (per-actor) in a group over a set period of time, including actors who were not active throughout the entire time window.
Activity metrics for all actors in a time window
With time series queries, you can now generate activity metrics for all actors in a specified group over a given time.
For example, a Product Manager may want to analyze the number of users in a Product Division that have been active 10 days in the past 28 days (time window), to determine who are regular users and power users. User activity may have occurred on some days and not others. The Product Manager may also want to compare different users by the number of active days in the past period, and categorize them according to their level of activity, such as: Super user 12+ days in past 28 days, Core user 4-11 days, and Casual user 1-3 days. The Product Manager could then compare the actions each group performs, such as the pages they view each day.
Configure activity metrics for all actors in a time window
You have configure an Interana setting on the command line to enable the ability to analyze metrics for all actors in a time window. This feature is disabled by default and must be manually enabled by an Interana admin.
To enable activity metrics for all actors in a time window on the cluster, do the following:
- Log in to the config node of your Interana cluster.
- Enter the following command.
ia settings update webapp activityMetricActorGroupedFilteringEnabled true
The feature is enabled on the cluster, and will appear as an option under Time series of measurements over time when you're creating or editing a per-actor metric.
To query for the activity of all actors in a time window, do the following:
- Log in to Interana.
- Click the Metrics icon on the left.
- In the Per-Actor Metrics bar, click New Metric.
- Specity a Name, Dataset, and For each option.
- For Measure, select Activity, then select an active time interval.
- Select a Filter type, enter a Description, click Time override.
- Select Time series of measurements over all time, and in the Time window select an interval using the drop-down menus. This sets the time interval of the calculation. For example, selecting "7 days" calculates metrics over the past 7 days for each day in the time window.
- Select Filter for all actors in a time window to analyze metrics for all actors in the specified time window.
- Click Save.
The following is an example of a user metric that analyzes the activity of all users (actors) over a seven day period.