{"action":"created","comment":{"url":"https://api.github.com/repos/DataDog/documentation/pulls/comments/57476258","id":57476258,"diff_hunk":"@@ -0,0 +1,57 @@\n+---\n+title: Datadog-Catchpoint Integration\n+integration_title: Catchpoint\n+kind: integration\n+doclevel: basic\n+---\n+\n+### Overview\n+\n+Catchpoint is a Digital Performance Analytics platform that gives you the power to deliver amazing user experiences.\n+\n+Connect Catchpoint and Datadog to:\n+\n+* Configure comprehensive alerts in your event stream\n+* Direct links to Analysis Charts in the Catchpoint Portal\n+* Alert Type tags for easy filtering\n+\n+\n+### Installation\n+\n+No installation is required.\n+\n+### Configuration\n+\n+To get Catchpoint alerts into your stream, login into the Catchpoint Portal and goto Settings > API.\n+\n+1. In the Alerts API select Enable\n+1. Enter the DataDog Endpoint URL. You will also need the DataDog API Key which can be created in the DataDog portal.\n+1. Set Status to Active\n+1. Select Template for Format\n+1. Add a new template\n+1. Enter the template Name e.g. DataDog and set the Format to JSON.\n+1. Use the following JSON Template and Save it.\n+\n+{\n+\"title\": \"${TestName} [${TestId}] - ${switch(${notificationLevelId},'0','WARNING','1','CRITICAL','3','OK')}\",\n+\"text\": \"${TestName} - http://portal.catchpoint.com/ui/Content/Charts/Performance.aspx?tList=\n+${testId}&uts=${alertProcessingTimestampUtc}&z=&chartView=1\",\n+\"priority\": \"normal\",\n+\"tags\": [\"alertType:${Switch(${AlertTypeId},'0', 'Unknown','2', 'Byte Length','3',\n+'Content Match','4', 'Host Failure','7', 'Timing','9', 'Test Failure', '10',\n+'Insight', '11','Javascript Failure', '12', 'Ping',13, 'Requests')}\"],\n+\"alert_type\": \"${switch(${notificationLevelId},'0','warning','1','error','3','success')}\",\n+\"source_type_name\": \"catchpoint\"\n+}\n+{:.language-json}","path":"content/integrations/catchpoint.md","position":46,"original_position":46,"commit_id":"2035b583faaf2aa0370cfbdef7e372842dc2fdd5","original_commit_id":"2035b583faaf2aa0370cfbdef7e372842dc2fdd5","user":{"login":"technovangelist","id":633681,"avatar_url":"https://avatars.githubusercontent.com/u/633681?v=3","gravatar_id":"","url":"https://api.github.com/users/technovangelist","html_url":"https://github.com/technovangelist","followers_url":"https://api.github.com/users/technovangelist/followers","following_url":"https://api.github.com/users/technovangelist/following{/other_user}","gists_url":"https://api.github.com/users/technovangelist/gists{/gist_id}","starred_url":"https://api.github.com/users/technovangelist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technovangelist/subscriptions","organizations_url":"https://api.github.com/users/technovangelist/orgs","repos_url":"https://api.github.com/users/technovangelist/repos","events_url":"https://api.github.com/users/technovangelist/events{/privacy}","received_events_url":"https://api.github.com/users/technovangelist/received_events","type":"User","site_admin":false},"body":"the formatting on this one doesn't look right. you need to indent 2 more over the indent level of the bullet content","created_at":"2016-03-25T18:46:04Z","updated_at":"2016-03-25T18:46:04Z","html_url":"https://github.com/DataDog/documentation/pull/681#discussion_r57476258","pull_request_url":"https://api.github.com/repos/DataDog/documentation/pulls/681","_links":{"self":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/comments/57476258"},"html":{"href":"https://github.com/DataDog/documentation/pull/681#discussion_r57476258"},"pull_request":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/681"}}},"pull_request":{"url":"https://api.github.com/repos/DataDog/documentation/pulls/681","id":63670564,"html_url":"https://github.com/DataDog/documentation/pull/681","diff_url":"https://github.com/DataDog/documentation/pull/681.diff","patch_url":"https://github.com/DataDog/documentation/pull/681.patch","issue_url":"https://api.github.com/repos/DataDog/documentation/issues/681","number":681,"state":"open","locked":false,"title":"[integration] catchpoint","user":{"login":"irabinovitch","id":289654,"avatar_url":"https://avatars.githubusercontent.com/u/289654?v=3","gravatar_id":"","url":"https://api.github.com/users/irabinovitch","html_url":"https://github.com/irabinovitch","followers_url":"https://api.github.com/users/irabinovitch/followers","following_url":"https://api.github.com/users/irabinovitch/following{/other_user}","gists_url":"https://api.github.com/users/irabinovitch/gists{/gist_id}","starred_url":"https://api.github.com/users/irabinovitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irabinovitch/subscriptions","organizations_url":"https://api.github.com/users/irabinovitch/orgs","repos_url":"https://api.github.com/users/irabinovitch/repos","events_url":"https://api.github.com/users/irabinovitch/events{/privacy}","received_events_url":"https://api.github.com/users/irabinovitch/received_events","type":"User","site_admin":false},"body":"Add docs for new catchpoint integration.","created_at":"2016-03-22T05:09:28Z","updated_at":"2016-03-25T18:46:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad2280ddd9efcdb2eabdc3f54ae7e1a7e53b5344","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DataDog/documentation/pulls/681/commits","review_comments_url":"https://api.github.com/repos/DataDog/documentation/pulls/681/comments","review_comment_url":"https://api.github.com/repos/DataDog/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataDog/documentation/issues/681/comments","statuses_url":"https://api.github.com/repos/DataDog/documentation/statuses/2035b583faaf2aa0370cfbdef7e372842dc2fdd5","head":{"label":"DataDog:catchpoint","ref":"catchpoint","sha":"2035b583faaf2aa0370cfbdef7e372842dc2fdd5","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":2967233,"name":"documentation","full_name":"DataDog/documentation","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/documentation","description":"The source for Datadog's documentation site.","fork":false,"url":"https://api.github.com/repos/DataDog/documentation","forks_url":"https://api.github.com/repos/DataDog/documentation/forks","keys_url":"https://api.github.com/repos/DataDog/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/documentation/teams","hooks_url":"https://api.github.com/repos/DataDog/documentation/hooks","issue_events_url":"https://api.github.com/repos/DataDog/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/documentation/events","assignees_url":"https://api.github.com/repos/DataDog/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/documentation/tags","blobs_url":"https://api.github.com/repos/DataDog/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/documentation/languages","stargazers_url":"https://api.github.com/repos/DataDog/documentation/stargazers","contributors_url":"https://api.github.com/repos/DataDog/documentation/contributors","subscribers_url":"https://api.github.com/repos/DataDog/documentation/subscribers","subscription_url":"https://api.github.com/repos/DataDog/documentation/subscription","commits_url":"https://api.github.com/repos/DataDog/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/documentation/merges","archive_url":"https://api.github.com/repos/DataDog/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/documentation/downloads","issues_url":"https://api.github.com/repos/DataDog/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/documentation/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/documentation/deployments","created_at":"2011-12-12T20:32:29Z","updated_at":"2015-12-29T20:46:22Z","pushed_at":"2016-03-25T18:22:37Z","git_url":"git://github.com/DataDog/documentation.git","ssh_url":"git@github.com:DataDog/documentation.git","clone_url":"https://github.com/DataDog/documentation.git","svn_url":"https://github.com/DataDog/documentation","homepage":"http://docs.datadoghq.com","size":25490,"stargazers_count":11,"watchers_count":11,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":17,"forks":25,"open_issues":17,"watchers":11,"default_branch":"master"}},"base":{"label":"DataDog:master","ref":"master","sha":"e3d56aad13a9facd5d84bc9795abd5d0f1f9b100","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":2967233,"name":"documentation","full_name":"DataDog/documentation","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/documentation","description":"The source for Datadog's documentation site.","fork":false,"url":"https://api.github.com/repos/DataDog/documentation","forks_url":"https://api.github.com/repos/DataDog/documentation/forks","keys_url":"https://api.github.com/repos/DataDog/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/documentation/teams","hooks_url":"https://api.github.com/repos/DataDog/documentation/hooks","issue_events_url":"https://api.github.com/repos/DataDog/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/documentation/events","assignees_url":"https://api.github.com/repos/DataDog/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/documentation/tags","blobs_url":"https://api.github.com/repos/DataDog/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/documentation/languages","stargazers_url":"https://api.github.com/repos/DataDog/documentation/stargazers","contributors_url":"https://api.github.com/repos/DataDog/documentation/contributors","subscribers_url":"https://api.github.com/repos/DataDog/documentation/subscribers","subscription_url":"https://api.github.com/repos/DataDog/documentation/subscription","commits_url":"https://api.github.com/repos/DataDog/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/documentation/merges","archive_url":"https://api.github.com/repos/DataDog/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/documentation/downloads","issues_url":"https://api.github.com/repos/DataDog/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/documentation/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/documentation/deployments","created_at":"2011-12-12T20:32:29Z","updated_at":"2015-12-29T20:46:22Z","pushed_at":"2016-03-25T18:22:37Z","git_url":"git://github.com/DataDog/documentation.git","ssh_url":"git@github.com:DataDog/documentation.git","clone_url":"https://github.com/DataDog/documentation.git","svn_url":"https://github.com/DataDog/documentation","homepage":"http://docs.datadoghq.com","size":25490,"stargazers_count":11,"watchers_count":11,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":17,"forks":25,"open_issues":17,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/681"},"html":{"href":"https://github.com/DataDog/documentation/pull/681"},"issue":{"href":"https://api.github.com/repos/DataDog/documentation/issues/681"},"comments":{"href":"https://api.github.com/repos/DataDog/documentation/issues/681/comments"},"review_comments":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/681/comments"},"review_comment":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/681/commits"},"statuses":{"href":"https://api.github.com/repos/DataDog/documentation/statuses/2035b583faaf2aa0370cfbdef7e372842dc2fdd5"}}}}