{ "dashboard": { "id": "00fa7e30-1b0a-11e9-ba47-d5cbef43f8d3", "value": { "description": "This panel from CHAOSS GMD focuses on pull requests merge duration, defined by the time between code merge request and code commit", "hits": 0, "kibanaSavedObjectMeta": { "searchSourceJSON": "{\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"filter\":[{\"$state\":{\"store\":\"appState\"},\"meta\":{\"alias\":\"Pull Requests\",\"disabled\":false,\"index\":\"github_issues\",\"key\":\"pull_request\",\"negate\":false,\"params\":{\"query\":true,\"type\":\"phrase\"},\"type\":\"phrase\",\"value\":\"true\"},\"query\":{\"match\":{\"pull_request\":{\"query\":true,\"type\":\"phrase\"}}}},{\"meta\":{\"index\":\"github_issues\",\"negate\":true,\"disabled\":false,\"alias\":\"Bots\",\"type\":\"phrase\",\"key\":\"author_bot\",\"value\":\"true\",\"params\":{\"query\":true,\"type\":\"phrase\"}},\"query\":{\"match\":{\"author_bot\":{\"query\":true,\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"highlightAll\":true,\"version\":true}" }, "optionsJSON": "{\"darkTheme\":false,\"hidePanelTitles\":false,\"useMargins\":true}", "panelsJSON": "[{\"panelIndex\":\"2\",\"gridData\":{\"x\":9,\"y\":0,\"w\":3,\"h\":8,\"i\":\"2\"},\"id\":\"26527fe0-1b08-11e9-ba47-d5cbef43f8d3\",\"title\":\"Repositories\",\"type\":\"visualization\",\"version\":\"6.1.4-1\"},{\"panelIndex\":\"3\",\"gridData\":{\"x\":0,\"y\":0,\"w\":3,\"h\":4,\"i\":\"3\"},\"id\":\"db1ed4f0-1b08-11e9-ba47-d5cbef43f8d3\",\"title\":\"Pull Request Merge duration\",\"type\":\"visualization\",\"version\":\"6.1.4-1\"},{\"title\":\"Time to Close Days\",\"panelIndex\":\"4\",\"gridData\":{\"x\":5,\"y\":0,\"w\":4,\"h\":4,\"i\":\"4\"},\"id\":\"52c5bd10-1a74-11e9-ba47-d5cbef43f8d3\",\"type\":\"visualization\",\"version\":\"6.1.4-1\"},{\"title\":\"Big Numbers\",\"panelIndex\":\"5\",\"gridData\":{\"x\":3,\"y\":0,\"w\":2,\"h\":4,\"i\":\"5\"},\"id\":\"e4fc9dc0-1a74-11e9-ba47-d5cbef43f8d3\",\"type\":\"visualization\",\"version\":\"6.1.4-1\"},{\"title\":\"Pull Request Merge duration\",\"panelIndex\":\"6\",\"gridData\":{\"x\":0,\"y\":4,\"w\":9,\"h\":4,\"i\":\"6\"},\"id\":\"c8bc82b0-1b28-11e9-ba47-d5cbef43f8d3\",\"type\":\"visualization\",\"version\":\"6.1.4-1\"}]", "release_date": "2019-07-02T12:15:00.486825", "timeRestore": false, "title": "Pull Request Merge Duration", "uiStateJSON": "{\"P-2\":{\"vis\":{\"params\":{\"config\":{\"searchKeyword\":\"\"},\"sort\":{\"columnIndex\":null,\"direction\":null}}}},\"P-4\":{\"vis\":{\"defaultColors\":{\"0 - 7\":\"rgb(0,104,55)\",\"7 - 30\":\"rgb(255,255,190)\",\"30 - 90\":\"rgb(165,0,38)\"}}}}", "version": 1 } }, "searches": [], "visualizations": [ { "id": "26527fe0-1b08-11e9-ba47-d5cbef43f8d3", "value": { "description": "", "kibanaSavedObjectMeta": { "searchSourceJSON": "{\"index\":\"github_issues\",\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"}}" }, "title": "chaoss_gmd_pr_merge_duration_repositories", "uiStateJSON": "{\"vis\":{\"params\":{\"sort\":{\"columnIndex\":null,\"direction\":null},\"config\":{\"searchKeyword\":\"\"}}}}", "version": 1, "visState": "{\"title\":\"chaoss_gmd_pr_merge_duration_repositories\",\"type\":\"table\",\"params\":{\"perPage\":15,\"showPartialRows\":false,\"showMeticsAtAllLevels\":false,\"sort\":{\"columnIndex\":null,\"direction\":null},\"showTotal\":false,\"totalFunc\":\"sum\"},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"cardinality\",\"schema\":\"metric\",\"params\":{\"field\":\"time_to_close_days\",\"customLabel\":\"time to close\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"cardinality\",\"schema\":\"metric\",\"params\":{\"field\":\"author_uuid\",\"customLabel\":\"authors\"}},{\"id\":\"3\",\"enabled\":true,\"type\":\"terms\",\"schema\":\"bucket\",\"params\":{\"field\":\"github_repo\",\"size\":100,\"order\":\"asc\",\"orderBy\":\"1\",\"customLabel\":\"Repositories\"}}]}" } }, { "id": "db1ed4f0-1b08-11e9-ba47-d5cbef43f8d3", "value": { "description": "", "kibanaSavedObjectMeta": { "searchSourceJSON": "{}" }, "title": "chaoss_gmd_pr_merge_duration_orgs_projects_options", "uiStateJSON": "{}", "version": 1, "visState": "{\"title\":\"chaoss_gmd_pr_merge_duration_orgs_projects_options\",\"type\":\"input_control_vis\",\"params\":{\"controls\":[{\"id\":\"1543332151603\",\"indexPattern\":\"github_issues\",\"fieldName\":\"author_org_name\",\"label\":\"Organization\",\"type\":\"list\",\"options\":{\"type\":\"terms\",\"multiselect\":true,\"size\":20,\"order\":\"desc\"}},{\"id\":\"1543332192643\",\"indexPattern\":\"github_issues\",\"fieldName\":\"project\",\"label\":\"Project\",\"type\":\"list\",\"options\":{\"type\":\"terms\",\"multiselect\":true,\"size\":20,\"order\":\"desc\"}}],\"updateFiltersOnChange\":false},\"aggs\":[]}" } }, { "id": "52c5bd10-1a74-11e9-ba47-d5cbef43f8d3", "value": { "description": "", "kibanaSavedObjectMeta": { "searchSourceJSON": "{\"index\":\"github_issues\",\"filter\":[{\"meta\":{\"index\":\"github_issues\",\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"pull_request\",\"value\":\"true\",\"params\":{\"query\":true,\"type\":\"phrase\"}},\"query\":{\"match\":{\"pull_request\":{\"query\":true,\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}},{\"meta\":{\"index\":\"github_issues\",\"negate\":false,\"disabled\":false,\"alias\":null,\"type\":\"phrase\",\"key\":\"state\",\"value\":\"closed\",\"params\":{\"query\":\"closed\",\"type\":\"phrase\"}},\"query\":{\"match\":{\"state\":{\"query\":\"closed\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}],\"query\":{\"query\":\"\",\"language\":\"lucene\"}}" }, "title": "chaoss_gmd_pr_merge_duration_time_to_close_gauge", "uiStateJSON": "{\"vis\":{\"defaultColors\":{\"0 - 7\":\"rgb(0,104,55)\",\"7 - 30\":\"rgb(255,255,190)\",\"30 - 90\":\"rgb(165,0,38)\"}}}", "version": 1, "visState": "{\"title\":\"chaoss_gmd_pr_merge_duration_time_to_close_gauge\",\"type\":\"gauge\",\"params\":{\"type\":\"gauge\",\"addTooltip\":true,\"addLegend\":true,\"isDisplayWarning\":false,\"gauge\":{\"verticalSplit\":false,\"extendRange\":true,\"percentageMode\":false,\"gaugeType\":\"Arc\",\"gaugeStyle\":\"Full\",\"backStyle\":\"Full\",\"orientation\":\"vertical\",\"colorSchema\":\"Green to Red\",\"gaugeColorMode\":\"Labels\",\"colorsRange\":[{\"from\":0,\"to\":7},{\"from\":7,\"to\":30},{\"from\":30,\"to\":90}],\"invertColors\":false,\"labels\":{\"show\":true,\"color\":\"black\"},\"scale\":{\"show\":true,\"labels\":false,\"color\":\"#333\"},\"type\":\"meter\",\"style\":{\"bgWidth\":0.9,\"width\":0.9,\"mask\":false,\"bgMask\":false,\"maskBars\":50,\"bgFill\":\"#eee\",\"bgColor\":false,\"subText\":\"\",\"fontSize\":60,\"labelColor\":true}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"median\",\"schema\":\"metric\",\"params\":{\"field\":\"time_to_close_days\",\"percents\":[50],\"customLabel\":\"median time to close (days)\"}}]}" } }, { "id": "e4fc9dc0-1a74-11e9-ba47-d5cbef43f8d3", "value": { "description": "", "kibanaSavedObjectMeta": { "searchSourceJSON": "{\"index\":\"github_issues\",\"filter\":[],\"query\":{\"query\":\"\",\"language\":\"lucene\"}}" }, "title": "chaoss_gmd_pr_merge_duration_big_numbers", "uiStateJSON": "{}", "version": 1, "visState": "{\"title\":\"chaoss_gmd_pr_merge_duration_big_numbers\",\"type\":\"metric\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{\"customLabel\":\"total pull request\"}},{\"id\":\"2\",\"enabled\":true,\"type\":\"median\",\"schema\":\"metric\",\"params\":{\"field\":\"time_to_close_days\",\"percents\":[50],\"customLabel\":\"median time to close (days)\"}}]}" } }, { "id": "c8bc82b0-1b28-11e9-ba47-d5cbef43f8d3", "value": { "description": "", "kibanaSavedObjectMeta": { "searchSourceJSON": "{}" }, "title": "chaoss_gmd_pr_merge_duration_markdown", "uiStateJSON": "{}", "version": 1, "visState": "{\"title\":\"chaoss_gmd_pr_merge_duration_markdown\",\"type\":\"markdown\",\"params\":{\"fontSize\":12,\"markdown\":\"This panel focuses on **pull request merge duration**, defined by the time between a code merge request and code commit. In this case, we focus on GitHub pull requests. \\n\\nWhen measuring GitHub, we cannot identify if a pull request has been `merged`, only if is `open` or `closed`. That's the reason why **we will base our panel on pull request closing time**.\\n\\nThe main idea behind this panel is to help us identify a **project state (growth maturity or decline)** by answering custom queries like:\\n- **How long** does a code merge request take in order to be committed?\\n- What organizations/authors **are being more efficient** when closing a pull request?\\n- Is my project **taking too long** when closing code merge requests?\\n\\nHere is the [link to the full documentation](https://chaoss.github.io/grimoirelab-sigils/chaoss-gmd-cde/pull_request_merge_duration/) for this panel.\"},\"aggs\":[]}" } } ] }