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

concurrent projects polling; syntax fixes #88

Merged
merged 8 commits into from
Apr 17, 2020

Conversation

inge4pres
Copy link
Contributor

Hello,

here are addressed some of the design improvements highlighted in #86.
The main area is around pollProjects architecture that is now fully concurrent compared to the previous long-polling version.
There are also some minor cosmetic stuff like avoiding init() for metrics registry and some syntax simplifications.

Copy link
Owner

@mvisonneau mvisonneau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this thorough revision of the logic @inge4pres! I have learnt a lot of things 🙏🙇‍♂️

I made a few comments on which we can discuss further but on overall I am happy to see it merged 👍

cmd/exporter.go Outdated Show resolved Hide resolved
cmd/gitlab.go Show resolved Hide resolved
cmd/gitlab.go Outdated Show resolved Hide resolved
cmd/gitlab.go Outdated Show resolved Hide resolved
cmd/gitlab.go Outdated Show resolved Hide resolved
cmd/gitlab.go Outdated Show resolved Hide resolved
@mvisonneau mvisonneau added the enhancement New feature or request label Apr 16, 2020
@inge4pres
Copy link
Contributor Author

Hey there @mvisonneau I see this PR is growing a lot! all the discussions should be addressed, please have a look 😄 I updated the changelog with the content of the changes

Copy link
Owner

@mvisonneau mvisonneau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot @inge4pres, this looks really good! I just left a small comment but otherwise LGTM 👍

cmd/config.go Outdated Show resolved Hide resolved
@mvisonneau mvisonneau merged commit d8fdb40 into mvisonneau:master Apr 17, 2020
@inge4pres inge4pres deleted the concurrent-polling branch April 17, 2020 08:08
inge4pres pushed a commit to inge4pres/gitlab-ci-pipelines-exporter that referenced this pull request Apr 20, 2020
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

Successfully merging this pull request may close these issues.

2 participants