feat: Add traffic streams#193
Conversation
|
It seems the test failed: I think it's because of a permissions issue on the user running the test. |
@sicarul Yeah, can you add note to the readme documenting which permissions are required to pull the traffic streams? |
|
Added @edgarrmondragon ! |
|
@edgarrmondragon do we need anything else to move this forward? |
@sicarul Tests are still failing so I worry that this may cause similar failures to users of the tap if their tokens don't support pulling from the traffic endpoints. Wdyt about adding a tap setting (e.g. cc @kgpayne if you have other ideas |
Maybe i could also handle this error instead? However, i do not believe any user would try to run this entire tap without selecting streams, some are monstruous. |
@sicarul You're right, but the SDK tries to be helpful to folks just getting started with singer.io and so all streams are selected by default in the default catalog. However, we could change that in your streams. I'll propose some changes. (I also started a discussion in the SDK: meltano/sdk#1652) |
Co-authored-by: Edgar R. M. <edgarrm358@gmail.com>
Co-authored-by: Edgar R. M. <edgarrm358@gmail.com>
Co-authored-by: Edgar R. M. <edgarrm358@gmail.com>
|
@sicarul this LGTM! Just a minor comment on the readme and this is good to merge for me 🙂 |
Co-authored-by: Edgar R. M. <edgarrm358@gmail.com>
|
@sicarul Can you update your branch from |
|
Kudos, SonarCloud Quality Gate passed!
|
|
Thanks @sicarul! |








This PR adds the Traffic streams to collect how much traffic did we have on each Repository.
It'll only collect data for the repositories the token has write access to, and will log an info message for those that it couldn't collect.