{"action":"created","issue":{"url":"https://api.github.com/repos/gocd/gocd/issues/4115","repository_url":"https://api.github.com/repos/gocd/gocd","labels_url":"https://api.github.com/repos/gocd/gocd/issues/4115/labels{/name}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/4115/comments","events_url":"https://api.github.com/repos/gocd/gocd/issues/4115/events","html_url":"https://github.com/gocd/gocd/pull/4115","id":283524203,"number":4115,"title":"Pass along jobIdentifier as part of get-status-report request to the elastic agent plugins","user":{"login":"GaneshSPatil","id":15275847,"avatar_url":"https://avatars0.githubusercontent.com/u/15275847?v=4","gravatar_id":"","url":"https://api.github.com/users/GaneshSPatil","html_url":"https://github.com/GaneshSPatil","followers_url":"https://api.github.com/users/GaneshSPatil/followers","following_url":"https://api.github.com/users/GaneshSPatil/following{/other_user}","gists_url":"https://api.github.com/users/GaneshSPatil/gists{/gist_id}","starred_url":"https://api.github.com/users/GaneshSPatil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaneshSPatil/subscriptions","organizations_url":"https://api.github.com/users/GaneshSPatil/orgs","repos_url":"https://api.github.com/users/GaneshSPatil/repos","events_url":"https://api.github.com/users/GaneshSPatil/events{/privacy}","received_events_url":"https://api.github.com/users/GaneshSPatil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-20T10:56:54Z","updated_at":"2017-12-22T09:25:54Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/gocd/gocd/pulls/4115","html_url":"https://github.com/gocd/gocd/pull/4115","diff_url":"https://github.com/gocd/gocd/pull/4115.diff","patch_url":"https://github.com/gocd/gocd/pull/4115.patch"},"body":"\r\n* JobIdentifier is only passed when the request for  'status report page' made from 'build details page'.\r\n* JobIdentifier wont be passed to the plugin when the request for 'status report page' is made from 'plugin settings page' or 'elastic profile page'.\r\n\r\nMore information: https://github.com/gocd/gocd/issues/4091#issuecomment-352979314"},"comment":{"url":"https://api.github.com/repos/gocd/gocd/issues/comments/353558271","html_url":"https://github.com/gocd/gocd/pull/4115#issuecomment-353558271","issue_url":"https://api.github.com/repos/gocd/gocd/issues/4115","id":353558271,"user":{"login":"GaneshSPatil","id":15275847,"avatar_url":"https://avatars0.githubusercontent.com/u/15275847?v=4","gravatar_id":"","url":"https://api.github.com/users/GaneshSPatil","html_url":"https://github.com/GaneshSPatil","followers_url":"https://api.github.com/users/GaneshSPatil/followers","following_url":"https://api.github.com/users/GaneshSPatil/following{/other_user}","gists_url":"https://api.github.com/users/GaneshSPatil/gists{/gist_id}","starred_url":"https://api.github.com/users/GaneshSPatil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaneshSPatil/subscriptions","organizations_url":"https://api.github.com/users/GaneshSPatil/orgs","repos_url":"https://api.github.com/users/GaneshSPatil/repos","events_url":"https://api.github.com/users/GaneshSPatil/events{/privacy}","received_events_url":"https://api.github.com/users/GaneshSPatil/received_events","type":"User","site_admin":false},"created_at":"2017-12-22T09:25:54Z","updated_at":"2017-12-22T09:25:54Z","author_association":"CONTRIBUTOR","body":"@arvindsv @ketan @maheshp @bhupendra -- Writing down what we spoke above \"status report page\".\r\n\r\n### `Container Status Report` Endpoint for EA plugins\r\n\r\n* Container Status Report endpoint returns a container-specific information, such as:\r\n    - The container Configuration.\r\n    - The GoCD Agent logs running on the container.\r\n    - Errors/Warnings related to scheduling of the container or GoCD agent.\r\n    - more plugin specific information. For Example, k8s Elastic Agent plugin can show the events of the pod.\r\n\r\n* Container status report page can be Accessed from:\r\n    - Build Details Page.\r\n    - For Elastic Agents, on the default Agent Details Page (when clicked on agent's name from agents page), Add another (`container details`) tab to show Container Status Report, which will give more information about the elastic agent's container. (_Note:_ `Agent Details Tab` contains information about the GoCD Agent, `Container status report Tab` will contain the information about the container running the GoCD Agent).\r\n    - Clicking on a container name from \"Plugin Status Report\" page should navigate to \"Container Status Report\" page.\r\n\r\n* Container Status Report Page should contain links to:\r\n    - Job Details Page of the job currently executing by the container\r\n    - \"Status Report Page\"\r\n       - In case of a cluster, link to the cluster information.\r\n       - Link to the instance information on which current container is running.\r\n    - Agent Details Tab too?\r\n\r\n* For Container Status Report Page, pass along `Elastic Agent ID` instead of passing the `Job Identifier` as the context. GoCD server knows which agent is building the current job, it should be possible for the plugins to identify and locate the container based on elastic agent id.\r\n\r\n#### Question/Need opinion?\r\n* Data Streaming is not possible as per the current implementation of plugin status report page, this might lead to showing stale information on the status report.\r\nShould we consider doing something similar to what we are planning for analytics plugin reports?\r\n(we can go with the static page way for now, but going forward?)\r\n\r\n"}}
{"actor":{"display_login":"GaneshSPatil"}}