Skip to content

Parameter Scrape Time Projects not working #125

Description

@Jim0530

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 {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions