-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude gc_count from system-metrics instrumentation #1836
base: main
Are you sure you want to change the base?
Conversation
...-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/__init__.py
Outdated
Show resolved
Hide resolved
instrumentation/opentelemetry-instrumentation-system-metrics/tests/test_system_metrics.py
Outdated
Show resolved
Hide resolved
...-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/__init__.py
Outdated
Show resolved
Hide resolved
Please add a more descriptive name to this PR and also fix lint. |
instrumentation/opentelemetry-instrumentation-system-metrics/tests/test_system_metrics.py
Outdated
Show resolved
Hide resolved
Lint issue is fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need tests for these changes.
@ocelotl : Added the test cases |
@ocelotl - 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. For this we have excluded the instruments that don't have equivalents for the gc_count on pypy3. The test for the system metrics instrumentation is enabled in tox. Request you please review and merge the PR. We will open a new feature request - to make the instrumentation to provide the gc_count metrics for pypy3. |
@ocelotl :Added the test cases to support the pypy3 for system metrics instrumentation. |
...-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/__init__.py
Show resolved
Hide resolved
Renamed this PR to better reflect the changes being made here. |
Ok, almost ready to approve and merge, just take a look at the comment above and implement the requested changes ✌️ |
…ected in case of PyPy
@ocelotl : Please don't approve the PR, just hold for one or two days, will let you KNOW and then you can merge the PR |
|
Co-authored-by: SuryanarayanaPeri [email protected]
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #1033
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.