#alfred #workflow #datadog

bin+lib datadog-workflow

Datadog Alfred Workflow to search dashboards, screenboards and monitors

4 stable releases

2.0.1 Nov 10, 2019
2.0.0 Aug 17, 2019
1.0.1 Dec 31, 2018

#1473 in Development tools

Download history 3/week @ 2023-11-01 4/week @ 2023-11-08 1/week @ 2023-11-15 5/week @ 2023-11-22 18/week @ 2023-11-29 5/week @ 2023-12-13 5/week @ 2023-12-20 8/week @ 2023-12-27 1/week @ 2024-01-03 1/week @ 2024-01-10 13/week @ 2024-01-17 8/week @ 2024-01-24 8/week @ 2024-01-31 1/week @ 2024-02-07 43/week @ 2024-02-14

64 downloads per month

MIT license

180KB
810 lines

Datadog Workflow

Datadog Alfred Workflow to cache and 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 Datadog API URL - they differ for US vs EU eg. https://api.datadoghq.com/api Datadog Company Subdomain - for building the URL's eg. https://.datadoghq.com/monitors/

Installation

  1. Download datadog-workflow.alfredworkflow from the repo's releases section
  2. Install in Alfred (double-click)

Setup

  1. Have your Datadog Application key ready, if you don't have one you can find/generate here https://{company}.datadoghq.com/account/settings#api
  2. In Alfred set the API_KEY and APPLICATION_KEY environment variables for the workflow. Alfred Settings
  3. In Alfred set the SUBDOMAIN.
  4. In Alfred set the Datadog API_URL, by default it's set to the US value.
  5. In Alfred type dd , navigate to refresh, hit ENTER to cache/index your Datadog timeboards, screenboards and monitors; this may take some time depending on the number your organization has, there will be a notification popup once complete.

Usage

  • dd d [query]... which queries for timeboards and screenboards together
  • dd t [query]... which queries for timeboards
  • dd s [query]... which queries for screenboards
  • dd m [OPTIONS] [query]... which queries for monitors
    • --tag <tag> this options allows you to filter monitors by a singe tag attached to them.

Dependencies

~41MB
~843K SLoC