pd_advance_usage_metrics
Creates, updates, deletes, gets or lists a pd_advance_usage_metrics resource.
Overview
| Name | pd_advance_usage_metrics |
| Type | Resource |
| Id | pagerduty.analytics.pd_advance_usage_metrics |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
feature_id | string | Which feature of PD Advance was used. |
total_credits_used | integer | How many credits were used by this feature. |
total_proactive_credits_used | integer | How many of the credits used were initiated by PD Advance rather than a user. |
total_proactive_use_count | integer | How many times this feature was initiated by PD Advance rather than a user. |
total_use_count | integer | How many times this feature was used. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | Provides aggregated metrics for the usage of PD Advance.<br /><!-- theme: info --><br />> Note: Data availability reflects [pipeline processing cycles](https://support.pagerduty.com/main/docs/insights#:~:text=Data%20Update%20Schedule) and is generally within 24 hours under normal conditions.<br /><br />Scoped OAuth requires: analytics.write<br /> |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|
SELECT examples
- list
Provides aggregated metrics for the usage of PD Advance.<br /><!-- theme: info --><br />> Note: Data availability reflects [pipeline processing cycles](https://support.pagerduty.com/main/docs/insights#:~:text=Data%20Update%20Schedule) and is generally within 24 hours under normal conditions.<br /><br />Scoped OAuth requires: analytics.write<br />
SELECT
feature_id,
total_credits_used,
total_proactive_credits_used,
total_proactive_use_count,
total_use_count
FROM pagerduty.analytics.pd_advance_usage_metrics
;