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

@agentapps/app.datadog

v3.0.1

Published

Monitor metrics, logs, incidents, and dashboards with Datadog

Readme

Datadog

Lets an agent read monitoring data from a Datadog account and make two changes to monitors. It queries metrics, searches logs, and lists monitors, dashboards, incidents and downtimes; it can also create a monitor and mute one. It calls the Datadog API (v1 and v2 endpoints) at https://api.datadoghq.com with an API key and an application key.

Limits:

  • The address is fixed: only accounts on the datadoghq.com site can be reached. Accounts on another Datadog site (for example datadoghq.eu) are not supported.
  • search-logs returns 10 log events by default and 1000 at most.
  • Calls are not retried and have no deadline of their own.

Tools

| Tool | What it does | Writes? | |---|---|---| | query-metrics | Queries time-series metrics with a metric query and a time range in epoch seconds. | no | | search-logs | Searches log events by query and time range, with a limit and a sort order. | no | | list-monitors | Lists monitors, filtered by name or tags, with paging. | no | | get-monitor | Returns one monitor by id. | no | | create-monitor | Creates a monitor from a type, a query and a name, with an optional message, tags and priority. | yes, asks first | | mute-monitor | Mutes a monitor, optionally until an end timestamp. | yes, asks first | | list-dashboards | Lists dashboards, optionally limited to a count. | no | | get-dashboard | Returns one dashboard by id. | no | | list-incidents | Lists incidents, with page size and offset. | no | | get-incident | Returns one incident by id. | no | | list-downtimes | Lists scheduled downtimes, optionally only the active ones. | no |

Setup

agentapps install app.datadog datadog
agentapps config datadog API_KEY:<your API key> APP_KEY:<your application key>
agentapps datadog tools
agentapps datadog tool list-monitors pageSize:5

API_KEY and APP_KEY are installation secrets: each installation has its own pair. In Datadog, API keys are under Organization Settings > API Keys and application keys under Organization Settings > Application Keys (https://docs.datadoghq.com/account_management/api-app-keys/). The application key carries the permissions of the user who created it, so the tools can do what that user can do.

Terms of use

Datadog's own terms apply to everything the app does with your account. Its Master Subscription Agreement is at https://www.datadoghq.com/legal/msa/. TODO: note here any API rate limit that matters to someone installing the app.

Logos

TODO: record the official source of assets/logo.svg and assets/logo-mono.svg (Datadog's press kit, brand guidelines or its own site). They have been in the repository since before this README existed and their origin was not written down.