npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sentry/junior-datadog

v0.75.0

Published

`@sentry/junior-datadog` adds read-only Datadog telemetry workflows to Junior through Datadog's Pup CLI.

Downloads

6,733

Readme

@sentry/junior-datadog

@sentry/junior-datadog adds read-only Datadog telemetry workflows to Junior through Datadog's Pup CLI.

Install it alongside @sentry/junior:

pnpm add @sentry/junior @sentry/junior-datadog

Then add the package name to the plugin set exported from plugins.ts:

import { defineJuniorPlugins } from "@sentry/junior";

export const plugins = defineJuniorPlugins(["@sentry/junior-datadog"]);

Set Datadog credentials in the Junior deployment environment:

DATADOG_API_KEY=...
DATADOG_APP_KEY=...
DATADOG_SITE=datadoghq.com # optional; defaults to US1

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.

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.

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.

Datadog site

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.

| Datadog site | DATADOG_SITE value | | ------------ | ------------------------------------ | | US1 | unset (default) or datadoghq.com | | US3 | us3.datadoghq.com | | US5 | us5.datadoghq.com | | EU | datadoghq.eu | | AP1 | ap1.datadoghq.com | | AP2 | ap2.datadoghq.com | | GovCloud | ddog-gov.com |

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.

Optional channel defaults

If a Slack channel usually investigates the same Datadog environment or service, store that as a conversation-scoped default:

jr-rpc config set datadog.env prod
jr-rpc config set datadog.service checkout

These defaults are optional fallbacks. If a user names a different env or service in a request, Junior should follow the explicit request instead.

Auth model

  • This package uses deployment-level Datadog API and application keys, not per-user OAuth.
  • Use a Datadog application key with the smallest read scopes/role that covers the telemetry users need.
  • Real key values never enter the sandbox env, files, or command arguments.

Full setup guide: https://junior.sentry.dev/extend/datadog-plugin/