Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SmartNews と Datadog

SmartNews と Datadog

#dd_sushi での発表資料です。

Takumi Sakamoto

February 24, 2015
Tweet

More Decks by Takumi Sakamoto

Other Decks in Programming

Transcript

  1. from fabric.api run from fabric.decorators import runs_once, parallel @parallel @task

    def deploy(): do_your_task() notify() @runs_once def notify(): ver = release_version() run("java -jar /path/to/newrelic/newrelic.jar deployment --appname=xxxx --revision=%s" % ver) 'BCSJDͰͷσϓϩΠΛ /FX3FMJDʹ௨஌
  2. "default_attributes": { "datadog": { "jmx": { "instances": [ { "include":

    [ { "attributes": [ { "alias": "jmx.xxxx.xxxx", "metric_type": "gauge", "name": "YYYY" } ], "bean": "smartnews:name=xxxx" }, $IFGʹ਺ߦ଍͚ͩ͢Ͱ