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

fix: Populate topics from Gitlab #887

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

sponte
Copy link

@sponte sponte commented Sep 2, 2024

The following changes are included in this PR:

  • propagates the topics from Gitlab project response into Prometheus stats.
  • reconciliation loop for updating the Projects from the config.Projects similarly to how config.Wildcards work - previously the projects configuration was not validated directly in Gitlab and hence the topics were not retrieved.
  • Update project topics periodically (does not work in the PullProjects, but it does in PullProjectsFromWildcards)

Fixes #697

This commit propages the topics from Gitlab project response into prometheus stats

Fixes  mvisonneau#697
@sponte sponte changed the title fix: Populate topics from Gitlab DRAFT fix: Populate topics from Gitlab Sep 3, 2024
@sponte sponte marked this pull request as draft September 3, 2024 14:05
@sponte sponte changed the title DRAFT fix: Populate topics from Gitlab fix: Populate topics from Gitlab Sep 3, 2024
sponte and others added 3 commits September 3, 2024 22:31
The projects are read from the config, but retrieved from Gitlab through pull configuration. This is to enable scraping of the configuration data e.g. Topics
@sponte sponte marked this pull request as ready for review September 4, 2024 09:58
@sponte sponte marked this pull request as draft September 5, 2024 07:30
@sponte sponte marked this pull request as ready for review September 5, 2024 18:56
@sponte sponte marked this pull request as draft September 11, 2024 13:25
@sponte sponte marked this pull request as ready for review September 13, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Topics are not populated
1 participant