Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify the project names that I want to get metrics. #17

Open
victorcfonseca opened this issue Jun 17, 2021 · 2 comments
Open

Specify the project names that I want to get metrics. #17

victorcfonseca opened this issue Jun 17, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@victorcfonseca
Copy link
Contributor

If there are many projects in Sentry, the process of collecting metrics can take a long time. In some cases, it may be interesting to point out only projects that have already been mapped and that need special attention. In addition, there is apparently a limit of 100 in the counters, where I cannot see more than 100 issues of the same project and not more than 100 projects.

I am grateful if you can help me and if I develop something locally, I share with you to evaluate.

@mgrundkoetter mgrundkoetter added the enhancement New feature or request label Jun 30, 2021
@mgrundkoetter
Copy link
Member

Can you please open another issue for the second part, please? This may be a bug but it is not related to the feature request. Thank you!

@mgrundkoetter
Copy link
Member

For the 100 items limitation, there is a paging feature in the API, see https://docs.sentry.io/api/pagination/
So, if only 1 project is requested it may make sense to retrieve more than 100 entries. I think that it already takes quite long to retrieve all the data if you have multiple projects. So maybe it will work for more entries for 1 project (lets assume 500 or 1000) but there will be a limit anyway as requesting large amounts (lets say 10k issues) will lead to a timeout at a certain point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants