Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.44 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.44 KB

dd albers project

visualize dd log query search results with Albers USA D3 projections

setup [wip]

  • clone repository
  • add your Datadog API_KEY and APP_KEY to the .env file in this repository. DatadogHQ is a monitoring platform that's free to sign up for at https://www.datadoghq.com/. (if using heroku add env variables to settings)
  • enable Logs in datadog datadog logs
  • create a facet for state_name (example state_name:Alabama)
  • create a measure for the value you wish to visualize (default revenue)
  • npm install
  • npm start
  • make gist of your /logs-queries/ request and copy the link (from: https://docs.datadoghq.com/api/?lang=bash#get-a-list-of-logs ) example gist
  • visit in browser with query param "config" set to url of /log-queries/ post body json

example usage

dd_albers_project $ npm start
visit localhost:5000/?config=<gist_of_logs_queries_post_body.json>

example output

example_output_dd_albers

NOTES

  • This is WIP, still only supports log searches that return a facet "state_name" and measure "revenue" at the moment as POC