Introducing Chart Markers

October 16 Bullet_white By Derek Bullet_white Posted in Features Bullet_white Comments Comments

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

Get notified of new posts.

Once a month, we'll deliver a finely-curated selection of optimization tips to your inbox.

Comments

comments powered by Disqus