Skip to content

Incorrect metrics during startup until a full scan has been made #28

@consideRatio

Description

@consideRatio

I recall that there is a situation during startup before prometheus-dirsize-metrics has scraped all directories once, where for example TOTAL_SIZE is growing slowly from 0 up to the total it will observe after a full scan has completed.

Can/should we avoid providing metrics until its ready to be flushed after a cycle finishes?

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