pivotal-cf/metrics-datadog-dashboard

Name: metrics-datadog-dashboard

Owner: Pivotal Cloud Foundry

Description: null

Created: 2016-02-15 16:26:11.0

Updated: 2018-05-13 03:59:20.0

Pushed: 2018-01-31 16:30:28.0

Homepage: null

Size: 15

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

CF Redis example dashboard

To upload a dashboard to Datadog:

  1. Set your DATADOG_APP_KEY and DATADOG_API_KEY in your environment (you can find them under Integrations > APIs)

    rt DATADOG_API_KEY=theapikey
    rt DATADOG_APP_KEY=theappkey
    
  2. Replace occurences of << MetricPrefix >> with the MetricPrefix defined in your firehose nozzle config.

  3. Run import_redis_dashboard [FILENAME], passing in the name of the file that contains your dashboard configuration. See dashboards/redis.json for 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.

CF Mysql example dashboard

To upload a dashboard to Datadog:

  1. Edit config/mysql_dashboard.yml with:

  2. MySQL VM guids, ie. 628fd3ea-bd68-43fb-9ac7-e6dc68523f87

  3. MySQL deployment name, ie. p-mysql

  4. Nozzle name, ie. datadog.nozzle

  5. Set your DATADOG_APP_KEY and DATADOG_API_KEY in your environment (you can find them under Integrations > APIs)

    rt DATADOG_API_KEY=theapikey
    rt DATADOG_APP_KEY=theappkey
    
  6. Run import_mysql_dashboard


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.