Pagerduty

Connects to the Pagerduty API and shows schedules

Configuration

pagerduty:
  apiKey: "<yourapikey>"
  enabled: true
  escalationFilter:
  - "client-eng"
  position:
    top: 4
    left: 3
    height: 1
    width: 2
  scheduleIDs:
  - "R2D24CD"
  - "C3P05MF"
  showIncidents: true
  showSchedules: true
Name Description Value
apiKey Your PagerDuty API token. Your API key or leave it empty to use the WTF_PAGERDUTY_API_KEY environment variable.
border Optional Whether or not to draw this widget with a border. Default: true. true, false
enabled Optional Whether or not this module is executed and if its data displayed onscreen. Default: false. true, false
escalationFilter An array of schedule names you want to filter on.
position Defines where in the grid this module’s widget will be displayed.
refreshInterval Optional How often, in seconds, this module will update its data. Default: 300. Any positive integer.
scheduleIDs An array of schedule IDs you want to restrict the query to.
showIncidents Optional Whether or not to list incidents. Default: true. true, false
showSchedules Optional Whether or not to show schedules. Default: true. true, false

Source Code

wtf/modules/pagerduty/