Skip to content

CPython runtime gc metrics #1930

@xrmx

Description

@xrmx

Propose new conventions

I would like to add 3 new CPython metrics regarding its garbage collector:

  • cpython.gc.collections
  • metric.cpython.gc.collected
  • metric.cpython.gc.uncollectable

And then a an attribute cpython.gc.generation to track for what gc generation (gen0, gen1, gen2) this metrics are.

Data will come from the gc.get_stats API: https://docs.python.org/3/library/gc.html#gc.get_stats

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestexperts neededThis issue or pull request is outside an area where general approvers feel they can approvetriage:needs-triage

    Type

    No type

    Projects

    Status

    Need triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions