- Notifications
You must be signed in to change notification settings - Fork321
Commitfa9f9ca
feat: add instrumentation to list methods (#239)
* testing first trace export* instrumention client.py* instrumenting job.py and adding documentation* reconfiguring imports* quick cleanup of unused variable* adding more attributes in module and limiting complexity of instrumentation* adding tests, nox and correct attribute additions in client & job* adding tests, nox and correct attribute additions in client & job (left out of last commit)* linting* reformatting noxfile.[y* addressing suggested changes* adding suggested changes* removing print statements* setting same version across all OT [ackages and other reccommended changes* suggested changes* fixing packages issue in nox and updating documentation* fixing module install issue* restructuring design for testing adding first layer of tests (some still failing)* adding reamining client tests and all job tests* fixing linting issues* fixing trace not defined issue* fixing lint issues* fixing documentation issues and python2 testing issue* linting and fixing coverage issues* adding suggested changes* linting* adding Shawn's suggested changes* fixing _default_span_attribute_bug* reverting uneccesxsary changes* adding more tests for all job_ref parameters* removing dependecny, ordering imports and other changes* addressing Shawn concerns* adding test and suggested changes* adding opentelemetry to setup.py and other suggested changes* adding reasoning for not adding to [all]* linting* adding nested functions* adding test* adding Tim suggested changes* adding full tests* linting and fixing missing testCo-authored-by: Tim Swast <swast@google.com>1 parent2874abf commitfa9f9ca
2 files changed
+162
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
292 | 300 | | |
293 | 301 | | |
294 | | - | |
| 302 | + | |
295 | 303 | | |
296 | 304 | | |
297 | 305 | | |
| |||
353 | 361 | | |
354 | 362 | | |
355 | 363 | | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
356 | 373 | | |
357 | 374 | | |
358 | | - | |
| 375 | + | |
359 | 376 | | |
360 | 377 | | |
361 | 378 | | |
| |||
1067 | 1084 | | |
1068 | 1085 | | |
1069 | 1086 | | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
1070 | 1095 | | |
1071 | 1096 | | |
1072 | | - | |
| 1097 | + | |
1073 | 1098 | | |
1074 | 1099 | | |
1075 | 1100 | | |
| |||
1132 | 1157 | | |
1133 | 1158 | | |
1134 | 1159 | | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1135 | 1169 | | |
1136 | 1170 | | |
1137 | | - | |
| 1171 | + | |
1138 | 1172 | | |
1139 | 1173 | | |
1140 | 1174 | | |
| |||
1197 | 1231 | | |
1198 | 1232 | | |
1199 | 1233 | | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
1200 | 1242 | | |
1201 | 1243 | | |
1202 | | - | |
| 1244 | + | |
1203 | 1245 | | |
1204 | 1246 | | |
1205 | 1247 | | |
| |||
1765 | 1807 | | |
1766 | 1808 | | |
1767 | 1809 | | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
1768 | 1819 | | |
1769 | 1820 | | |
1770 | | - | |
| 1821 | + | |
1771 | 1822 | | |
1772 | 1823 | | |
1773 | 1824 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
429 | 428 | | |
430 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
431 | 436 | | |
432 | 437 | | |
433 | 438 | | |
| |||
455 | 460 | | |
456 | 461 | | |
457 | 462 | | |
458 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
459 | 470 | | |
460 | 471 | | |
461 | 472 | | |
| |||
469 | 480 | | |
470 | 481 | | |
471 | 482 | | |
472 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
473 | 490 | | |
474 | 491 | | |
475 | 492 | | |
| |||
518 | 535 | | |
519 | 536 | | |
520 | 537 | | |
521 | | - | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
522 | 544 | | |
523 | 545 | | |
524 | 546 | | |
| |||
538 | 560 | | |
539 | 561 | | |
540 | 562 | | |
541 | | - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
542 | 571 | | |
543 | 572 | | |
544 | 573 | | |
| |||
559 | 588 | | |
560 | 589 | | |
561 | 590 | | |
562 | | - | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
563 | 597 | | |
564 | 598 | | |
565 | 599 | | |
| |||
2838 | 2872 | | |
2839 | 2873 | | |
2840 | 2874 | | |
2841 | | - | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
2842 | 2881 | | |
2843 | 2882 | | |
2844 | 2883 | | |
| |||
2856 | 2895 | | |
2857 | 2896 | | |
2858 | 2897 | | |
2859 | | - | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
2860 | 2904 | | |
2861 | 2905 | | |
2862 | 2906 | | |
| |||
2900 | 2944 | | |
2901 | 2945 | | |
2902 | 2946 | | |
2903 | | - | |
| 2947 | + | |
| 2948 | + | |
| 2949 | + | |
| 2950 | + | |
| 2951 | + | |
| 2952 | + | |
2904 | 2953 | | |
2905 | 2954 | | |
2906 | 2955 | | |
| |||
2926 | 2975 | | |
2927 | 2976 | | |
2928 | 2977 | | |
2929 | | - | |
| 2978 | + | |
| 2979 | + | |
| 2980 | + | |
| 2981 | + | |
| 2982 | + | |
| 2983 | + | |
| 2984 | + | |
| 2985 | + | |
| 2986 | + | |
| 2987 | + | |
2930 | 2988 | | |
2931 | 2989 | | |
2932 | 2990 | | |
| |||
2975 | 3033 | | |
2976 | 3034 | | |
2977 | 3035 | | |
2978 | | - | |
| 3036 | + | |
| 3037 | + | |
| 3038 | + | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
2979 | 3042 | | |
2980 | 3043 | | |
2981 | 3044 | | |
| |||
3039 | 3102 | | |
3040 | 3103 | | |
3041 | 3104 | | |
3042 | | - | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
3043 | 3111 | | |
3044 | 3112 | | |
3045 | 3113 | | |
| |||
3098 | 3166 | | |
3099 | 3167 | | |
3100 | 3168 | | |
3101 | | - | |
| 3169 | + | |
| 3170 | + | |
| 3171 | + | |
| 3172 | + | |
| 3173 | + | |
| 3174 | + | |
3102 | 3175 | | |
3103 | 3176 | | |
3104 | 3177 | | |
| |||
3921 | 3994 | | |
3922 | 3995 | | |
3923 | 3996 | | |
3924 | | - | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
| 4000 | + | |
| 4001 | + | |
| 4002 | + | |
3925 | 4003 | | |
3926 | 4004 | | |
3927 | 4005 | | |
| |||
3966 | 4044 | | |
3967 | 4045 | | |
3968 | 4046 | | |
3969 | | - | |
| 4047 | + | |
| 4048 | + | |
| 4049 | + | |
| 4050 | + | |
| 4051 | + | |
| 4052 | + | |
3970 | 4053 | | |
3971 | 4054 | | |
3972 | 4055 | | |
| |||
3995 | 4078 | | |
3996 | 4079 | | |
3997 | 4080 | | |
3998 | | - | |
| 4081 | + | |
| 4082 | + | |
| 4083 | + | |
| 4084 | + | |
| 4085 | + | |
| 4086 | + | |
3999 | 4087 | | |
4000 | 4088 | | |
4001 | 4089 | | |
| |||
0 commit comments
Comments
(0)