{"action":"created","issue":{"url":"https://api.github.com/repos/mackerelio/mackerel-agent-plugins/issues/143","labels_url":"https://api.github.com/repos/mackerelio/mackerel-agent-plugins/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/mackerelio/mackerel-agent-plugins/issues/143/comments","events_url":"https://api.github.com/repos/mackerelio/mackerel-agent-plugins/issues/143/events","html_url":"https://github.com/mackerelio/mackerel-agent-plugins/pull/143","id":119271165,"number":143,"title":"Add mackerel-plugin-solr","user":{"login":"supercaracal","id":364486,"avatar_url":"https://avatars.githubusercontent.com/u/364486?v=3","gravatar_id":"","url":"https://api.github.com/users/supercaracal","html_url":"https://github.com/supercaracal","followers_url":"https://api.github.com/users/supercaracal/followers","following_url":"https://api.github.com/users/supercaracal/following{/other_user}","gists_url":"https://api.github.com/users/supercaracal/gists{/gist_id}","starred_url":"https://api.github.com/users/supercaracal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supercaracal/subscriptions","organizations_url":"https://api.github.com/users/supercaracal/orgs","repos_url":"https://api.github.com/users/supercaracal/repos","events_url":"https://api.github.com/users/supercaracal/events{/privacy}","received_events_url":"https://api.github.com/users/supercaracal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-28T04:56:59Z","updated_at":"2015-12-24T11:15:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mackerelio/mackerel-agent-plugins/pulls/143","html_url":"https://github.com/mackerelio/mackerel-agent-plugins/pull/143","diff_url":"https://github.com/mackerelio/mackerel-agent-plugins/pull/143.diff","patch_url":"https://github.com/mackerelio/mackerel-agent-plugins/pull/143.patch"},"body":"A mackerel plugin for [Apache Solr](http://lucene.apache.org/solr/)\r\n\r\nI'll implement some test code later. I'm sorry. @Songmu \r\n\r\n#### Output Sample\r\n\r\n- host ... 192.168.33.10\r\n- core ... core1\r\n\r\n```\r\n$ go run mackerel-plugin-solr/solr.go -host=192.168.33.10\r\nsolr.core1.segmentCount.core1_segmentCount    3       1448706470\r\nsolr.core1.sizeInBytes.core1_sizeInBytes      105116679       1448706470\r\nsolr.core1.timeouts.core1_timeouts_updatejson 0       1448706470\r\nsolr.core1.timeouts.core1_timeouts_select     0       1448706470\r\nsolr.core1.timeouts.core1_timeouts_updatejsondocs     0       1448706470\r\nsolr.core1.timeouts.core1_timeouts_get        0       1448706470\r\nsolr.core1.timeouts.core1_timeouts_updatecsv  0       1448706470\r\nsolr.core1.timeouts.core1_timeouts_replication        0       1448706470\r\nsolr.core1.timeouts.core1_timeouts_update     0       1448706470\r\nsolr.core1.timeouts.core1_timeouts_dataimport 0       1448706470\r\nsolr.core1.95thPcRequestTime.core1_95thPcRequestTime_updatejson       0       1448706470\r\nsolr.core1.95thPcRequestTime.core1_95thPcRequestTime_select   1.699699        1448706470\r\nsolr.core1.95thPcRequestTime.core1_95thPcRequestTime_updatejsondocs   0       1448706470\r\nsolr.core1.95thPcRequestTime.core1_95thPcRequestTime_get      0       1448706470\r\nsolr.core1.95thPcRequestTime.core1_95thPcRequestTime_updatecsv        0       1448706470\r\nsolr.core1.95thPcRequestTime.core1_95thPcRequestTime_replication      2.921822        1448706470\r\nsolr.core1.95thPcRequestTime.core1_95thPcRequestTime_update   0       1448706470\r\nsolr.core1.95thPcRequestTime.core1_95thPcRequestTime_dataimport       37.191631       1448706470\r\nsolr.core1.requests.core1_requests_updatejson 0       1448706470\r\nsolr.core1.requests.core1_requests_select     217     1448706470\r\nsolr.core1.requests.core1_requests_updatejsondocs     0       1448706470\r\nsolr.core1.requests.core1_requests_get        0       1448706470\r\nsolr.core1.requests.core1_requests_updatecsv  0       1448706470\r\nsolr.core1.requests.core1_requests_replication        16      1448706470\r\nsolr.core1.requests.core1_requests_update     0       1448706470\r\nsolr.core1.requests.core1_requests_dataimport 14      1448706470\r\nsolr.core1.5minRateReqsPerSecond.core1_5minRateReqsPerSecond_updatejson       0       1448706470\r\nsolr.core1.5minRateReqsPerSecond.core1_5minRateReqsPerSecond_select   0.016260        1448706470\r\nsolr.core1.5minRateReqsPerSecond.core1_5minRateReqsPerSecond_updatejsondocs   0       1448706470\r\nsolr.core1.5minRateReqsPerSecond.core1_5minRateReqsPerSecond_get      0       1448706470\r\nsolr.core1.5minRateReqsPerSecond.core1_5minRateReqsPerSecond_updatecsv        0       1448706470\r\nsolr.core1.5minRateReqsPerSecond.core1_5minRateReqsPerSecond_replication      0.000000        1448706470\r\nsolr.core1.5minRateReqsPerSecond.core1_5minRateReqsPerSecond_update   0       1448706470\r\nsolr.core1.5minRateReqsPerSecond.core1_5minRateReqsPerSecond_dataimport       0.000000        1448706470\r\nsolr.core1.15minRateReqsPerSecond.core1_15minRateReqsPerSecond_updatejson     0       1448706470\r\nsolr.core1.15minRateReqsPerSecond.core1_15minRateReqsPerSecond_select 0.017310        1448706470\r\nsolr.core1.15minRateReqsPerSecond.core1_15minRateReqsPerSecond_updatejsondocs 0       1448706470\r\nsolr.core1.15minRateReqsPerSecond.core1_15minRateReqsPerSecond_get    0       1448706470\r\nsolr.core1.15minRateReqsPerSecond.core1_15minRateReqsPerSecond_updatecsv      0       1448706470\r\nsolr.core1.15minRateReqsPerSecond.core1_15minRateReqsPerSecond_replication    0.000000        1448706470\r\nsolr.core1.15minRateReqsPerSecond.core1_15minRateReqsPerSecond_update 0       1448706470\r\nsolr.core1.15minRateReqsPerSecond.core1_15minRateReqsPerSecond_dataimport     0.000000        1448706470\r\nsolr.core1.medianRequestTime.core1_medianRequestTime_updatejson       0       1448706470\r\nsolr.core1.medianRequestTime.core1_medianRequestTime_select   0.853979        1448706470\r\nsolr.core1.medianRequestTime.core1_medianRequestTime_updatejsondocs   0       1448706470\r\nsolr.core1.medianRequestTime.core1_medianRequestTime_get      0       1448706470\r\nsolr.core1.medianRequestTime.core1_medianRequestTime_updatecsv        0       1448706470\r\nsolr.core1.medianRequestTime.core1_medianRequestTime_replication      0.850494        1448706470\r\nsolr.core1.medianRequestTime.core1_medianRequestTime_update   0       1448706470\r\nsolr.core1.medianRequestTime.core1_medianRequestTime_dataimport       0.132340        1448706470\r\nsolr.core1.hits.core1_hits_filterCache        32      1448706470\r\nsolr.core1.hits.core1_hits_perSegFilter       0       1448706470\r\nsolr.core1.hits.core1_hits_queryResultCache   190     1448706470\r\nsolr.core1.hits.core1_hits_documentCache      487     1448706470\r\nsolr.core1.hits.core1_hits_fieldValueCache    0       1448706470\r\nsolr.core1.size.core1_size_filterCache        14      1448706470\r\nsolr.core1.size.core1_size_perSegFilter       0       1448706470\r\nsolr.core1.size.core1_size_queryResultCache   26      1448706470\r\nsolr.core1.size.core1_size_documentCache      138     1448706470\r\nsolr.core1.size.core1_size_fieldValueCache    0       1448706470\r\nsolr.core1.evictions.core1_evictions_filterCache      0       1448706470\r\nsolr.core1.evictions.core1_evictions_perSegFilter     0       1448706470\r\nsolr.core1.evictions.core1_evictions_queryResultCache 0       1448706470\r\nsolr.core1.evictions.core1_evictions_documentCache    0       1448706470\r\nsolr.core1.evictions.core1_evictions_fieldValueCache  0       1448706470\r\nsolr.core1.warmupTime.core1_warmupTime_filterCache    0       1448706470\r\nsolr.core1.warmupTime.core1_warmupTime_perSegFilter   0       1448706470\r\nsolr.core1.warmupTime.core1_warmupTime_queryResultCache       0       1448706470\r\nsolr.core1.warmupTime.core1_warmupTime_documentCache  0       1448706470\r\nsolr.core1.warmupTime.core1_warmupTime_fieldValueCache        0       1448706470\r\nsolr.core1.docsCount.core1_numDocs    120550  1448706470\r\nsolr.core1.docsCount.core1_deletedDocs        0       1448706470\r\nsolr.core1.indexHeapUsageBytes.core1_indexHeapUsageBytes      -1      1448706470\r\nsolr.core1.errors.core1_errors_updatejson     0       1448706470\r\nsolr.core1.errors.core1_errors_select 1       1448706470\r\nsolr.core1.errors.core1_errors_updatejsondocs 0       1448706470\r\nsolr.core1.errors.core1_errors_get    0       1448706470\r\nsolr.core1.errors.core1_errors_updatecsv      0       1448706470\r\nsolr.core1.errors.core1_errors_replication    0       1448706470\r\nsolr.core1.errors.core1_errors_update 0       1448706470\r\nsolr.core1.errors.core1_errors_dataimport     0       1448706470\r\nsolr.core1.75thPcRequestTime.core1_75thPcRequestTime_updatejson       0       1448706470\r\nsolr.core1.75thPcRequestTime.core1_75thPcRequestTime_select   1.164905        1448706470\r\nsolr.core1.75thPcRequestTime.core1_75thPcRequestTime_updatejsondocs   0       1448706470\r\nsolr.core1.75thPcRequestTime.core1_75thPcRequestTime_get      0       1448706470\r\nsolr.core1.75thPcRequestTime.core1_75thPcRequestTime_updatecsv        0       1448706470\r\nsolr.core1.75thPcRequestTime.core1_75thPcRequestTime_replication      2.010164        1448706470\r\nsolr.core1.75thPcRequestTime.core1_75thPcRequestTime_update   0       1448706470\r\nsolr.core1.75thPcRequestTime.core1_75thPcRequestTime_dataimport       1.188915        1448706470\r\nsolr.core1.99thPcRequestTime.core1_99thPcRequestTime_updatejson       0       1448706470\r\nsolr.core1.99thPcRequestTime.core1_99thPcRequestTime_select   6.464342        1448706470\r\nsolr.core1.99thPcRequestTime.core1_99thPcRequestTime_updatejsondocs   0       1448706470\r\nsolr.core1.99thPcRequestTime.core1_99thPcRequestTime_get      0       1448706470\r\nsolr.core1.99thPcRequestTime.core1_99thPcRequestTime_updatecsv        0       1448706470\r\nsolr.core1.99thPcRequestTime.core1_99thPcRequestTime_replication      2.921822        1448706470\r\nsolr.core1.99thPcRequestTime.core1_99thPcRequestTime_update   0       1448706470\r\nsolr.core1.99thPcRequestTime.core1_99thPcRequestTime_dataimport       37.191631       1448706470\r\nsolr.core1.lookups.core1_lookups_filterCache  39      1448706470\r\nsolr.core1.lookups.core1_lookups_perSegFilter 0       1448706470\r\nsolr.core1.lookups.core1_lookups_queryResultCache     216     1448706470\r\nsolr.core1.lookups.core1_lookups_documentCache        625     1448706470\r\nsolr.core1.lookups.core1_lookups_fieldValueCache      0       1448706470\r\nsolr.core1.avgRequestsPerSecond.core1_avgRequestsPerSecond_updatejson 0       1448706470\r\nsolr.core1.avgRequestsPerSecond.core1_avgRequestsPerSecond_select     0.000163        1448706470\r\nsolr.core1.avgRequestsPerSecond.core1_avgRequestsPerSecond_updatejsondocs     0       1448706470\r\nsolr.core1.avgRequestsPerSecond.core1_avgRequestsPerSecond_get        0       1448706470\r\nsolr.core1.avgRequestsPerSecond.core1_avgRequestsPerSecond_updatecsv  0       1448706470\r\nsolr.core1.avgRequestsPerSecond.core1_avgRequestsPerSecond_replication        0.000012        1448706470\r\nsolr.core1.avgRequestsPerSecond.core1_avgRequestsPerSecond_update     0       1448706470\r\nsolr.core1.avgRequestsPerSecond.core1_avgRequestsPerSecond_dataimport 0.000011        1448706470\r\nsolr.core1.avgTimePerRequest.core1_avgTimePerRequest_updatejson       0       1448706470\r\nsolr.core1.avgTimePerRequest.core1_avgTimePerRequest_select   9.533985        1448706470\r\nsolr.core1.avgTimePerRequest.core1_avgTimePerRequest_updatejsondocs   0       1448706470\r\nsolr.core1.avgTimePerRequest.core1_avgTimePerRequest_get      0       1448706470\r\nsolr.core1.avgTimePerRequest.core1_avgTimePerRequest_updatecsv        0       1448706470\r\nsolr.core1.avgTimePerRequest.core1_avgTimePerRequest_replication      1.834254        1448706470\r\nsolr.core1.avgTimePerRequest.core1_avgTimePerRequest_update   0       1448706470\r\nsolr.core1.avgTimePerRequest.core1_avgTimePerRequest_dataimport       3.325568        1448706470\r\nsolr.core1.999thPcRequestTime.core1_999thPcRequestTime_updatejson     0       1448706470\r\nsolr.core1.999thPcRequestTime.core1_999thPcRequestTime_select 8.706049        1448706470\r\nsolr.core1.999thPcRequestTime.core1_999thPcRequestTime_updatejsondocs 0       1448706470\r\nsolr.core1.999thPcRequestTime.core1_999thPcRequestTime_get    0       1448706470\r\nsolr.core1.999thPcRequestTime.core1_999thPcRequestTime_updatecsv      0       1448706470\r\nsolr.core1.999thPcRequestTime.core1_999thPcRequestTime_replication    2.921822        1448706470\r\nsolr.core1.999thPcRequestTime.core1_999thPcRequestTime_update 0       1448706470\r\nsolr.core1.999thPcRequestTime.core1_999thPcRequestTime_dataimport     37.191631       1448706470\r\nsolr.core1.hitratio.core1_hitratio_filterCache        0.820000        1448706470\r\nsolr.core1.hitratio.core1_hitratio_perSegFilter       0       1448706470\r\nsolr.core1.hitratio.core1_hitratio_queryResultCache   0.880000        1448706470\r\nsolr.core1.hitratio.core1_hitratio_documentCache      0.780000        1448706470\r\nsolr.core1.hitratio.core1_hitratio_fieldValueCache    0       1448706470\r\nsolr.core1.inserts.core1_inserts_filterCache  14      1448706470\r\nsolr.core1.inserts.core1_inserts_perSegFilter 0       1448706470\r\nsolr.core1.inserts.core1_inserts_queryResultCache     26      1448706470\r\nsolr.core1.inserts.core1_inserts_documentCache        138     1448706470\r\nsolr.core1.inserts.core1_inserts_fieldValueCache      0       1448706470\r\n```"},"comment":{"url":"https://api.github.com/repos/mackerelio/mackerel-agent-plugins/issues/comments/167094845","html_url":"https://github.com/mackerelio/mackerel-agent-plugins/pull/143#issuecomment-167094845","issue_url":"https://api.github.com/repos/mackerelio/mackerel-agent-plugins/issues/143","id":167094845,"user":{"login":"Songmu","id":177122,"avatar_url":"https://avatars.githubusercontent.com/u/177122?v=3","gravatar_id":"","url":"https://api.github.com/users/Songmu","html_url":"https://github.com/Songmu","followers_url":"https://api.github.com/users/Songmu/followers","following_url":"https://api.github.com/users/Songmu/following{/other_user}","gists_url":"https://api.github.com/users/Songmu/gists{/gist_id}","starred_url":"https://api.github.com/users/Songmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Songmu/subscriptions","organizations_url":"https://api.github.com/users/Songmu/orgs","repos_url":"https://api.github.com/users/Songmu/repos","events_url":"https://api.github.com/users/Songmu/events{/privacy}","received_events_url":"https://api.github.com/users/Songmu/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T11:15:31Z","updated_at":"2015-12-24T11:15:31Z","body":"@supercaracal Do you plan to implement some test code on this pull request or not?\r\n\r\nCan I start to review this pull request?"}}