Skip to main content

pd_advance_usage_metrics

Creates, updates, deletes, gets or lists a pd_advance_usage_metrics resource.

Overview

Namepd_advance_usage_metrics
TypeResource
Idpagerduty.analytics.pd_advance_usage_metrics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
feature_idstringWhich feature of PD Advance was used.
total_credits_usedintegerHow many credits were used by this feature.
total_proactive_credits_usedintegerHow many of the credits used were initiated by PD Advance rather than a user.
total_proactive_use_countintegerHow many times this feature was initiated by PD Advance rather than a user.
total_use_countintegerHow many times this feature was used.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectProvides 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.

NameDatatypeDescription

SELECT examples

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
;