-
Notifications
You must be signed in to change notification settings - Fork 766
system-metrics: Add cpython.gc.collections
metric
#3617
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
system-metrics: Add cpython.gc.collections
metric
#3617
Conversation
...-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/__init__.py
Outdated
Show resolved
Hide resolved
...-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/__init__.py
Show resolved
Hide resolved
Short question: Should we comment that the old metric is deprecated ? |
d4d91eb
to
4003bb0
Compare
@emdneto may you please take another look on the PR and see that all your comments were addressed? |
cpython.gc.collections
metric
4003bb0
to
298a072
Compare
298a072
to
8a51981
Compare
@emdneto The failing test is not connected to this PR. Interesting why this happens. It fails in the sqlalchemy tests which was not touched here. On my local machine the same test passes: Looks like some flakiness.
|
Hi @emdneto, how can we move this forward? The failing unit test doesn’t seem related to my changes, and I don’t have permissions to re-run the workflow. The PR is already approved — is there anything else needed to get it merged? |
@david-gang if there are any open comments that you've fixed, please hit the resolve button and I can get this merged |
Thanks for clarifying this. In the companies I worked, the reviewers wanted to resolve the conversations themselves. I will do this here. |
@aabmass i resolved all open conversations. |
@aabmass do we want to deprecate the old metrics in this PR or in a seperate one? if in this pr, how is this done? |
No worries, we are flexible here :)
Great question, I don't think we have any solid process for this. I would recommend at least mentioning it in the release notes. @emdneto any thoughts? |
Thanks @aabmass and @david-gang We should remove that in a separate one once everything is Stable. I believe already have a deprecation notice for process.runtime stuff? |
SGTM thank you for the contribution |
...-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/__init__.py
Show resolved
Hide resolved
) fixes open-telemetry#3549 Co-authored-by: Emídio Neto <9735060+emdneto@users.noreply.github.com> Co-authored-by: Aaron Abbott <aaronabbott@google.com>
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 #3549
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
The change is trivial as
opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-system-metrics/tests/test_system_metrics.py
Line 952 in b74633a
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.
I try to keep this pr as small as possible. After this is merged i want to add the cpython.gc.collected_objects and cpython.gc.uncollectable_objects metrics from https://github.com/open-telemetry/semantic-conventions/blob/2bc97890c1ad82232745b4dd74fd3144476b6a5c/docs/runtime/cpython-metrics.md#metric-cpythongccollected_objects