Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

CaptureDebugGCStats panics #276

Description

@Setheck

Just wanted to explore what GC stats were getting captured, so i added
go metrics.CaptureDebugGCStats(metrics.DefaultRegistry, 10*time.Second)

and It appears to panic because debugMetrics.ReadGCStats is a Timer interface that is never initialized.

version from go.mod is github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions