This is a simple Raycast extension for Datadog users, focused on loading dashboards from a list defined in a config file.
It provides these commands:
Configure Datadog Dashboard Listto edit the config fileOpen Datadog Dashboarddisplays a searchable list of the configured dashboards for quick accessInsert Datadog Graph from Clipboardpastes a markdown link and the opengraph image for a datadog graph URL as copied from a dashboard. This is useful both in issue writeups on GitHub and notes apps such as Obsidian.
- Clone this repo
npm installnpm run build- Run the
Import Extensionraycast command and point it at this directory.
Basic dashboards are just name -> path mappings. No leading slash needed:
dashboards:
"web status": "dashboard/abc-def-ghi"
"request errors": "dashboard/qrs-tuv-wxy"It's also common for dashboards to take parameters, e.g. a database cluster name. This can be defined using a %% placeholder:
dashboards:
"database cluster overview":
path: "dashboard/abc-def-ghi?tpl_var_cluster=%%"
options:
- production
- stagingNote that paths aren't required to be dashboards, you can link to notebooks, monitors, or anything else under the app.datadoghq.com domain.
A default config file will be created for you when you first load the dashboard command.