Skip to content
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

Support stats "yjit_alloc_size" #3661

Merged

Conversation

MITSUBOSHI
Copy link
Contributor

@MITSUBOSHI MITSUBOSHI commented May 23, 2024

What does this PR do?

Motivation:

  • The new metrics helps us tune --yjit-exec-mem-size option.

Additional Notes:

How to test the change?

Unsure? Have a question? Request a review!

@github-actions github-actions bot added the core Involves Datadog core libraries label May 23, 2024
@MITSUBOSHI MITSUBOSHI marked this pull request as ready for review May 23, 2024 12:23
@MITSUBOSHI MITSUBOSHI requested a review from a team as a code owner May 23, 2024 12:23
lib/datadog/core/runtime/metrics.rb:143:9: C: Metrics/MethodLength: Method has too many lines. [40/36]
        def flush_yjit_stats ...
        ^^^^^^^^^^^^^^^^^^^^
@codecov-commenter
Copy link

codecov-commenter commented May 23, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.

Project coverage is 98.10%. Comparing base (b3c5a3d) to head (d008028).
Report is 35 commits behind head on master.

Files Patch % Lines
spec/datadog/core/runtime/metrics_spec.rb 0.00% 2 Missing ⚠️
lib/datadog/core/environment/yjit.rb 50.00% 1 Missing ⚠️
lib/datadog/core/runtime/metrics.rb 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3661      +/-   ##
==========================================
- Coverage   98.10%   98.10%   -0.01%     
==========================================
  Files        1225     1225              
  Lines       72522    72528       +6     
  Branches     3446     3448       +2     
==========================================
+ Hits        71151    71154       +3     
- Misses       1371     1374       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MITSUBOSHI
Copy link
Contributor Author

@marcotc
Hello, Could you review this PR? :)
(I just found you are one of the active maintainers by seeing recent PRs.)

* master: (34 commits)
  Add hanami app to integration CI configurations (DataDog#3639)
  Update UpgradeGuide in README.md
  Update lockfiles for release 2.0.0
  Bump version 2.0.0.rc1 to 2.0.0
  Add 2.0.0 to CHANGELOG.md
  Add missing Apache 2.0 license from gemspec
  Use ffi 1.16.3
  Add platform
  Output gem version
  Output debug logs
  Fix spec to exclude .vscode directory
  Fix docker run command
  Add vscode settings for dockerfile file associations
  Update gem version
  Update gemfiles/*
  Update `ffi` in Gemfile
  Remove experimental warning from OpenTelemetry.md
  Remove latest tag on docker images
  add installer system tests
  Extract trace id format helper method (DataDog#3670)
  ...
@MITSUBOSHI
Copy link
Contributor Author

@p-datadog
Thank you for approving this change!!
I'm looking forward to the PR being merged and available in the new release soon :)

@p-datadog p-datadog merged commit b047a30 into DataDog:master Jun 12, 2024
167 checks passed
@p-datadog
Copy link
Contributor

Thank you very much for the PR @MITSUBOSHI

@MITSUBOSHI MITSUBOSHI deleted the feature/add-more-metrics-for-yjit branch June 13, 2024 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Involves Datadog core libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants