Skip to content

[instrumentation-system-metrics] add support for pypy3 #1033

@codeboten

Description

@codeboten

Some of the metrics gathered in opentelemetry-instrumentation-system-metrics are different in pypy3. For example, the following method fails on pypy3:

module 'gc' has no attribute 'get_count'

Instead, getting counts for garbage collection is done via GC hooks. See the following for more details:
https://doc.pypy.org/en/latest/gc_info.html

The work in this issue is to make the instrumentation either produce all the same metrics or exclude the instruments that don't have equivalents. Ideally at the end of this issue, the tests for this instrumentation library will be enabled in tox for pypy3.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions