@sentry/junior-pagerduty 0.268.0 → 0.269.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -24
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,37 +1,15 @@
|
|
|
1
1
|
# @sentry/junior-pagerduty
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Install
|
|
3
|
+
Read-only PagerDuty on-call, schedule, and incident lookups for Junior through the PagerDuty REST API.
|
|
6
4
|
|
|
7
5
|
```bash
|
|
8
6
|
pnpm add @sentry/junior @sentry/junior-pagerduty
|
|
9
7
|
```
|
|
10
8
|
|
|
11
|
-
## Configure
|
|
12
|
-
|
|
13
|
-
Add the package name to the plugin set exported from `plugins.ts`:
|
|
14
|
-
|
|
15
9
|
```ts
|
|
16
10
|
import { defineJuniorPlugins } from "@sentry/junior";
|
|
17
11
|
|
|
18
12
|
export const plugins = defineJuniorPlugins(["@sentry/junior-pagerduty"]);
|
|
19
13
|
```
|
|
20
14
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
PAGERDUTY_API_KEY=...
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Use an account-level General Access REST API key with **Read-only API Key** enabled. An admin or account owner creates it in **Integrations > Developer Tools > API Access Keys**.
|
|
28
|
-
|
|
29
|
-
## Auth model
|
|
30
|
-
|
|
31
|
-
- The plugin uses one deployment-level PagerDuty API key. Users do not connect individual PagerDuty accounts.
|
|
32
|
-
- The real key stays on the host. Junior adds `Authorization: Token token=<key>` to sandbox requests to `api.pagerduty.com`.
|
|
33
|
-
- The key is the read-only boundary. The bundled skill also uses only `GET` requests.
|
|
34
|
-
|
|
35
|
-
The manifest covers the US service region only. EU-region accounts (`api.eu.pagerduty.com`) need a manifest change.
|
|
36
|
-
|
|
37
|
-
Full setup guide: https://junior.sentry.dev/extend/pagerduty-plugin/
|
|
15
|
+
Setup and configuration: https://junior.sentry.dev/extend/pagerduty-plugin/
|