Commit efc7196
authored
Fix Microsoft.Extensions.Telemetry logging integration for 9.5.0 (#6989)
## Summary of changes
Fixes the logging integration on
[ExtendedLoggerFactory](https://www.nuget.org/packages/Microsoft.Extensions.Telemetry/)
for v9.5.0+
## Reason for change
They added an additional parameter to the constructor which broke the
instrumentation.
## Implementation details
Added the parameter, ran tests seemed good.
## Test coverage
Existing
## Other details
<!-- Fixes #{issue} -->
<!-- 1 parent 95a6690 commit efc7196
File tree
16 files changed
+211
-112
lines changed- tracer
- build
- dependabot
- src
- Datadog.Tracer.Native/Generated
- Datadog.Trace
- ClrProfiler/AutoInstrumentation/Logging/ILogger/DirectSubmission
- Generated
- net461/Datadog.Trace.SourceGenerators/InstrumentationDefinitionsGenerator
- net6.0/Datadog.Trace.SourceGenerators/InstrumentationDefinitionsGenerator
- netcoreapp3.1/Datadog.Trace.SourceGenerators/InstrumentationDefinitionsGenerator
- netstandard2.0/Datadog.Trace.SourceGenerators/InstrumentationDefinitionsGenerator
- test/Datadog.Trace.ClrProfiler.IntegrationTests
16 files changed
+211
-112
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4771 | 4771 | | |
4772 | 4772 | | |
4773 | 4773 | | |
4774 | | - | |
| 4774 | + | |
4775 | 4775 | | |
4776 | 4776 | | |
4777 | 4777 | | |
| |||
4795 | 4795 | | |
4796 | 4796 | | |
4797 | 4797 | | |
4798 | | - | |
| 4798 | + | |
4799 | 4799 | | |
4800 | 4800 | | |
4801 | 4801 | | |
| |||
4807 | 4807 | | |
4808 | 4808 | | |
4809 | 4809 | | |
4810 | | - | |
| 4810 | + | |
4811 | 4811 | | |
4812 | 4812 | | |
4813 | 4813 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25200 | 25200 | | |
25201 | 25201 | | |
25202 | 25202 | | |
| 25203 | + | |
| 25204 | + | |
| 25205 | + | |
| 25206 | + | |
| 25207 | + | |
| 25208 | + | |
25203 | 25209 | | |
25204 | 25210 | | |
25205 | 25211 | | |
| |||
25428 | 25434 | | |
25429 | 25435 | | |
25430 | 25436 | | |
| 25437 | + | |
| 25438 | + | |
| 25439 | + | |
| 25440 | + | |
| 25441 | + | |
| 25442 | + | |
25431 | 25443 | | |
25432 | 25444 | | |
25433 | 25445 | | |
| |||
25524 | 25536 | | |
25525 | 25537 | | |
25526 | 25538 | | |
| 25539 | + | |
| 25540 | + | |
| 25541 | + | |
| 25542 | + | |
| 25543 | + | |
| 25544 | + | |
25527 | 25545 | | |
25528 | 25546 | | |
25529 | 25547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6511 | 6511 | | |
6512 | 6512 | | |
6513 | 6513 | | |
6514 | | - | |
| 6514 | + | |
6515 | 6515 | | |
6516 | 6516 | | |
6517 | 6517 | | |
| |||
6535 | 6535 | | |
6536 | 6536 | | |
6537 | 6537 | | |
6538 | | - | |
| 6538 | + | |
6539 | 6539 | | |
6540 | 6540 | | |
6541 | 6541 | | |
| |||
6547 | 6547 | | |
6548 | 6548 | | |
6549 | 6549 | | |
6550 | | - | |
| 6550 | + | |
6551 | 6551 | | |
6552 | 6552 | | |
6553 | 6553 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8693 | 8693 | | |
8694 | 8694 | | |
8695 | 8695 | | |
8696 | | - | |
| 8696 | + | |
| 8697 | + | |
8697 | 8698 | | |
8698 | 8699 | | |
8699 | 8700 | | |
8700 | | - | |
| 8701 | + | |
8701 | 8702 | | |
8702 | 8703 | | |
8703 | 8704 | | |
| |||
8742 | 8743 | | |
8743 | 8744 | | |
8744 | 8745 | | |
| 8746 | + | |
| 8747 | + | |
| 8748 | + | |
| 8749 | + | |
| 8750 | + | |
| 8751 | + | |
| 8752 | + | |
| 8753 | + | |
| 8754 | + | |
| 8755 | + | |
| 8756 | + | |
| 8757 | + | |
| 8758 | + | |
| 8759 | + | |
| 8760 | + | |
| 8761 | + | |
| 8762 | + | |
| 8763 | + | |
| 8764 | + | |
| 8765 | + | |
| 8766 | + | |
| 8767 | + | |
| 8768 | + | |
| 8769 | + | |
| 8770 | + | |
| 8771 | + | |
| 8772 | + | |
| 8773 | + | |
| 8774 | + | |
| 8775 | + | |
| 8776 | + | |
| 8777 | + | |
| 8778 | + | |
8745 | 8779 | | |
8746 | 8780 | | |
8747 | 8781 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
815 | | - | |
816 | | - | |
817 | | - | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
| 218 | + | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| 380 | + | |
380 | 381 | | |
381 | 382 | | |
382 | 383 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| 415 | + | |
415 | 416 | | |
416 | 417 | | |
417 | 418 | | |
| |||
0 commit comments