{"__v":9,"_id":"55d3b647f77e6d0d00b1b288","category":{"__v":4,"_id":"55d3b645f77e6d0d00b1b27c","pages":["55d3b647f77e6d0d00b1b286","55d3b647f77e6d0d00b1b287","55d3b647f77e6d0d00b1b288","55d3b647f77e6d0d00b1b289","55d3b647f77e6d0d00b1b28a","55d3b647f77e6d0d00b1b28b","55d3b647f77e6d0d00b1b28c","55d3b647f77e6d0d00b1b28d","55d3b647f77e6d0d00b1b28e","55d3b647f77e6d0d00b1b28f","55d3b647f77e6d0d00b1b290","55d3b647f77e6d0d00b1b291","562ea6c53b2af20d006ad03d","56312e4024014b0d00bd9a48","564e4d122b223c2b00496a27"],"project":"55c505b41469ad2500fa2ab7","version":"55d3b644f77e6d0d00b1b273","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-10T18:45:23.276Z","from_sync":false,"order":9,"slug":"integration-guides","title":"Integration Guides"},"parentDoc":null,"project":"55c505b41469ad2500fa2ab7","user":"55c50f4a7c199a2f00665cbf","version":{"__v":5,"_id":"55d3b644f77e6d0d00b1b273","project":"55c505b41469ad2500fa2ab7","createdAt":"2015-08-18T22:48:36.632Z","releaseDate":"2015-08-18T22:48:36.632Z","categories":["55d3b645f77e6d0d00b1b274","55d3b645f77e6d0d00b1b275","55d3b645f77e6d0d00b1b276","55d3b645f77e6d0d00b1b277","55d3b645f77e6d0d00b1b278","55d3b645f77e6d0d00b1b279","55d3b645f77e6d0d00b1b27a","55d3b645f77e6d0d00b1b27b","55d3b645f77e6d0d00b1b27c","55d3b645f77e6d0d00b1b27d","55d7c2939510f00d007ec6fe","56fac9925df15a20002972a2","56fb2f7668e1d30e00a0b672","583498d411e8af2500f6b334"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-10T20:07:53.166Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"**How it works : **\n1. You add your Datadog API key and an application key to Neptune\n2. Add a Neptune endpoint as webhook to all your monitors in Datadog (Don't do this step if you are a pagerduty user and have already integrated your pagerduty account with Neptune)\n\n**Benefits :** Once integrated, Neptune can understand your Datadog monitors and all the alerts with deeper knowledge about type of event, related hosts, tags, etc. You can then automate all your Datadog alerts. For e.g :\n\n* Restart your app/process/service when Datadog process monitoring alert triggers\n* Gather diagnostics about your app when high error rate alert riggers\n* Cleanup disks when high disk utilization alert triggers\n* Restart an app/process when high memory alert triggers\n\n## Step 1: Go to your integrations page to get started with Datadog integration.\n\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/oap7i0aFRPWaLSz01WQg_datadogGetStarted.png\",\n        \"datadogGetStarted.png\",\n        \"1613\",\n        \"1034\",\n        \"#a71b68\",\n        \"\"\n      ],\n      \"caption\": \"Datadog Integration\"\n    }\n  ]\n}\n[/block]\n## Step 2: Get your Datadog API and Application keys\nIn Datadog, go to your (1) Integrations-APIs -->(2) Copy API key --> (3/4) Create a Neptuneio Application key --> (5) Copy Application key\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/MDLBRJUXTSecbwQbepWg_datadogAPIKeys.png\",\n        \"datadogAPIKeys.png\",\n        \"1410\",\n        \"984\",\n        \"#814898\",\n        \"\"\n      ],\n      \"caption\": \"Get Datadog API Keys\"\n    }\n  ]\n}\n[/block]\n\n## Step 3: Add the Datadog keys\nAdd the keys copied in above step and save the keys with a name (e.g : NeptuneioDatadogKeys)\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/lk4HfS6OS0CK57zJkJWI_datadogAddAPIKeys.png\",\n        \"datadogAddAPIKeys.png\",\n        \"896\",\n        \"380\",\n        \"#a61767\",\n        \"\"\n      ],\n      \"caption\": \"Add Datadog API Key\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"For Datadog + PagerDuty users\",\n  \"body\": \"Run the below steps only if you are **not** integrating your PagerDuty account with Neptune.io\\nOtherwise, Neptune.io will be triggered twice for the same alert.\"\n}\n[/block]\n## Step 4: Add Neptuneio endpoint as a webhook channel in Datadog\n\n  * Use the Neptune endpoint URL specified in the integration page (It contains a unique URL with your Neptune API key)\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/QP0e6gisROyzPJiPkhfC_datadogEndpoint.png\",\n        \"datadogEndpoint.png\",\n        \"894\",\n        \"208\",\n        \"#4b3f40\",\n        \"\"\n      ],\n      \"caption\": \"Add Neptune.io endpoint\"\n    }\n  ]\n}\n[/block]\n\n  * In your Datadog account go to: (1) Integrations --> (2) Search for webhook --> (3) Install --> (4) Give name of \"Neptuneio\" for webhook --> (5) Copy below webhook endpoint --> (6) Check \"Use custom payload\" --> (7) Copy the custom payload JSON given below --> (8) Install integration\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/oFQQBOHzTUKt6yZpJNyA_installDatadogWebhook.png\",\n        \"installDatadogWebhook.png\",\n        \"1410\",\n        \"984\",\n        \"#81499e\",\n        \"\"\n      ],\n      \"caption\": \"Create Webhook channel in Datadog 1\"\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/IJODQ8NeSCmBWWxCGezw_addDatadogWebhookJSON.png\",\n        \"addDatadogWebhookJSON.png\",\n        \"1410\",\n        \"984\",\n        \"#d5995e\",\n        \"\"\n      ],\n      \"caption\": \"Create Webhook channel in Datadog 2\"\n    }\n  ]\n}\n[/block]\nAll Done! Make sure you name the webhook above as \"Neptuneio\" in datadog without fail.","excerpt":"","slug":"datadog-integration","type":"basic","title":"Datadog"}
**How it works : ** 1. You add your Datadog API key and an application key to Neptune 2. Add a Neptune endpoint as webhook to all your monitors in Datadog (Don't do this step if you are a pagerduty user and have already integrated your pagerduty account with Neptune) **Benefits :** Once integrated, Neptune can understand your Datadog monitors and all the alerts with deeper knowledge about type of event, related hosts, tags, etc. You can then automate all your Datadog alerts. For e.g : * Restart your app/process/service when Datadog process monitoring alert triggers * Gather diagnostics about your app when high error rate alert riggers * Cleanup disks when high disk utilization alert triggers * Restart an app/process when high memory alert triggers ## Step 1: Go to your integrations page to get started with Datadog integration. [block:image] { "images": [ { "image": [ "https://files.readme.io/oap7i0aFRPWaLSz01WQg_datadogGetStarted.png", "datadogGetStarted.png", "1613", "1034", "#a71b68", "" ], "caption": "Datadog Integration" } ] } [/block] ## Step 2: Get your Datadog API and Application keys In Datadog, go to your (1) Integrations-APIs -->(2) Copy API key --> (3/4) Create a Neptuneio Application key --> (5) Copy Application key [block:image] { "images": [ { "image": [ "https://files.readme.io/MDLBRJUXTSecbwQbepWg_datadogAPIKeys.png", "datadogAPIKeys.png", "1410", "984", "#814898", "" ], "caption": "Get Datadog API Keys" } ] } [/block] ## Step 3: Add the Datadog keys Add the keys copied in above step and save the keys with a name (e.g : NeptuneioDatadogKeys) [block:image] { "images": [ { "image": [ "https://files.readme.io/lk4HfS6OS0CK57zJkJWI_datadogAddAPIKeys.png", "datadogAddAPIKeys.png", "896", "380", "#a61767", "" ], "caption": "Add Datadog API Key" } ] } [/block] [block:callout] { "type": "warning", "title": "For Datadog + PagerDuty users", "body": "Run the below steps only if you are **not** integrating your PagerDuty account with Neptune.io\nOtherwise, Neptune.io will be triggered twice for the same alert." } [/block] ## Step 4: Add Neptuneio endpoint as a webhook channel in Datadog * Use the Neptune endpoint URL specified in the integration page (It contains a unique URL with your Neptune API key) [block:image] { "images": [ { "image": [ "https://files.readme.io/QP0e6gisROyzPJiPkhfC_datadogEndpoint.png", "datadogEndpoint.png", "894", "208", "#4b3f40", "" ], "caption": "Add Neptune.io endpoint" } ] } [/block] * In your Datadog account go to: (1) Integrations --> (2) Search for webhook --> (3) Install --> (4) Give name of "Neptuneio" for webhook --> (5) Copy below webhook endpoint --> (6) Check "Use custom payload" --> (7) Copy the custom payload JSON given below --> (8) Install integration [block:image] { "images": [ { "image": [ "https://files.readme.io/oFQQBOHzTUKt6yZpJNyA_installDatadogWebhook.png", "installDatadogWebhook.png", "1410", "984", "#81499e", "" ], "caption": "Create Webhook channel in Datadog 1" } ] } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/IJODQ8NeSCmBWWxCGezw_addDatadogWebhookJSON.png", "addDatadogWebhookJSON.png", "1410", "984", "#d5995e", "" ], "caption": "Create Webhook channel in Datadog 2" } ] } [/block] All Done! Make sure you name the webhook above as "Neptuneio" in datadog without fail.