• Aleksei Lipniagov's avatar
    Disable method instrumentation initialization · 1458985e
    Aleksei Lipniagov authored
    We are deprecating the method instrumentation the way we implemented it,
    as we are not using the data produced by the instrumented classes and
    methods while the approach:
    - redefines every method with metaprogramming/monkey patching
    - makes some assumptions on the method arity which is tricky to test
    and may be prone to errors
    - appears almost on every trace, so it could mask the real issue
    with the argument mismatch
    - does something that the profiler should do,
    but with the custom solution
    - adds performance & memory penalty to our call chain
    The implementation itself would be removed in next MRs, to have smaller
    iterations and reduce the risks.
    
    Changelog: removed
    1458985e
zz_metrics.rb 7.28 KB