@sentry/junior-datadog 0.267.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.
Files changed (2) hide show
  1. package/README.md +3 -54
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,66 +1,15 @@
1
1
  # @sentry/junior-datadog
2
2
 
3
- `@sentry/junior-datadog` adds read-only Datadog telemetry workflows to Junior through Datadog's Pup CLI.
4
-
5
- Install it alongside `@sentry/junior`:
3
+ Read-only Datadog telemetry for Junior through Datadog's Pup CLI.
6
4
 
7
5
  ```bash
8
6
  pnpm add @sentry/junior @sentry/junior-datadog
9
7
  ```
10
8
 
11
- Then add the package name to the plugin set exported from `plugins.ts`:
12
-
13
- ```ts title="plugins.ts"
9
+ ```ts
14
10
  import { defineJuniorPlugins } from "@sentry/junior";
15
11
 
16
12
  export const plugins = defineJuniorPlugins(["@sentry/junior-datadog"]);
17
13
  ```
18
14
 
19
- Set Datadog credentials in the Junior deployment environment:
20
-
21
- ```bash
22
- DATADOG_API_KEY=...
23
- DATADOG_APP_KEY=...
24
- DATADOG_SITE=datadoghq.com # optional; defaults to US1
25
- ```
26
-
27
- Use `DATADOG_API_KEY`, `DATADOG_APP_KEY`, and `DATADOG_SITE` in the Junior deployment environment. The plugin maps those host-side `DATADOG_*` values to Datadog API headers and Pup's sandbox `DD_*` env values.
28
-
29
- The real API and application keys stay host-side. Junior injects them into matching Datadog API requests as `DD-API-KEY` and `DD-APPLICATION-KEY` headers; the sandbox only receives non-secret placeholder values so Pup can perform its normal auth checks.
30
-
31
- Junior keeps this package read-only by setting Pup's read-only mode and by guiding the skill to use `pup --read-only --agent` commands. The plugin is intended for searches, fetches, and analytics across logs, metrics, traces/spans, monitors, incidents, dashboards, hosts, services, and RUM.
32
-
33
- ## Datadog site
34
-
35
- The packaged manifest defaults to the US1 API endpoint. Teams on other Datadog sites set `DATADOG_SITE` in their Junior deployment env to their site host. Setting deployment `DD_SITE` alone has no effect.
36
-
37
- | Datadog site | `DATADOG_SITE` value |
38
- | ------------ | ------------------------------------ |
39
- | US1 | _unset_ (default) or `datadoghq.com` |
40
- | US3 | `us3.datadoghq.com` |
41
- | US5 | `us5.datadoghq.com` |
42
- | EU | `datadoghq.eu` |
43
- | AP1 | `ap1.datadoghq.com` |
44
- | AP2 | `ap2.datadoghq.com` |
45
- | GovCloud | `ddog-gov.com` |
46
-
47
- The packaged API allowlist covers those standard Datadog sites. Custom or staging Datadog domains require a manifest change so the sandbox network header transform is allowed for that host.
48
-
49
- ## Optional channel defaults
50
-
51
- If a Slack channel usually investigates the same Datadog environment or service, store that as a conversation-scoped default:
52
-
53
- ```bash
54
- jr-rpc config set datadog.env prod
55
- jr-rpc config set datadog.service checkout
56
- ```
57
-
58
- These defaults are optional fallbacks. If a user names a different env or service in a request, Junior should follow the explicit request instead.
59
-
60
- ## Auth model
61
-
62
- - This package uses deployment-level Datadog API and application keys, not per-user OAuth.
63
- - Use a Datadog application key with the smallest read scopes/role that covers the telemetry users need.
64
- - Real key values never enter the sandbox env, files, or command arguments.
65
-
66
- Full setup guide: https://junior.sentry.dev/extend/datadog-plugin/
15
+ Setup and configuration: https://junior.sentry.dev/extend/datadog-plugin/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-datadog",
3
- "version": "0.267.0",
3
+ "version": "0.269.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"