0.7.7 • Published 11 days ago

@backstage/plugin-pagerduty v0.7.7

Weekly downloads
929
License
Apache-2.0
Repository
github
Last release
11 days 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.

This plugin provides:

  • A list of incidents
  • A way to trigger an alarm to the person on-call
  • Information details about the person on-call

Setup instructions

Install the plugin:

yarn add @backstage/plugin-pagerduty

Add it to the app in plugins.ts:

export { plugin as Pagerduty } from '@backstage/plugin-pagerduty';

Add it to the EntityPage.ts:

import {
  isPluginApplicableToEntity as isPagerDutyAvailable,
  PagerDutyCard,
} from '@backstage/plugin-pagerduty';
// add to code
{
  isPagerDutyAvailable(entity) && (
    <Grid item md={6}>
      <PagerDutyCard entity={entity} />
    </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.

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

$ PAGERDUTY_TOKEN='Token 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

14 days ago

0.7.6

17 days ago

0.7.6-next.1

24 days ago

0.7.6-next.0

1 month ago

0.7.5

1 month ago

0.7.4

1 month ago

0.7.3

1 month ago

0.7.3-next.2

2 months ago

0.7.3-next.1

2 months ago

0.7.3-next.0

2 months ago

0.7.2

2 months ago

0.7.2-next.3

3 months ago

0.7.2-next.2

3 months ago

0.7.2-next.1

3 months ago

0.7.2-next.0

3 months ago

0.7.1

4 months ago

0.7.1-next.2

4 months ago

0.7.1-next.1

4 months ago

0.7.1-next.0

4 months ago

0.7.0

5 months ago

0.7.0-next.3

5 months ago

0.7.0-next.2

5 months ago

0.7.0-next.1

5 months ago

0.6.1-next.1

10 months ago

0.6.1-next.2

10 months ago

0.6.5-next.3

8 months ago

0.6.5-next.2

8 months ago

0.6.5-next.1

8 months ago

0.6.6-next.0

7 months ago

0.6.6-next.1

7 months ago

0.6.6-next.2

7 months ago

0.6.7

6 months ago

0.6.6

7 months ago

0.6.8

5 months ago

0.6.4-next.0

8 months ago

0.6.3

9 months ago

0.6.2-next.1

9 months ago

0.6.2

9 months ago

0.6.2-next.0

9 months ago

0.6.5

8 months ago

0.6.4

8 months ago

0.6.1

10 months ago

0.6.9-next.0

5 months ago

0.6.7-next.0

6 months ago

0.6.7-next.2

6 months ago

0.6.7-next.1

6 months ago

0.6.1-next.0

10 months ago

0.6.0

11 months ago

0.5.12-next.2

11 months ago

0.5.12-next.3

11 months ago

0.5.11

12 months ago

0.5.12-next.0

12 months ago

0.5.12-next.1

11 months ago

0.5.11-next.2

12 months ago

0.5.11-next.1

1 year ago

0.5.10

1 year ago

0.5.11-next.0

1 year ago

0.5.10-next.3

1 year ago

0.5.9-next.0

1 year ago

0.5.9-next.1

1 year ago

0.5.9-next.2

1 year ago

0.5.8

1 year ago

0.5.9

1 year ago

0.5.10-next.1

1 year ago

0.5.10-next.0

1 year ago

0.5.10-next.2

1 year ago

0.5.7-next.1

1 year ago

0.5.7-next.2

1 year ago

0.5.7

1 year ago

0.5.8-next.0

1 year ago

0.5.8-next.2

1 year ago

0.5.8-next.1

1 year ago

0.5.5-next.1

1 year ago

0.5.5-next.0

1 year ago

0.5.5-next.3

1 year ago

0.5.5-next.2

1 year ago

0.5.5-next.4

1 year ago

0.5.4

1 year ago

0.5.3

2 years ago

0.5.6

1 year ago

0.5.5

1 year ago

0.5.7-next.0

1 year ago

0.5.4-next.1

1 year ago

0.5.4-next.0

2 years ago

0.5.3-next.1

2 years ago

0.5.3-next.0

2 years ago

0.5.3-next.2

2 years ago

0.5.2-next.1

2 years ago

0.5.2-next.2

2 years ago

0.5.2-next.3

2 years ago

0.5.2-next.0

2 years ago

0.5.2

2 years ago

0.3.33-next.1

2 years ago

0.3.33-next.0

2 years ago

0.5.0

2 years ago

0.5.1

2 years ago

0.4.0-next.2

2 years ago

0.5.1-next.1

2 years ago

0.5.1-next.0

2 years ago

0.4.0

2 years ago

0.5.0-next.2

2 years ago

0.5.0-next.1

2 years ago

0.5.0-next.0

2 years ago

0.5.0-next.3

2 years ago

0.3.32-next.2

2 years ago

0.3.32-next.1

2 years ago

0.3.32-next.0

2 years ago

0.3.32

2 years ago

0.3.31-next.0

2 years ago

0.3.31-next.1

2 years ago

0.3.31

2 years ago

0.3.30

2 years ago

0.3.29

2 years ago

0.3.29-next.0

2 years ago

0.3.28

2 years ago

0.3.24-next.0

2 years ago

0.3.20

2 years ago

0.3.27

2 years ago

0.3.26

2 years ago

0.3.25

2 years ago

0.3.24

2 years ago

0.3.23

2 years ago

0.3.22

2 years ago

0.3.21

2 years ago

0.3.19

2 years ago

0.3.25-next.0

2 years ago

0.3.23-next.0

2 years ago

0.3.18

2 years ago

0.3.17

3 years ago

0.3.16

3 years ago

0.3.15

3 years ago

0.3.14

3 years ago

0.3.13

3 years ago

0.3.12

3 years ago

0.3.11

3 years ago

0.3.10

3 years ago

0.3.9

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago