Introducing Chart Markers
We're happy to announce our first enhancement to v2 of our API: chart markers.
Use chart markers to note significant events like production deploys, infrastructure upgrades, performance enhancements, etc.
Creating a marker is simple:
curl -X POST --data "notes=deployed production" https://scoutapp.com/api/v2/KEY/markers
Markers are applied to all charts on a dashboard.
Adding a marker after a Capistrano Deploy
Here's an example of a simple hook to create a marker after a deploy if you are using Capistrano:
after "deploy:restart", "deploy:mark_release_via_api" task :mark_release_via_api, hosts:"app1.acme.com" do run_locally %Q(curl --data "notes=deployed production" https://scoutapp.com/api/v2/API_KEY/markers) end