0.0.0-nightly-20216621753 • Published 5 years ago

@backstage/plugin-pagerduty v0.0.0-nightly-20216621753

Weekly downloads
929
License
Apache-2.0
Repository
github
Last release
5 years ago

PagerDuty

Overview

This plugin displays PagerDuty information about an entity such as if there are any active incidents and what the escalation policy is.

There is also an easy way to trigger an alarm directly to the person who is currently on-call.

This plugin requires that entities are annotated with an integration key. See more further down in this document.

Features

View any open incidents

PagerDuty plugin showing no incidents and the on-call rotation

Email link, and view contact information for staff on call

PagerDuty plugin showing on-call rotation contact information

Trigger an incident for a service

PagerDuty plugin popup modal for creating an incident

PagerDuty plugin showing an active incident

Setup instructions

Install the plugin:

# From your Backstage root directory
cd packages/app
yarn add @backstage/plugin-pagerduty

Add it to the EntityPage.tsx:

import {
  isPluginApplicableToEntity as isPagerDutyAvailable,
  EntityPagerDutyCard,
} from '@backstage/plugin-pagerduty';
// add to code
{
  isPagerDutyAvailable(entity) && (
    <Grid item md={6}>
      <EntityPagerDutyCard />
    </Grid>
  );
}

Client configuration

If you want to override the default URL for events, you can add it to app-config.yaml.

In app-config.yaml:

pagerduty:
  eventsBaseUrl: 'https://events.pagerduty.com/v2'

Providing the API Token

In order for the client to make requests to the PagerDuty API it needs an API Token.

Add the proxy configuration in app-config.yaml

proxy:
  ...
  '/pagerduty':
    target: https://api.pagerduty.com
    headers:
      Authorization: Token token=${PAGERDUTY_TOKEN}

Then start the backend passing the token as an environment variable:

$ PAGERDUTY_TOKEN='<TOKEN>' yarn start

This will proxy the request by adding Authorization header with the provided token.

Integration Key

The information displayed for each entity is based on the integration key.

Adding the integration key to the entity annotation

If you want to use this plugin for an entity, you need to label it with the below annotation:

annotations:
  pagerduty.com/integration-key: [INTEGRATION_KEY]
0.7.7

2 years ago

0.7.6

2 years ago

0.7.6-next.1

2 years ago

0.7.6-next.0

2 years ago

0.7.5

2 years ago

0.7.4

2 years ago

0.7.3

2 years ago

0.7.3-next.2

2 years ago

0.7.3-next.1

2 years ago

0.7.3-next.0

2 years ago

0.7.2

2 years ago

0.7.2-next.3

2 years ago

0.7.2-next.2

2 years ago

0.7.2-next.1

2 years ago

0.7.2-next.0

2 years ago

0.7.1

2 years ago

0.7.1-next.2

2 years ago

0.7.1-next.1

2 years ago

0.7.1-next.0

2 years ago

0.7.0

2 years ago

0.7.0-next.3

2 years ago

0.7.0-next.2

2 years ago

0.7.0-next.1

2 years ago

0.6.1-next.1

3 years ago

0.6.1-next.2

3 years ago

0.6.5-next.3

2 years ago

0.6.5-next.2

2 years ago

0.6.5-next.1

2 years ago

0.6.6-next.0

2 years ago

0.6.6-next.1

2 years ago

0.6.6-next.2

2 years ago

0.6.7

2 years ago

0.6.6

2 years ago

0.6.8

2 years ago

0.6.4-next.0

2 years ago

0.6.3

2 years ago

0.6.2-next.1

2 years ago

0.6.2

2 years ago

0.6.2-next.0

2 years ago

0.6.5

2 years ago

0.6.4

2 years ago

0.6.1

2 years ago

0.6.9-next.0

2 years ago

0.6.7-next.0

2 years ago

0.6.7-next.2

2 years ago

0.6.7-next.1

2 years ago

0.6.1-next.0

3 years ago

0.6.0

3 years ago

0.5.12-next.2

3 years ago

0.5.12-next.3

3 years ago

0.5.11

3 years ago

0.5.12-next.0

3 years ago

0.5.12-next.1

3 years ago

0.5.11-next.2

3 years ago

0.5.11-next.1

3 years ago

0.5.10

3 years ago

0.5.11-next.0

3 years ago

0.5.10-next.3

3 years ago

0.5.9-next.0

3 years ago

0.5.9-next.1

3 years ago

0.5.9-next.2

3 years ago

0.5.8

3 years ago

0.5.9

3 years ago

0.5.10-next.1

3 years ago

0.5.10-next.0

3 years ago

0.5.10-next.2

3 years ago

0.5.7-next.1

3 years ago

0.5.7-next.2

3 years ago

0.5.7

3 years ago

0.5.8-next.0

3 years ago

0.5.8-next.2

3 years ago

0.5.8-next.1

3 years ago

0.5.5-next.1

3 years ago

0.5.5-next.0

3 years ago

0.5.5-next.3

3 years ago

0.5.5-next.2

3 years ago

0.5.5-next.4

3 years ago

0.5.4

3 years ago

0.5.3

3 years ago

0.5.6

3 years ago

0.5.5

3 years ago

0.5.7-next.0

3 years ago

0.5.4-next.1

3 years ago

0.5.4-next.0

3 years ago

0.5.3-next.1

3 years ago

0.5.3-next.0

3 years ago

0.5.3-next.2

3 years ago

0.5.2-next.1

3 years ago

0.5.2-next.2

3 years ago

0.5.2-next.3

3 years ago

0.5.2-next.0

3 years ago

0.5.2

3 years ago

0.3.33-next.1

4 years ago

0.3.33-next.0

4 years ago

0.5.0

3 years ago

0.5.1

3 years ago

0.4.0-next.2

4 years ago

0.5.1-next.1

3 years ago

0.5.1-next.0

3 years ago

0.4.0

4 years ago

0.5.0-next.2

4 years ago

0.5.0-next.1

4 years ago

0.5.0-next.0

4 years ago

0.5.0-next.3

4 years ago

0.3.32-next.2

4 years ago

0.3.32-next.1

4 years ago

0.3.32-next.0

4 years ago

0.3.32

4 years ago

0.3.31-next.0

4 years ago

0.3.31-next.1

4 years ago

0.3.31

4 years ago

0.3.30

4 years ago

0.3.29

4 years ago

0.3.29-next.0

4 years ago

0.3.28

4 years ago

0.3.24-next.0

4 years ago

0.3.20

4 years ago

0.3.27

4 years ago

0.3.26

4 years ago

0.3.25

4 years ago

0.3.24

4 years ago

0.3.23

4 years ago

0.3.22

4 years ago

0.3.21

4 years ago

0.3.19

4 years ago

0.3.25-next.0

4 years ago

0.3.23-next.0

4 years ago

0.3.18

4 years ago

0.3.17

4 years ago

0.3.16

4 years ago

0.3.15

4 years ago

0.3.14

4 years ago

0.3.13

4 years ago

0.3.12

4 years ago

0.3.11

4 years ago

0.3.10

4 years ago

0.3.9

4 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago