Closed mariusoe closed 2 years ago
Merging #1484 (96df1bf) into master (14c48b6) will decrease coverage by
0.57%
. The diff coverage is60.22%
.
@@ Coverage Diff @@
## master #1484 +/- ##
============================================
- Coverage 79.20% 78.63% -0.57%
- Complexity 2250 2269 +19
============================================
Files 230 232 +2
Lines 7292 7426 +134
Branches 867 887 +20
============================================
+ Hits 5775 5839 +64
- Misses 1159 1220 +61
- Partials 358 367 +9
Impacted Files | Coverage Δ | |
---|---|---|
...inspectit/ocelot/config/model/InspectitConfig.java | 100.00% <ø> (ø) |
|
...rumentation/rules/InstrumentationRuleSettings.java | 100.00% <ø> (ø) |
|
.../actions/bound/ConstantOnlyBoundGenericAction.java | 100.00% <ø> (ø) |
|
...ation/actions/bound/DynamicBoundGenericAction.java | 89.47% <ø> (ø) |
|
...on/actions/template/VoidGenericActionTemplate.java | 0.00% <ø> (ø) |
|
...nstrumentation/hook/actions/TracingHookAction.java | 0.00% <0.00%> (ø) |
|
...core/instrumentation/hook/MethodHookGenerator.java | 85.83% <44.44%> (-6.62%) |
:arrow_down: |
...t/ocelot/core/instrumentation/hook/MethodHook.java | 72.60% <50.00%> (-22.52%) |
:arrow_down: |
...trumentation/actions/bound/BoundGenericAction.java | 85.71% <80.00%> (-1.79%) |
:arrow_down: |
...core/instrumentation/hook/ActionCallGenerator.java | 95.00% <85.71%> (-5.00%) |
:arrow_down: |
... and 9 more |
This PR extends the agent by a debug functionallity to trace its aciton calls incl. the respective method hook. This can be used to debug configurations and to understand what the agent is acutally doing. The spans representing the action calls will include context information like action arguments, return values and information about the data context an action is executed in.
This change is