Usage
Consumption
Aggregate views of assignment consumption.
In order to monitor usage, the application creates a schema with views that give aggregate counts of assignments. These are useful to query assignment creation trends, such as when spikes occur.
Be sure to assign the
provider
application role to Winning Variant so that we may monitor assignment usage relative to contract terms.Application Roles
A user must be mapped to one of the following application roles to access assignments:
admin
editor
analyst
provider
Views
Assignments per hour
View: <application_name>.experimentation.assignments_per_hour
Field | Description | Data Type |
---|---|---|
created_at_hour | Timestamp of the assignment creation date, truncated to the hour. | TIMESTAMP_TZ |
assignment_count | Number of assignments created in the given hour | INT |
Assignments per day
View: <application_name>.experimentation.assignments_per_day
Field | Description | Data Type |
---|---|---|
created_at_day | Timestamp of the assignment creation date, truncated to the day. | TIMESTAMP_TZ |
assignment_count | Number of assignments created in the given day | INT |
Assignments per month
View: <application_name>.experimentation.assignments_per_month
Field | Description | Data Type |
---|---|---|
created_at_month | Timestamp of the assignment creation date, truncated to the month. | TIMESTAMP_TZ |
assignment_count | Number of assignments created in the given month | INT |
Assignments per experiment
View: <application_name>.experimentation.assignments_per_experiment
Field | Description | Data Type |
---|---|---|
experiment_id | ID of the experiment | VARCHAR |
experiment_name | Name of the experiment | VARCHAR |
lab_id | ID of the lab the experiment belongs to | VARCHAR |
assignment_count | Number of assignments created in the given experiment | INT |
Examples
Get a daily account of assignments for the month of December 2024