This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script uses the Datadog API to pull down monthly costs by charge type (commit/on-demand) and product name into CSV | |
# run it like this (after you setup your datadog app / api keys as env variables as DD_APP_KEY and DD_API_KEY): | |
# | |
# % ./dd_monthly_cost_by_prod_charge.sh | |
# | |
# Output looks like this: | |
# | |
# product name, charge type, cost |
OlderNewer