{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/pulls/8","id":217877684,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3ODc3Njg0","html_url":"https://github.com/PBWebMedia/airflow-prometheus-exporter/pull/8","diff_url":"https://github.com/PBWebMedia/airflow-prometheus-exporter/pull/8.diff","patch_url":"https://github.com/PBWebMedia/airflow-prometheus-exporter/pull/8.patch","issue_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/issues/8","number":8,"state":"open","locked":false,"title":"Add dagRunTime metrics","user":{"login":"atrbgithub","id":14765982,"node_id":"MDQ6VXNlcjE0NzY1OTgy","avatar_url":"https://avatars0.githubusercontent.com/u/14765982?v=4","gravatar_id":"","url":"https://api.github.com/users/atrbgithub","html_url":"https://github.com/atrbgithub","followers_url":"https://api.github.com/users/atrbgithub/followers","following_url":"https://api.github.com/users/atrbgithub/following{/other_user}","gists_url":"https://api.github.com/users/atrbgithub/gists{/gist_id}","starred_url":"https://api.github.com/users/atrbgithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atrbgithub/subscriptions","organizations_url":"https://api.github.com/users/atrbgithub/orgs","repos_url":"https://api.github.com/users/atrbgithub/repos","events_url":"https://api.github.com/users/atrbgithub/events{/privacy}","received_events_url":"https://api.github.com/users/atrbgithub/received_events","type":"User","site_admin":false},"body":"This adds a DAG current runtime metric.\r\n\r\nFor each DAG, if it is not running, -1 is returned. If it is running, it shows the current runtime. This is useful for alerting on DAGs which may be taking much longer than usual. ","created_at":"2018-09-25T07:18:02Z","updated_at":"2018-09-25T07:18:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/pulls/8/commits","review_comments_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/pulls/8/comments","review_comment_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/issues/8/comments","statuses_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/statuses/5b90729479b5b5b262356dcfafa6a28bbd236ce5","head":{"label":"autotraderuk:dagRunTimes","ref":"dagRunTimes","sha":"5b90729479b5b5b262356dcfafa6a28bbd236ce5","user":{"login":"autotraderuk","id":6122095,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxMjIwOTU=","avatar_url":"https://avatars1.githubusercontent.com/u/6122095?v=4","gravatar_id":"","url":"https://api.github.com/users/autotraderuk","html_url":"https://github.com/autotraderuk","followers_url":"https://api.github.com/users/autotraderuk/followers","following_url":"https://api.github.com/users/autotraderuk/following{/other_user}","gists_url":"https://api.github.com/users/autotraderuk/gists{/gist_id}","starred_url":"https://api.github.com/users/autotraderuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autotraderuk/subscriptions","organizations_url":"https://api.github.com/users/autotraderuk/orgs","repos_url":"https://api.github.com/users/autotraderuk/repos","events_url":"https://api.github.com/users/autotraderuk/events{/privacy}","received_events_url":"https://api.github.com/users/autotraderuk/received_events","type":"Organization","site_admin":false},"repo":{"id":150220681,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAyMjA2ODE=","name":"airflow-prometheus-exporter","full_name":"autotraderuk/airflow-prometheus-exporter","private":false,"owner":{"login":"autotraderuk","id":6122095,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxMjIwOTU=","avatar_url":"https://avatars1.githubusercontent.com/u/6122095?v=4","gravatar_id":"","url":"https://api.github.com/users/autotraderuk","html_url":"https://github.com/autotraderuk","followers_url":"https://api.github.com/users/autotraderuk/followers","following_url":"https://api.github.com/users/autotraderuk/following{/other_user}","gists_url":"https://api.github.com/users/autotraderuk/gists{/gist_id}","starred_url":"https://api.github.com/users/autotraderuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autotraderuk/subscriptions","organizations_url":"https://api.github.com/users/autotraderuk/orgs","repos_url":"https://api.github.com/users/autotraderuk/repos","events_url":"https://api.github.com/users/autotraderuk/events{/privacy}","received_events_url":"https://api.github.com/users/autotraderuk/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/autotraderuk/airflow-prometheus-exporter","description":"Export Airflow metrics (from mysql) in prometheus format","fork":true,"url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter","forks_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/forks","keys_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/teams","hooks_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/hooks","issue_events_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/issues/events{/number}","events_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/events","assignees_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/assignees{/user}","branches_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/branches{/branch}","tags_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/tags","blobs_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/languages","stargazers_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/stargazers","contributors_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/contributors","subscribers_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/subscribers","subscription_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/subscription","commits_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/contents/{+path}","compare_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/merges","archive_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/downloads","issues_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/issues{/number}","pulls_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/labels{/name}","releases_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/releases{/id}","deployments_url":"https://api.github.com/repos/autotraderuk/airflow-prometheus-exporter/deployments","created_at":"2018-09-25T06:54:21Z","updated_at":"2018-09-25T06:54:23Z","pushed_at":"2018-09-25T07:14:43Z","git_url":"git://github.com/autotraderuk/airflow-prometheus-exporter.git","ssh_url":"git@github.com:autotraderuk/airflow-prometheus-exporter.git","clone_url":"https://github.com/autotraderuk/airflow-prometheus-exporter.git","svn_url":"https://github.com/autotraderuk/airflow-prometheus-exporter","homepage":"","size":23,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PBWebMedia:master","ref":"master","sha":"c7d0d41f7cea3433bf905b19a6574c76f7fb48dc","user":{"login":"PBWebMedia","id":9961417,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5NjE0MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/9961417?v=4","gravatar_id":"","url":"https://api.github.com/users/PBWebMedia","html_url":"https://github.com/PBWebMedia","followers_url":"https://api.github.com/users/PBWebMedia/followers","following_url":"https://api.github.com/users/PBWebMedia/following{/other_user}","gists_url":"https://api.github.com/users/PBWebMedia/gists{/gist_id}","starred_url":"https://api.github.com/users/PBWebMedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PBWebMedia/subscriptions","organizations_url":"https://api.github.com/users/PBWebMedia/orgs","repos_url":"https://api.github.com/users/PBWebMedia/repos","events_url":"https://api.github.com/users/PBWebMedia/events{/privacy}","received_events_url":"https://api.github.com/users/PBWebMedia/received_events","type":"Organization","site_admin":false},"repo":{"id":120633171,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA2MzMxNzE=","name":"airflow-prometheus-exporter","full_name":"PBWebMedia/airflow-prometheus-exporter","private":false,"owner":{"login":"PBWebMedia","id":9961417,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5NjE0MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/9961417?v=4","gravatar_id":"","url":"https://api.github.com/users/PBWebMedia","html_url":"https://github.com/PBWebMedia","followers_url":"https://api.github.com/users/PBWebMedia/followers","following_url":"https://api.github.com/users/PBWebMedia/following{/other_user}","gists_url":"https://api.github.com/users/PBWebMedia/gists{/gist_id}","starred_url":"https://api.github.com/users/PBWebMedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PBWebMedia/subscriptions","organizations_url":"https://api.github.com/users/PBWebMedia/orgs","repos_url":"https://api.github.com/users/PBWebMedia/repos","events_url":"https://api.github.com/users/PBWebMedia/events{/privacy}","received_events_url":"https://api.github.com/users/PBWebMedia/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PBWebMedia/airflow-prometheus-exporter","description":"Export Airflow metrics (from mysql) in prometheus format","fork":false,"url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter","forks_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/forks","keys_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/teams","hooks_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/hooks","issue_events_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/issues/events{/number}","events_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/events","assignees_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/assignees{/user}","branches_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/branches{/branch}","tags_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/tags","blobs_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/languages","stargazers_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/stargazers","contributors_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/contributors","subscribers_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/subscribers","subscription_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/subscription","commits_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/contents/{+path}","compare_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/merges","archive_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/downloads","issues_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/issues{/number}","pulls_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/labels{/name}","releases_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/releases{/id}","deployments_url":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/deployments","created_at":"2018-02-07T15:30:35Z","updated_at":"2018-09-18T16:02:21Z","pushed_at":"2018-07-11T08:51:44Z","git_url":"git://github.com/PBWebMedia/airflow-prometheus-exporter.git","ssh_url":"git@github.com:PBWebMedia/airflow-prometheus-exporter.git","clone_url":"https://github.com/PBWebMedia/airflow-prometheus-exporter.git","svn_url":"https://github.com/PBWebMedia/airflow-prometheus-exporter","homepage":"","size":23,"stargazers_count":9,"watchers_count":9,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/pulls/8"},"html":{"href":"https://github.com/PBWebMedia/airflow-prometheus-exporter/pull/8"},"issue":{"href":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/issues/8"},"comments":{"href":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/PBWebMedia/airflow-prometheus-exporter/statuses/5b90729479b5b5b262356dcfafa6a28bbd236ce5"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":51,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"atrbgithub"}}