Skip to content

Instantly share code, notes, and snippets.

View jarthorn's full-sized avatar

John Arthorne jarthorn

  • Shopify
  • Ottawa, ON
View GitHub Profile
@pmbauer
pmbauer / screen-time.sh
Last active November 5, 2020 12:14
create a datadog time board from a screen board
#!/usr/bin/env bash
#params
# dd_api_key=
# dd_app_key=
# screen_id=
curl -sX GET "https://app.datadoghq.com/api/v1/screen/${screen_id}?api_key=${dd_api_key}&application_key=${dd_app_key}" \
| jq '{
title: .board_title,
description: .board_title,
template_variables: .template_variables,