https://github.com/zerowidth/raycast-datadog
Raycast extension for Datadog dashboard quick access
https://github.com/zerowidth/raycast-datadog
raycast raycast-extension
Last synced: 11 months ago
JSON representation
Raycast extension for Datadog dashboard quick access
- Host: GitHub
- URL: https://github.com/zerowidth/raycast-datadog
- Owner: zerowidth
- License: mit
- Created: 2021-09-23T06:05:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-08T05:46:33.000Z (over 2 years ago)
- Last Synced: 2025-04-03T09:32:36.215Z (about 1 year ago)
- Topics: raycast, raycast-extension
- Language: TypeScript
- Homepage:
- Size: 235 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Datadog Raycast Extension
This is a simple [Raycast](https://www.raycast.com) extension for Datadog users, focused on loading dashboards from a list defined in a config file.
It provides these commands:
- `Configure Datadog Dashboard List` to edit the config file
- `Open Datadog Dashboard` displays a searchable list of the configured dashboards for quick access
- `Insert Datadog Graph from Clipboard` pastes 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.
## Installation
- Clone this repo
- `npm install`
- `npm run build`
- Run the `Import Extension` raycast command and point it at this directory.
## Dashboard configuration
Basic dashboards are just name -> path mappings. No leading slash needed:
```yaml
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:
```yaml
dashboards:
"database cluster overview":
path: "dashboard/abc-def-ghi?tpl_var_cluster=%%"
options:
- production
- staging
```
Note 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.