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

Parameter Scrape Time Projects not working #125

Open
Jim0530 opened this issue Feb 21, 2025 · 0 comments
Open

Parameter Scrape Time Projects not working #125

Jim0530 opened this issue Feb 21, 2025 · 0 comments

Comments

@Jim0530
Copy link

Jim0530 commented Feb 21, 2025

I am using $SCRAPE_TIME_PROJECTS to config the time for scraping projects. So i started to trace code since it's not working.
I found out that to disable the project collector depends on Opts.Scrape.TimeLive.Seconds() instead of Opts.Scrape.TimeProjects

collectorName = "Project"
if Opts.Scrape.TimeLive.Seconds() > 0 {

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

No branches or pull requests

1 participant