https://github.com/faradayio/yardcarbon
Assets for inserting carbon footprints into the EY cloud dashboard
https://github.com/faradayio/yardcarbon
Last synced: 2 days ago
JSON representation
Assets for inserting carbon footprints into the EY cloud dashboard
- Host: GitHub
- URL: https://github.com/faradayio/yardcarbon
- Owner: faradayio
- Created: 2011-03-10T18:47:03.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-04-26T22:23:42.000Z (about 15 years ago)
- Last Synced: 2025-11-02T09:06:20.010Z (7 months ago)
- Language: JavaScript
- Homepage: http://cloud.engineyard.com
- Size: 379 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
CARBON FOOTPRINT DROP-IN CODE FOR EY CLOUD DASHBOARD
----------------------------------------------------
By Brighter Planet, For EngineYard, Our Favorite PaaS
We're basing it off how you guys do the "HTTP Monitoring" lightbox in "More Options." Check out doc/popup.png for how it should look.
What you'll find in this repo:
* 1 new route - /environments/XYZ/carbon_footprint
* 1 new action - CarbonFootprintsController#show
* 1 new view file - app/views/carbon_footprints/show.js.erb
* 1 new javascript file - public/javascripts/Carbon.js
The javascript makes an API call like:
http://carbon.brighterplanet.com/computations.json?carrier=amazon&instance_class=c1.xlarge&duration=2700000®ion=us-east-1a
...or in HTML format for human consumption...
http://carbon.brighterplanet.com/computations.html?carrier=amazon&instance_class=c1.xlarge&duration=2700000®ion=us-east-1a
No customer or personally-identifiable information is sent or stored. It's all client-side javascript.
Any questions, please call Andy (x302) or Seamus (x305) on our main line (802) 458-0441.