{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/786","labels_url":"https://api.github.com/repos/prometheus/prometheus/issues/786/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/prometheus/issues/786/comments","events_url":"https://api.github.com/repos/prometheus/prometheus/issues/786/events","html_url":"https://github.com/prometheus/prometheus/pull/786","id":86939950,"number":786,"title":"web: add basic federation support","user":{"login":"fabxc","id":4948210,"avatar_url":"https://avatars.githubusercontent.com/u/4948210?v=3","gravatar_id":"","url":"https://api.github.com/users/fabxc","html_url":"https://github.com/fabxc","followers_url":"https://api.github.com/users/fabxc/followers","following_url":"https://api.github.com/users/fabxc/following{/other_user}","gists_url":"https://api.github.com/users/fabxc/gists{/gist_id}","starred_url":"https://api.github.com/users/fabxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabxc/subscriptions","organizations_url":"https://api.github.com/users/fabxc/orgs","repos_url":"https://api.github.com/users/fabxc/repos","events_url":"https://api.github.com/users/fabxc/events{/privacy}","received_events_url":"https://api.github.com/users/fabxc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-10T11:45:38Z","updated_at":"2015-06-10T16:52:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prometheus/prometheus/pulls/786","html_url":"https://github.com/prometheus/prometheus/pull/786","diff_url":"https://github.com/prometheus/prometheus/pull/786.diff","patch_url":"https://github.com/prometheus/prometheus/pull/786.patch"},"body":"Example config:\r\n```\r\nglobal:\r\n  scrape_interval:     15s # By default, scrape targets every 15 seconds.\r\n  evaluation_interval: 15s # By default, scrape targets every 15 seconds.\r\n# A scrape configuration containing exactly one endpoint to scrape: \r\n# Here it's Prometheus itself.\r\nscrape_configs:\r\n- job_name: 'federate'\r\n  scrape_interval: 5s\r\n\r\n  proxy: true\r\n  metrics_path: '/federate'\r\n\r\n  params:\r\n    'match[]': ['job=\"prometheus\"']\r\n\r\n  target_groups:\r\n    - targets: ['localhost:9090']\r\n\r\n- job_name: 'self'\r\n  scrape_interval: 5s\r\n  target_groups:\r\n    - targets: ['localhost:5000']\r\n```"},"comment":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/comments/110831069","html_url":"https://github.com/prometheus/prometheus/pull/786#issuecomment-110831069","issue_url":"https://api.github.com/repos/prometheus/prometheus/issues/786","id":110831069,"user":{"login":"fabxc","id":4948210,"avatar_url":"https://avatars.githubusercontent.com/u/4948210?v=3","gravatar_id":"","url":"https://api.github.com/users/fabxc","html_url":"https://github.com/fabxc","followers_url":"https://api.github.com/users/fabxc/followers","following_url":"https://api.github.com/users/fabxc/following{/other_user}","gists_url":"https://api.github.com/users/fabxc/gists{/gist_id}","starred_url":"https://api.github.com/users/fabxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabxc/subscriptions","organizations_url":"https://api.github.com/users/fabxc/orgs","repos_url":"https://api.github.com/users/fabxc/repos","events_url":"https://api.github.com/users/fabxc/events{/privacy}","received_events_url":"https://api.github.com/users/fabxc/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T16:52:06Z","updated_at":"2015-06-10T16:52:06Z","body":"Now with storage changes directly talking to the storage."}}