To upload a dashboard to Datadog:
-
Set your DATADOG_APP_KEY and DATADOG_API_KEY in your environment (you can find them under Integrations > APIs)
export DATADOG_API_KEY=theapikey export DATADOG_APP_KEY=theappkey -
Replace occurences of
<< MetricPrefix >>with theMetricPrefixdefined in your firehose nozzle config. -
Run
import_redis_dashboard [FILENAME], passing in the name of the file that contains your dashboard configuration. Seedashboards/redis.jsonfor an example.
To get a JSON representation of an existing dashboard, run get_screenboard [screenboard_id] or get_all_screenboards if you don't know the screenboard_id.
To upload a dashboard to Datadog:
- Edit
config/mysql_dashboard.ymlwith:
- MySQL VM guids, ie.
628fd3ea-bd68-43fb-9ac7-e6dc68523f87 - MySQL deployment name, ie.
p-mysql - Nozzle name, ie.
datadog.nozzle
-
Set your DATADOG_APP_KEY and DATADOG_API_KEY in your environment (you can find them under Integrations > APIs)
export DATADOG_API_KEY=theapikey export DATADOG_APP_KEY=theappkey -
Run
import_mysql_dashboard