Commit 9bc3092
Distributed Tracing for Entities (In-Process) (#1190)
* added distributed tracing for entities
* change in how the distributed trace context is propagated in the case that an entity in WebJobs starts an orchestration
* slight style update
* some more tiny style things
* addressing two more PR comments
* forgot to add one annotation
* yet another small style change
* addressing PR comments
* forgot one file
* addressing more PR comments
* forgot two comments
* addressing a few small comments
* refactored most of the tracing into this repo to more accurately reflect the end time of activites (like, when the call/signal request to an entity is actually sent, or when an orchestration is actually created by an entity)
* fixing spacing
* slight change in formatting of the create orchestration trace
* addressing PR comments
* adding back new lines at the ends of files
* trying to fix these line endings
* dealing with new lines again
* tiny change
* missed a null check
* reverting to old design
* missed some
* and missed some more
* missed even more
* will it ever end
* last one i think
* moved activity for entity starting an orchestration back into webjobs
* as always missed some stuff
* added support for an entities enabled flag
* added a null check for client span ID when creating the activity for scheduling a suborchestration
* getting rid of an extra line
* addressing PR comment
* addressing a few PR comments
* addressing some PR comments, slightly changing the logic of the modified TaskHubClient method
---------
Co-authored-by: Sophia Tevosyan <stevosyan@microsoft.com>1 parent a5bee07 commit 9bc3092
File tree
4 files changed
+65
-7
lines changed- src/DurableTask.Core
- Tracing
4 files changed
+65
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
39 | 49 | | |
40 | 50 | | |
41 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
749 | 762 | | |
750 | 763 | | |
751 | 764 | | |
| |||
757 | 770 | | |
758 | 771 | | |
759 | 772 | | |
760 | | - | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
761 | 778 | | |
762 | 779 | | |
763 | 780 | | |
| |||
776 | 793 | | |
777 | 794 | | |
778 | 795 | | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
779 | 800 | | |
780 | 801 | | |
781 | 802 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
119 | 124 | | |
120 | 125 | | |
121 | 126 | | |
| |||
1143 | 1148 | | |
1144 | 1149 | | |
1145 | 1150 | | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
1149 | 1151 | | |
1150 | 1152 | | |
1151 | 1153 | | |
| |||
1169 | 1171 | | |
1170 | 1172 | | |
1171 | 1173 | | |
1172 | | - | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
1173 | 1187 | | |
| 1188 | + | |
| 1189 | + | |
1174 | 1190 | | |
1175 | 1191 | | |
1176 | 1192 | | |
| |||
1204 | 1220 | | |
1205 | 1221 | | |
1206 | 1222 | | |
1207 | | - | |
| 1223 | + | |
1208 | 1224 | | |
1209 | 1225 | | |
1210 | 1226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
288 | 291 | | |
289 | 292 | | |
290 | 293 | | |
| |||
348 | 351 | | |
349 | 352 | | |
350 | 353 | | |
| 354 | + | |
351 | 355 | | |
352 | 356 | | |
353 | 357 | | |
354 | 358 | | |
355 | 359 | | |
356 | 360 | | |
357 | 361 | | |
| 362 | + | |
358 | 363 | | |
359 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
360 | 371 | | |
361 | 372 | | |
362 | 373 | | |
| |||
0 commit comments