{"action":"created","issue":{"url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1197","labels_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1197/labels{/name}","comments_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1197/comments","events_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1197/events","html_url":"https://github.com/graphite-project/graphite-web/pull/1197","id":63853648,"number":1197,"title":"Remove the metrics/search endpoint","user":{"login":"slackhappy","id":685141,"avatar_url":"https://avatars.githubusercontent.com/u/685141?v=3","gravatar_id":"","url":"https://api.github.com/users/slackhappy","html_url":"https://github.com/slackhappy","followers_url":"https://api.github.com/users/slackhappy/followers","following_url":"https://api.github.com/users/slackhappy/following{/other_user}","gists_url":"https://api.github.com/users/slackhappy/gists{/gist_id}","starred_url":"https://api.github.com/users/slackhappy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slackhappy/subscriptions","organizations_url":"https://api.github.com/users/slackhappy/orgs","repos_url":"https://api.github.com/users/slackhappy/repos","events_url":"https://api.github.com/users/slackhappy/events{/privacy}","received_events_url":"https://api.github.com/users/slackhappy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-23T22:58:12Z","updated_at":"2015-03-24T01:56:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/graphite-project/graphite-web/pulls/1197","html_url":"https://github.com/graphite-project/graphite-web/pull/1197","diff_url":"https://github.com/graphite-project/graphite-web/pull/1197.diff","patch_url":"https://github.com/graphite-project/graphite-web/pull/1197.patch"},"body":"it isn't use by graphite-web itself,\r\nand the cost of initializing it when a tree\r\ncontains millions of metrics, even when explicitly\r\ninitialized in wsgi, seems to be prohibitive.\r\n\r\nIts functionality seems to be superseded by browser/search\r\n(grep over the index file)\r\nand metrics find\r\n(uses the storage engine for searching)\r\n\r\n\r\nI could make another change, that introduces a setting to disable loading searcher, but I thought I might start with the more controversial one to flush out any existing uses."},"comment":{"url":"https://api.github.com/repos/graphite-project/graphite-web/issues/comments/85289907","html_url":"https://github.com/graphite-project/graphite-web/pull/1197#issuecomment-85289907","issue_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1197","id":85289907,"user":{"login":"SEJeff","id":4603,"avatar_url":"https://avatars.githubusercontent.com/u/4603?v=3","gravatar_id":"","url":"https://api.github.com/users/SEJeff","html_url":"https://github.com/SEJeff","followers_url":"https://api.github.com/users/SEJeff/followers","following_url":"https://api.github.com/users/SEJeff/following{/other_user}","gists_url":"https://api.github.com/users/SEJeff/gists{/gist_id}","starred_url":"https://api.github.com/users/SEJeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SEJeff/subscriptions","organizations_url":"https://api.github.com/users/SEJeff/orgs","repos_url":"https://api.github.com/users/SEJeff/repos","events_url":"https://api.github.com/users/SEJeff/events{/privacy}","received_events_url":"https://api.github.com/users/SEJeff/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T01:56:07Z","updated_at":"2015-03-24T01:56:07Z","body":"I'm all for burning legacy crud, but am somewhat certain we have external graphite dashboards and tooling that uses this endpoint. If that is the case, I'd be pretty strongly against removing it and more in favor of fixing it to use a cache or something"}}