Skip to content

ericmustin/dd_albers_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

an albers usa d3 map

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published