Skip to content

Opt-in to built-in collectors? #321

@akx

Description

@akx

Slightly related to the multiproc deadlock I found in my #313 PR, it would be nice if GC_COLLECTOR, PLATFORM_COLLECTOR and PROCESS_COLLECTOR weren't implicitly created and registered.

After all, they say that

Explicit is better than implicit.

and the fact that just initializing a GCCollector() hooks in to the garbage collector and starts creating metrics feels a little bad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions