{"action":"closed","issue":{"url":"https://api.github.com/repos/endosnipe/ENdoSnipe/issues/665","labels_url":"https://api.github.com/repos/endosnipe/ENdoSnipe/issues/665/labels{/name}","comments_url":"https://api.github.com/repos/endosnipe/ENdoSnipe/issues/665/comments","events_url":"https://api.github.com/repos/endosnipe/ENdoSnipe/issues/665/events","html_url":"https://github.com/endosnipe/ENdoSnipe/issues/665","id":99857624,"number":665,"title":"[Dashboard] クラスタ名によって、表示されないグラフがある。","user":{"login":"s-fujii200","id":3915732,"avatar_url":"https://avatars.githubusercontent.com/u/3915732?v=3","gravatar_id":"","url":"https://api.github.com/users/s-fujii200","html_url":"https://github.com/s-fujii200","followers_url":"https://api.github.com/users/s-fujii200/followers","following_url":"https://api.github.com/users/s-fujii200/following{/other_user}","gists_url":"https://api.github.com/users/s-fujii200/gists{/gist_id}","starred_url":"https://api.github.com/users/s-fujii200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-fujii200/subscriptions","organizations_url":"https://api.github.com/users/s-fujii200/orgs","repos_url":"https://api.github.com/users/s-fujii200/repos","events_url":"https://api.github.com/users/s-fujii200/events{/privacy}","received_events_url":"https://api.github.com/users/s-fujii200/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/endosnipe/ENdoSnipe/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"s-fujii200","id":3915732,"avatar_url":"https://avatars.githubusercontent.com/u/3915732?v=3","gravatar_id":"","url":"https://api.github.com/users/s-fujii200","html_url":"https://github.com/s-fujii200","followers_url":"https://api.github.com/users/s-fujii200/followers","following_url":"https://api.github.com/users/s-fujii200/following{/other_user}","gists_url":"https://api.github.com/users/s-fujii200/gists{/gist_id}","starred_url":"https://api.github.com/users/s-fujii200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-fujii200/subscriptions","organizations_url":"https://api.github.com/users/s-fujii200/orgs","repos_url":"https://api.github.com/users/s-fujii200/repos","events_url":"https://api.github.com/users/s-fujii200/events{/privacy}","received_events_url":"https://api.github.com/users/s-fujii200/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/endosnipe/ENdoSnipe/milestones/6","html_url":"https://github.com/endosnipe/ENdoSnipe/milestones/6.0","labels_url":"https://api.github.com/repos/endosnipe/ENdoSnipe/milestones/6/labels","id":989981,"number":6,"title":"6.0","description":"","creator":{"login":"s-fujii200","id":3915732,"avatar_url":"https://avatars.githubusercontent.com/u/3915732?v=3","gravatar_id":"","url":"https://api.github.com/users/s-fujii200","html_url":"https://github.com/s-fujii200","followers_url":"https://api.github.com/users/s-fujii200/followers","following_url":"https://api.github.com/users/s-fujii200/following{/other_user}","gists_url":"https://api.github.com/users/s-fujii200/gists{/gist_id}","starred_url":"https://api.github.com/users/s-fujii200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-fujii200/subscriptions","organizations_url":"https://api.github.com/users/s-fujii200/orgs","repos_url":"https://api.github.com/users/s-fujii200/repos","events_url":"https://api.github.com/users/s-fujii200/events{/privacy}","received_events_url":"https://api.github.com/users/s-fujii200/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":15,"state":"open","created_at":"2015-02-22T12:40:33Z","updated_at":"2015-08-16T05:40:59Z","due_on":"2015-06-29T15:00:00Z","closed_at":null},"comments":0,"created_at":"2015-08-09T03:24:49Z","updated_at":"2015-08-16T05:40:59Z","closed_at":"2015-08-16T05:40:59Z","body":"■動作環境\r\nApache Tomcat/7.0.29\r\nWindows7\r\n\r\n【1.現象】\r\nクラスタ名によって、表示されないグラフがある。\r\n\r\nクラスタ名をENdoSnipe-Demoにしたところ、以下の問題が見られた。\r\n\r\nDashboarで、クラスタ名「ENdoSnipe-Demo」にすると、\r\n1.SystemダッシュボードでPage In, Page Outが表示されない。\r\n2. Java Processダッシュボードでクラスタを指定するとGC Timeが表示されない。\r\n\r\n【2.再現手順】\r\nクラスタ名をdefaultからENdoSnipe-Demoに変更して行いました。\r\n\r\n1. Systemダッシュボードでクラスタを指定するとPage In、PageOutが表示されなくなる。\r\n　※クラスタでALLを指定すると表示される。\r\n2. Java Processダッシュボードでクラスタを指定するとGC Timeが表示されなくなる。\r\n\r\n【3.期待結果】\r\nグラフに計測対象の結果が表示される。\r\n\r\n【4.原因】\r\nグラフのリソース名を正規表現を使って置換するために行うエスケープ処理で以下の誤りがあった。\r\n\r\n1) 置換する必要がない\"-\"を置換対象としていた。\r\n2) .*が含まれているときに、\\.\\*と置換しているため、Like検索が効かない\r\n\r\nまた、リアルタイム処理においては、逆に文字列のエスケープ処理がないため、\r\nリアルタイム更新も行われなかった。\r\n"}}