CloudQuery PagerDuty Source Plugin Configuration Reference
In order to get started with the PagerDuty plugin, you need to create a YAML file in your CloudQuery configuration directory (e.g. named
This example connects a single PagerDuty subscription to a Postgres destination. The (top level) source spec section is described in the Source Spec Reference.
kind: source spec: # Source spec section name: "pagerduty" path: "cloudquery/pagerduty" version: "v3.0.9" tables: ["*"] destinations: ["postgresql"] spec: # optional team_ids: ["<team_id>"]
This is the (nested) spec used by the PagerDuty source plugin.
team_ids(string) (default: empty. will sync data from all available teams)
If specified, limits the sync to only resources related to the specified teams.
max_requests_per_second(int) (default: 10) PagerDuty API is heavily rate-limited (900 requests/min = 15 requests/sec, across the entire organization). This option allows you to control the rate at which the plugin will make requests to the API. You can reduce this parameter in case you are still seeing rate limit errors (status code 429), or increase it if your PagerDuty API quota is higher. See https://developer.pagerduty.com/docs/ZG9jOjExMDI5NTUz-rate-limiting#what-are-our-limits (opens in a new tab) for more info.
concurrency(int, optional, default: 1000): A best effort maximum number of Go routines to use. Lower this number to reduce memory usage.