{"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":4,"created_at":"2015-03-23T22:58:12Z","updated_at":"2015-06-15T19:55:38Z","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/112188572","html_url":"https://github.com/graphite-project/graphite-web/pull/1197#issuecomment-112188572","issue_url":"https://api.github.com/repos/graphite-project/graphite-web/issues/1197","id":112188572,"user":{"login":"bitprophet","id":6088,"avatar_url":"https://avatars.githubusercontent.com/u/6088?v=3","gravatar_id":"","url":"https://api.github.com/users/bitprophet","html_url":"https://github.com/bitprophet","followers_url":"https://api.github.com/users/bitprophet/followers","following_url":"https://api.github.com/users/bitprophet/following{/other_user}","gists_url":"https://api.github.com/users/bitprophet/gists{/gist_id}","starred_url":"https://api.github.com/users/bitprophet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitprophet/subscriptions","organizations_url":"https://api.github.com/users/bitprophet/orgs","repos_url":"https://api.github.com/users/bitprophet/repos","events_url":"https://api.github.com/users/bitprophet/events{/privacy}","received_events_url":"https://api.github.com/users/bitprophet/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T19:55:38Z","updated_at":"2015-06-15T19:55:38Z","body":"Tentative :+1:, I have the same vague concerns as @SEJeff had in his original reply, but I just checked quickly on my internal fork and don't see us using this anywhere, nor are any of our dashboardy bits (gdash, tessera etc) apparently using it.\r\n\r\nSo that's one data point in favor of removal, at least."}}