Datadog Workflow
Datadog Alfred Workflow to search dashboards, screenboards and monitors
Requirements
sqlite - cache and config values are stored in an sqlite database Datadog Application & API Key - for Datadog API access
Installation
- Download datadog-workflow.alfredworkflow from the repo's releases section
- Install in Alfred (double-click)
Setup
- Have your Datadog Application key ready, if you don't have one you can find/generate here
https://{company}.datadoghq.com/account/settings#api
- In Alfred type
dd
you'll be presented with a settings + refresh option, navigate to settings, hit TAB - You be presented with 2 options, ont for applicatio key and another for api key, navigate to the application key, hit TAB
- Paste in you key and hit ENTER
- Repeat steps 1->4 for the API key.
- In Alfred type
dd
, navigate to refresh, hit ENTER to cache/index your Datsdog timeboards, screenboards and monitors; this may take some time depending on the number you organization has, there will be a notification popup once complete.
Usage
dd d [query]...
which queries for timeboards and screenboards togetherdd t [query]...
which queries for timeboardsdd s [query]...
which queries for screenboardsdd m [OPTIONS] [query]...
which queries for monitors--tag <tag>
this options allows you to filter monitors by a singe tag attached to them.
Misc
the sqlite database is located at $HOME/.alfred/workflows/datadog/db.sqlite3