Netflix / osstracker

Github organization OSS metrics collector and metrics dashboard
Apache License 2.0
369 stars 55 forks source link

Filter number of open issues by labels #43

Closed aspyker closed 6 years ago

aspyker commented 6 years ago

In Netflix, we decided:

Track "bug, duplicate, invalid, question, wontfix" as open issues if not closed. Track "enhancement" or "help wanted" to not count as open issues.

After thinking about it more, we might want to just have another sub document under issues with the labels applied to them and without labels.

For example:

"issues": {
  "openCount": 3,
  "closedCount": 37,
  "avgTimeToCloseInDays": 206
  "labels": {
    "noneCound": 1,
    "enhancementCount": 1,
    "helpwantedCount": 1
   }
},

Based on this the UI and ES dashboards could decide how to show this. For example the UI could decide to show openCount - labels.enhancementCount.

aspyker commented 6 years ago

A quick speadsheet I used to create a logic table:

,"label exists",,,,,,,,,,, bug & question,-,y,-,,n,,,,,,, invalid & wontfix,-,-,y,,n,,,,,,, duplicate,-,-,-,,n,n,n,n,y,y,y,y enhancement,-,-,-,,n,n,y,y,n,n,y,y help wanted,-,-,-,,n,y,n,y,n,y,n,y ,,,,,,,,,,,, counts,y,y,n,,y,y,n,n,y,y,n,n

aspyker commented 6 years ago

Fixed