Bit out of left field; anyone ever extracted a pro...
# plugins-general
s
Bit out of left field; anyone ever extracted a project cycle time out of github? I'm trying to get this metric to measure team productivity
e
what data are you missing? https://github.com/MeltanoLabs/tap-github covers a lot of ground already but happy to brainstorm ways to get the data you’re missing
s
@eric_boucher I posted the question before being aware of your tap, so I'm definitely just going to research it now 😉 My next steps are also to investigate getting the collaboration metrics for team members (PR vs commit vs code review). Any ideas?
(But thank you so much for the tap, it looks awesome)
e
for 1. a set group of repos, or 2. a set group of users?
noting that 1 is easier at the moment just because you have more streams readily available for repos
s
For a set of repos
Also, have you ever used your tap with Stitch? I'm getting a replication error:
Copy code
CRITICAL Error persisting data to Stitch: 400: {'error': 'Record 0 for table teams did not conform to schema:\n#/parent: #: no subschema matched out of the total 2 subschemas\n#/parent: expected type: String, found: JSONObject\n#/parent: expected: null, found: JSONObject\n'}
Apparently this is usually linked to log-based replication
e
hmm no we haven’t sorry. What does the output look like if you run it with no target?
does your token have the right access?
s
Yeah, the endpoint for teams has changed, and stitch is stingy on respecting schemas
I created an issue for you, hope it helps
e
Thanks! Feel free to open a PR if you have a moment and ping me for a review