genai-otel-instrument 0.1.9.dev0__py3-none-any.whl → 0.1.12.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of genai-otel-instrument might be problematic. Click here for more details.
- genai_otel/__version__.py +2 -2
- genai_otel/llm_pricing.json +305 -7
- {genai_otel_instrument-0.1.9.dev0.dist-info → genai_otel_instrument-0.1.12.dev0.dist-info}/METADATA +74 -33
- {genai_otel_instrument-0.1.9.dev0.dist-info → genai_otel_instrument-0.1.12.dev0.dist-info}/RECORD +8 -8
- {genai_otel_instrument-0.1.9.dev0.dist-info → genai_otel_instrument-0.1.12.dev0.dist-info}/WHEEL +0 -0
- {genai_otel_instrument-0.1.9.dev0.dist-info → genai_otel_instrument-0.1.12.dev0.dist-info}/entry_points.txt +0 -0
- {genai_otel_instrument-0.1.9.dev0.dist-info → genai_otel_instrument-0.1.12.dev0.dist-info}/licenses/LICENSE +0 -0
- {genai_otel_instrument-0.1.9.dev0.dist-info → genai_otel_instrument-0.1.12.dev0.dist-info}/top_level.txt +0 -0
genai_otel/__version__.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.1.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
31
|
+
__version__ = version = '0.1.12.dev0'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 1, 12, 'dev0')
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
genai_otel/llm_pricing.json
CHANGED
|
@@ -109,6 +109,16 @@
|
|
|
109
109
|
"512x512": 0.01,
|
|
110
110
|
"1024x1024": 0.012
|
|
111
111
|
}
|
|
112
|
+
},
|
|
113
|
+
"grok-image": {
|
|
114
|
+
"standard": {
|
|
115
|
+
"per_image": 0.07
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"xai-grok-image": {
|
|
119
|
+
"standard": {
|
|
120
|
+
"per_image": 0.07
|
|
121
|
+
}
|
|
112
122
|
}
|
|
113
123
|
},
|
|
114
124
|
"audio": {
|
|
@@ -149,6 +159,22 @@
|
|
|
149
159
|
"promptPrice": 0.002,
|
|
150
160
|
"completionPrice": 0.008
|
|
151
161
|
},
|
|
162
|
+
"gpt-5": {
|
|
163
|
+
"promptPrice": 0.00125,
|
|
164
|
+
"completionPrice": 0.01
|
|
165
|
+
},
|
|
166
|
+
"gpt-5-2025-08-07": {
|
|
167
|
+
"promptPrice": 0.00125,
|
|
168
|
+
"completionPrice": 0.01
|
|
169
|
+
},
|
|
170
|
+
"gpt-5-mini": {
|
|
171
|
+
"promptPrice": 0.00025,
|
|
172
|
+
"completionPrice": 0.002
|
|
173
|
+
},
|
|
174
|
+
"gpt-5-nano": {
|
|
175
|
+
"promptPrice": 0.0001,
|
|
176
|
+
"completionPrice": 0.0004
|
|
177
|
+
},
|
|
152
178
|
"gpt-4o": {
|
|
153
179
|
"promptPrice": 0.0005,
|
|
154
180
|
"completionPrice": 0.0015
|
|
@@ -249,6 +275,22 @@
|
|
|
249
275
|
"promptPrice": 0.015,
|
|
250
276
|
"completionPrice": 0.075
|
|
251
277
|
},
|
|
278
|
+
"claude-4-opus": {
|
|
279
|
+
"promptPrice": 0.015,
|
|
280
|
+
"completionPrice": 0.075
|
|
281
|
+
},
|
|
282
|
+
"claude-opus-4": {
|
|
283
|
+
"promptPrice": 0.015,
|
|
284
|
+
"completionPrice": 0.075
|
|
285
|
+
},
|
|
286
|
+
"claude-opus-4-1": {
|
|
287
|
+
"promptPrice": 0.015,
|
|
288
|
+
"completionPrice": 0.075
|
|
289
|
+
},
|
|
290
|
+
"claude-opus-4.1": {
|
|
291
|
+
"promptPrice": 0.015,
|
|
292
|
+
"completionPrice": 0.075
|
|
293
|
+
},
|
|
252
294
|
"claude-3-sonnet-20240229": {
|
|
253
295
|
"promptPrice": 0.003,
|
|
254
296
|
"completionPrice": 0.015
|
|
@@ -257,6 +299,34 @@
|
|
|
257
299
|
"promptPrice": 0.00025,
|
|
258
300
|
"completionPrice": 0.00125
|
|
259
301
|
},
|
|
302
|
+
"claude-3-5-sonnet-20240620": {
|
|
303
|
+
"promptPrice": 0.003,
|
|
304
|
+
"completionPrice": 0.015
|
|
305
|
+
},
|
|
306
|
+
"claude-3-5-sonnet-20241022": {
|
|
307
|
+
"promptPrice": 0.003,
|
|
308
|
+
"completionPrice": 0.015
|
|
309
|
+
},
|
|
310
|
+
"claude-3-5-haiku-20241022": {
|
|
311
|
+
"promptPrice": 0.0008,
|
|
312
|
+
"completionPrice": 0.004
|
|
313
|
+
},
|
|
314
|
+
"claude-sonnet-4-5": {
|
|
315
|
+
"promptPrice": 0.003,
|
|
316
|
+
"completionPrice": 0.015
|
|
317
|
+
},
|
|
318
|
+
"claude-sonnet-4-5-20250929": {
|
|
319
|
+
"promptPrice": 0.003,
|
|
320
|
+
"completionPrice": 0.015
|
|
321
|
+
},
|
|
322
|
+
"claude-3-7-sonnet": {
|
|
323
|
+
"promptPrice": 0.003,
|
|
324
|
+
"completionPrice": 0.015
|
|
325
|
+
},
|
|
326
|
+
"claude-haiku-4-5": {
|
|
327
|
+
"promptPrice": 0.001,
|
|
328
|
+
"completionPrice": 0.005
|
|
329
|
+
},
|
|
260
330
|
"command": {
|
|
261
331
|
"promptPrice": 0.001,
|
|
262
332
|
"completionPrice": 0.002
|
|
@@ -441,6 +511,14 @@
|
|
|
441
511
|
"promptPrice": 0.00125,
|
|
442
512
|
"completionPrice": 0.01
|
|
443
513
|
},
|
|
514
|
+
"gemini-2-5-flash-image": {
|
|
515
|
+
"promptPrice": 0.0003,
|
|
516
|
+
"completionPrice": 0.03
|
|
517
|
+
},
|
|
518
|
+
"nano-banana": {
|
|
519
|
+
"promptPrice": 0.0003,
|
|
520
|
+
"completionPrice": 0.03
|
|
521
|
+
},
|
|
444
522
|
"text-bison": {
|
|
445
523
|
"promptPrice": 0.001,
|
|
446
524
|
"completionPrice": 0.002
|
|
@@ -537,6 +615,38 @@
|
|
|
537
615
|
"promptPrice": 0.0005,
|
|
538
616
|
"completionPrice": 0.0015
|
|
539
617
|
},
|
|
618
|
+
"grok-2-1212": {
|
|
619
|
+
"promptPrice": 0.002,
|
|
620
|
+
"completionPrice": 0.01
|
|
621
|
+
},
|
|
622
|
+
"grok-2-vision-1212": {
|
|
623
|
+
"promptPrice": 0.002,
|
|
624
|
+
"completionPrice": 0.01
|
|
625
|
+
},
|
|
626
|
+
"grok-3": {
|
|
627
|
+
"promptPrice": 0.003,
|
|
628
|
+
"completionPrice": 0.015
|
|
629
|
+
},
|
|
630
|
+
"grok-3-mini": {
|
|
631
|
+
"promptPrice": 0.0003,
|
|
632
|
+
"completionPrice": 0.0005
|
|
633
|
+
},
|
|
634
|
+
"grok-3-fast": {
|
|
635
|
+
"promptPrice": 0.005,
|
|
636
|
+
"completionPrice": 0.025
|
|
637
|
+
},
|
|
638
|
+
"grok-3-mini-fast": {
|
|
639
|
+
"promptPrice": 0.0006,
|
|
640
|
+
"completionPrice": 0.004
|
|
641
|
+
},
|
|
642
|
+
"grok-4": {
|
|
643
|
+
"promptPrice": 0.003,
|
|
644
|
+
"completionPrice": 0.015
|
|
645
|
+
},
|
|
646
|
+
"grok-4-fast": {
|
|
647
|
+
"promptPrice": 0.0002,
|
|
648
|
+
"completionPrice": 0.0005
|
|
649
|
+
},
|
|
540
650
|
"jamba-1.5-mini": {
|
|
541
651
|
"promptPrice": 0.0002,
|
|
542
652
|
"completionPrice": 0.0004
|
|
@@ -565,6 +675,26 @@
|
|
|
565
675
|
"promptPrice": 0.0012,
|
|
566
676
|
"completionPrice": 0.0012
|
|
567
677
|
},
|
|
678
|
+
"qwen3-next-80b-a3b-instruct": {
|
|
679
|
+
"promptPrice": 0.000525,
|
|
680
|
+
"completionPrice": 0.0021
|
|
681
|
+
},
|
|
682
|
+
"qwen3-next-80b-a3b-thinking": {
|
|
683
|
+
"promptPrice": 0.000525,
|
|
684
|
+
"completionPrice": 0.0063
|
|
685
|
+
},
|
|
686
|
+
"qwen3-coder-480b-a35b-instruct": {
|
|
687
|
+
"promptPrice": 0.001,
|
|
688
|
+
"completionPrice": 0.005
|
|
689
|
+
},
|
|
690
|
+
"qwen3-max": {
|
|
691
|
+
"promptPrice": 0.0012,
|
|
692
|
+
"completionPrice": 0.006
|
|
693
|
+
},
|
|
694
|
+
"qwen-qwen3-max": {
|
|
695
|
+
"promptPrice": 0.0012,
|
|
696
|
+
"completionPrice": 0.006
|
|
697
|
+
},
|
|
568
698
|
"codellama/CodeLlama-34b-Instruct-hf": {
|
|
569
699
|
"promptPrice": 0.0008,
|
|
570
700
|
"completionPrice": 0.0008
|
|
@@ -613,13 +743,29 @@
|
|
|
613
743
|
"promptPrice": 0.00059,
|
|
614
744
|
"completionPrice": 0.00079
|
|
615
745
|
},
|
|
746
|
+
"llama-4-scout": {
|
|
747
|
+
"promptPrice": 0.00015,
|
|
748
|
+
"completionPrice": 0.0005
|
|
749
|
+
},
|
|
616
750
|
"llama-4-scout-17bx16e-128k": {
|
|
617
|
-
"promptPrice": 0.
|
|
618
|
-
"completionPrice": 0.
|
|
751
|
+
"promptPrice": 0.00015,
|
|
752
|
+
"completionPrice": 0.0005
|
|
753
|
+
},
|
|
754
|
+
"llama-4-maverick": {
|
|
755
|
+
"promptPrice": 0.00022,
|
|
756
|
+
"completionPrice": 0.00085
|
|
619
757
|
},
|
|
620
758
|
"llama-4-maverick-17bx128e-128k": {
|
|
621
|
-
"promptPrice": 0.
|
|
622
|
-
"completionPrice": 0.
|
|
759
|
+
"promptPrice": 0.00022,
|
|
760
|
+
"completionPrice": 0.00085
|
|
761
|
+
},
|
|
762
|
+
"meta-llama/Llama-4-Scout": {
|
|
763
|
+
"promptPrice": 0.00015,
|
|
764
|
+
"completionPrice": 0.0005
|
|
765
|
+
},
|
|
766
|
+
"meta-llama/Llama-4-Maverick": {
|
|
767
|
+
"promptPrice": 0.00022,
|
|
768
|
+
"completionPrice": 0.00085
|
|
623
769
|
},
|
|
624
770
|
"llama-guard-4-12b": {
|
|
625
771
|
"promptPrice": 0.0002,
|
|
@@ -773,7 +919,7 @@
|
|
|
773
919
|
"promptPrice": 0.0003,
|
|
774
920
|
"completionPrice": 0.0006
|
|
775
921
|
},
|
|
776
|
-
"qwen3:
|
|
922
|
+
"qwen3:4b": {
|
|
777
923
|
"promptPrice": 0.0003,
|
|
778
924
|
"completionPrice": 0.0006
|
|
779
925
|
},
|
|
@@ -857,9 +1003,161 @@
|
|
|
857
1003
|
"promptPrice": 0.0008,
|
|
858
1004
|
"completionPrice": 0.0008
|
|
859
1005
|
},
|
|
1006
|
+
"ibm-granite-3-1-8b-instruct": {
|
|
1007
|
+
"promptPrice": 0.0002,
|
|
1008
|
+
"completionPrice": 0.0002
|
|
1009
|
+
},
|
|
1010
|
+
"ibm-granite-3-8b-instruct": {
|
|
1011
|
+
"promptPrice": 0.0002,
|
|
1012
|
+
"completionPrice": 0.0002
|
|
1013
|
+
},
|
|
1014
|
+
"granite-3-8b-instruct": {
|
|
1015
|
+
"promptPrice": 0.0002,
|
|
1016
|
+
"completionPrice": 0.0002
|
|
1017
|
+
},
|
|
1018
|
+
"granite-embedding-107m-multilingual": {
|
|
1019
|
+
"promptPrice": 0.0001,
|
|
1020
|
+
"completionPrice": 0.0001
|
|
1021
|
+
},
|
|
1022
|
+
"granite-embedding-278m-multilingual": {
|
|
1023
|
+
"promptPrice": 0.0001,
|
|
1024
|
+
"completionPrice": 0.0001
|
|
1025
|
+
},
|
|
860
1026
|
"deepseek-v3.1": {
|
|
861
|
-
"promptPrice": 0.
|
|
862
|
-
"completionPrice": 0.
|
|
1027
|
+
"promptPrice": 0.00056,
|
|
1028
|
+
"completionPrice": 0.00168
|
|
1029
|
+
},
|
|
1030
|
+
"sarvam-m": {
|
|
1031
|
+
"promptPrice": 0,
|
|
1032
|
+
"completionPrice": 0
|
|
1033
|
+
},
|
|
1034
|
+
"sarvamai/sarvam-m": {
|
|
1035
|
+
"promptPrice": 0,
|
|
1036
|
+
"completionPrice": 0
|
|
1037
|
+
},
|
|
1038
|
+
"sarvam-chat": {
|
|
1039
|
+
"promptPrice": 0,
|
|
1040
|
+
"completionPrice": 0
|
|
1041
|
+
},
|
|
1042
|
+
"granite-4-0-h-small": {
|
|
1043
|
+
"promptPrice": 0.0002,
|
|
1044
|
+
"completionPrice": 0.0002
|
|
1045
|
+
},
|
|
1046
|
+
"granite-4-0-h-tiny": {
|
|
1047
|
+
"promptPrice": 0.0002,
|
|
1048
|
+
"completionPrice": 0.0002
|
|
1049
|
+
},
|
|
1050
|
+
"granite-4-0-h-micro": {
|
|
1051
|
+
"promptPrice": 0.0002,
|
|
1052
|
+
"completionPrice": 0.0002
|
|
1053
|
+
},
|
|
1054
|
+
"granite-4-0-micro": {
|
|
1055
|
+
"promptPrice": 0.0002,
|
|
1056
|
+
"completionPrice": 0.0002
|
|
1057
|
+
},
|
|
1058
|
+
"ibm-granite/granite-4.0-h-small": {
|
|
1059
|
+
"promptPrice": 0.0002,
|
|
1060
|
+
"completionPrice": 0.0002
|
|
1061
|
+
},
|
|
1062
|
+
"ibm-granite/granite-4.0-h-tiny": {
|
|
1063
|
+
"promptPrice": 0.0002,
|
|
1064
|
+
"completionPrice": 0.0002
|
|
1065
|
+
},
|
|
1066
|
+
"ibm-granite/granite-4.0-h-micro": {
|
|
1067
|
+
"promptPrice": 0.0002,
|
|
1068
|
+
"completionPrice": 0.0002
|
|
1069
|
+
},
|
|
1070
|
+
"granite:3b": {
|
|
1071
|
+
"promptPrice": 0.0002,
|
|
1072
|
+
"completionPrice": 0.0002
|
|
1073
|
+
},
|
|
1074
|
+
"granite:8b": {
|
|
1075
|
+
"promptPrice": 0.0002,
|
|
1076
|
+
"completionPrice": 0.0002
|
|
1077
|
+
},
|
|
1078
|
+
"mistral-large-24-11": {
|
|
1079
|
+
"promptPrice": 0.008,
|
|
1080
|
+
"completionPrice": 0.024
|
|
1081
|
+
},
|
|
1082
|
+
"mistral-large-2411": {
|
|
1083
|
+
"promptPrice": 0.008,
|
|
1084
|
+
"completionPrice": 0.024
|
|
1085
|
+
},
|
|
1086
|
+
"mistral-small-3-1": {
|
|
1087
|
+
"promptPrice": 0.001,
|
|
1088
|
+
"completionPrice": 0.003
|
|
1089
|
+
},
|
|
1090
|
+
"mistral-small-3.1": {
|
|
1091
|
+
"promptPrice": 0.001,
|
|
1092
|
+
"completionPrice": 0.003
|
|
1093
|
+
},
|
|
1094
|
+
"mistral-medium-3": {
|
|
1095
|
+
"promptPrice": 0.0004,
|
|
1096
|
+
"completionPrice": 0.002
|
|
1097
|
+
},
|
|
1098
|
+
"mistral-medium-2025": {
|
|
1099
|
+
"promptPrice": 0.0004,
|
|
1100
|
+
"completionPrice": 0.002
|
|
1101
|
+
},
|
|
1102
|
+
"magistral-small": {
|
|
1103
|
+
"promptPrice": 0.001,
|
|
1104
|
+
"completionPrice": 0.003
|
|
1105
|
+
},
|
|
1106
|
+
"magistral-medium": {
|
|
1107
|
+
"promptPrice": 0.003,
|
|
1108
|
+
"completionPrice": 0.009
|
|
1109
|
+
},
|
|
1110
|
+
"codestral-25-01": {
|
|
1111
|
+
"promptPrice": 0.001,
|
|
1112
|
+
"completionPrice": 0.003
|
|
1113
|
+
},
|
|
1114
|
+
"codestral-2501": {
|
|
1115
|
+
"promptPrice": 0.001,
|
|
1116
|
+
"completionPrice": 0.003
|
|
1117
|
+
},
|
|
1118
|
+
"lfm-7b": {
|
|
1119
|
+
"promptPrice": 0.0003,
|
|
1120
|
+
"completionPrice": 0.0006
|
|
1121
|
+
},
|
|
1122
|
+
"liquid/lfm-7b": {
|
|
1123
|
+
"promptPrice": 0.0003,
|
|
1124
|
+
"completionPrice": 0.0006
|
|
1125
|
+
},
|
|
1126
|
+
"snowflake-arctic": {
|
|
1127
|
+
"promptPrice": 0.0008,
|
|
1128
|
+
"completionPrice": 0.0024
|
|
1129
|
+
},
|
|
1130
|
+
"snowflake-arctic-instruct": {
|
|
1131
|
+
"promptPrice": 0.0008,
|
|
1132
|
+
"completionPrice": 0.0024
|
|
1133
|
+
},
|
|
1134
|
+
"snowflake/snowflake-arctic-instruct": {
|
|
1135
|
+
"promptPrice": 0.0008,
|
|
1136
|
+
"completionPrice": 0.0024
|
|
1137
|
+
},
|
|
1138
|
+
"snowflake-arctic-embed-l-v2.0": {
|
|
1139
|
+
"promptPrice": 0.00005,
|
|
1140
|
+
"completionPrice": 0.00005
|
|
1141
|
+
},
|
|
1142
|
+
"nvidia-nemotron-4-340b-instruct": {
|
|
1143
|
+
"promptPrice": 0.003,
|
|
1144
|
+
"completionPrice": 0.009
|
|
1145
|
+
},
|
|
1146
|
+
"nvidia/nemotron-4-340b-instruct": {
|
|
1147
|
+
"promptPrice": 0.003,
|
|
1148
|
+
"completionPrice": 0.009
|
|
1149
|
+
},
|
|
1150
|
+
"nvidia-nemotron-mini": {
|
|
1151
|
+
"promptPrice": 0.0002,
|
|
1152
|
+
"completionPrice": 0.0004
|
|
1153
|
+
},
|
|
1154
|
+
"nvidia/llama-3.1-nemotron-70b-instruct": {
|
|
1155
|
+
"promptPrice": 0.0008,
|
|
1156
|
+
"completionPrice": 0.0008
|
|
1157
|
+
},
|
|
1158
|
+
"servicenow-now-assist": {
|
|
1159
|
+
"promptPrice": 0.001,
|
|
1160
|
+
"completionPrice": 0.003
|
|
863
1161
|
},
|
|
864
1162
|
"llama3.1:405b": {
|
|
865
1163
|
"promptPrice": 0.0012,
|
{genai_otel_instrument-0.1.9.dev0.dist-info → genai_otel_instrument-0.1.12.dev0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: genai-otel-instrument
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.12.dev0
|
|
4
4
|
Summary: Comprehensive OpenTelemetry auto-instrumentation for LLM/GenAI applications
|
|
5
5
|
Author-email: Kshitij Thakkar <kshitijthakkar@rocketmail.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -180,6 +180,12 @@ Dynamic: license-file
|
|
|
180
180
|
|
|
181
181
|
# GenAI OpenTelemetry Auto-Instrumentation
|
|
182
182
|
|
|
183
|
+
<div align="center">
|
|
184
|
+
<img src=".github/images/Logo.jpg" alt="GenAI OpenTelemetry Instrumentation Logo" width="400"/>
|
|
185
|
+
</div>
|
|
186
|
+
|
|
187
|
+
<br/>
|
|
188
|
+
|
|
183
189
|
[](https://badge.fury.io/py/genai-otel-instrument)
|
|
184
190
|
[](https://pypi.org/project/genai-otel-instrument/)
|
|
185
191
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
@@ -200,6 +206,14 @@ Dynamic: license-file
|
|
|
200
206
|
[](https://opentelemetry.io/docs/specs/semconv/gen-ai/)
|
|
201
207
|
[](https://github.com/Mandark-droid/genai_otel_instrument/actions)
|
|
202
208
|
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
<div align="center">
|
|
212
|
+
<img src=".github/images/Landing_Page.jpg" alt="GenAI OpenTelemetry Instrumentation Overview" width="800"/>
|
|
213
|
+
</div>
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
203
217
|
Production-ready OpenTelemetry instrumentation for GenAI/LLM applications with zero-code setup.
|
|
204
218
|
|
|
205
219
|
## Features
|
|
@@ -289,6 +303,65 @@ The processor supports OpenInference semantic conventions:
|
|
|
289
303
|
pip install genai-otel-instrument[openinference]
|
|
290
304
|
```
|
|
291
305
|
|
|
306
|
+
## Screenshots
|
|
307
|
+
|
|
308
|
+
See the instrumentation in action across different LLM providers and observability backends.
|
|
309
|
+
|
|
310
|
+
### OpenAI Instrumentation
|
|
311
|
+
Full trace capture for OpenAI API calls with token usage, costs, and latency metrics.
|
|
312
|
+
|
|
313
|
+
<div align="center">
|
|
314
|
+
<img src=".github/images/Screenshots/Traces_OpenAI.png" alt="OpenAI Traces" width="900"/>
|
|
315
|
+
</div>
|
|
316
|
+
|
|
317
|
+
### Ollama (Local LLM) Instrumentation
|
|
318
|
+
Zero-code instrumentation for local models running on Ollama with comprehensive observability.
|
|
319
|
+
|
|
320
|
+
<div align="center">
|
|
321
|
+
<img src=".github/images/Screenshots/Traces_Ollama.png" alt="Ollama Traces" width="900"/>
|
|
322
|
+
</div>
|
|
323
|
+
|
|
324
|
+
### HuggingFace Transformers
|
|
325
|
+
Direct instrumentation of HuggingFace Transformers with automatic token counting and cost estimation.
|
|
326
|
+
|
|
327
|
+
<div align="center">
|
|
328
|
+
<img src=".github/images/Screenshots/Trace_HuggingFace_Transformer_Models.png" alt="HuggingFace Transformer Traces" width="900"/>
|
|
329
|
+
</div>
|
|
330
|
+
|
|
331
|
+
### SmolAgents Framework
|
|
332
|
+
Complete agent workflow tracing with tool calls, iterations, and cost breakdown.
|
|
333
|
+
|
|
334
|
+
<div align="center">
|
|
335
|
+
<img src=".github/images/Screenshots/Traces_SmolAgent_with_tool_calls.png" alt="SmolAgent Traces with Tool Calls" width="900"/>
|
|
336
|
+
</div>
|
|
337
|
+
|
|
338
|
+
### GPU Metrics Collection
|
|
339
|
+
Real-time GPU utilization, memory, temperature, and power consumption metrics.
|
|
340
|
+
|
|
341
|
+
<div align="center">
|
|
342
|
+
<img src=".github/images/Screenshots/GPU_Metrics.png" alt="GPU Metrics Dashboard" width="900"/>
|
|
343
|
+
</div>
|
|
344
|
+
|
|
345
|
+
### Additional Screenshots
|
|
346
|
+
|
|
347
|
+
- **[Token Cost Breakdown](.github/images/Screenshots/Traces_SmolAgent_Token_Cost_breakdown.png)** - Detailed token usage and cost analysis for SmolAgent workflows
|
|
348
|
+
- **[OpenSearch Dashboard](.github/images/Screenshots/GENAI_OpenSearch_output.png)** - GenAI metrics visualization in OpenSearch/Kibana
|
|
349
|
+
|
|
350
|
+
---
|
|
351
|
+
|
|
352
|
+
## Demo Video
|
|
353
|
+
|
|
354
|
+
Watch a comprehensive walkthrough of GenAI OpenTelemetry Auto-Instrumentation in action, demonstrating setup, configuration, and real-time observability across multiple LLM providers.
|
|
355
|
+
|
|
356
|
+
<div align="center">
|
|
357
|
+
|
|
358
|
+
**🎥 [Watch Demo Video](https://youtu.be/YOUR_VIDEO_ID_HERE)**
|
|
359
|
+
*(Coming Soon)*
|
|
360
|
+
|
|
361
|
+
</div>
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
292
365
|
## Cost Tracking Coverage
|
|
293
366
|
|
|
294
367
|
The library includes comprehensive cost tracking with pricing data for **145+ models** across **11 providers**:
|
|
@@ -840,38 +913,6 @@ genai_otel.instrument(
|
|
|
840
913
|
- `gen_ai.eval.bias_categories` - Detected bias types (array)
|
|
841
914
|
- `gen_ai.eval.toxicity_categories` - Toxicity categories (array)
|
|
842
915
|
|
|
843
|
-
#### 📊 Enhanced OpenTelemetry Compliance
|
|
844
|
-
|
|
845
|
-
Completing remaining items from [OTEL_SEMANTIC_GAP_ANALYSIS_AND_IMPLEMENTATION_PLAN.md](OTEL_SEMANTIC_GAP_ANALYSIS_AND_IMPLEMENTATION_PLAN.md):
|
|
846
|
-
|
|
847
|
-
**Phase 4: Optional Enhancements (✅ COMPLETED)**
|
|
848
|
-
|
|
849
|
-
All Phase 4 features are now available! See the [Advanced Features](#advanced-features) section for detailed documentation.
|
|
850
|
-
|
|
851
|
-
- ✅ **Session & User Tracking** - Track sessions and users across requests with custom extractor functions
|
|
852
|
-
- Configurable via `session_id_extractor` and `user_id_extractor` in `OTelConfig`
|
|
853
|
-
- Automatically adds `session.id` and `user.id` span attributes
|
|
854
|
-
- See [Session and User Tracking](#session-and-user-tracking) for usage examples
|
|
855
|
-
|
|
856
|
-
- ✅ **RAG/Embedding Attributes** - Enhanced observability for retrieval-augmented generation
|
|
857
|
-
- Helper methods: `add_embedding_attributes()` and `add_retrieval_attributes()`
|
|
858
|
-
- Embedding attributes: `embedding.model_name`, `embedding.text`, `embedding.vector.dimension`
|
|
859
|
-
- Retrieval attributes: `retrieval.query`, `retrieval.document_count`, `retrieval.documents.{i}.document.*`
|
|
860
|
-
- See [RAG and Embedding Attributes](#rag-and-embedding-attributes) for usage examples
|
|
861
|
-
- Complete example: `examples/phase4_session_rag_tracking.py`
|
|
862
|
-
|
|
863
|
-
**Note on Agent Workflow Tracking:**
|
|
864
|
-
|
|
865
|
-
Agent workflow observability is already provided by the OpenInference Smolagents instrumentor (included when `smolagents` is in `enabled_instrumentors`). This is not a new Phase 4 feature, but an existing capability:
|
|
866
|
-
|
|
867
|
-
- `openinference.span.kind: "AGENT"` - Identifies agent spans
|
|
868
|
-
- `agent.name` - Agent identifier (via OpenInference)
|
|
869
|
-
- `agent.iteration` - Current iteration number (via OpenInference)
|
|
870
|
-
- `agent.action` - Action taken (via OpenInference)
|
|
871
|
-
- `agent.observation` - Observation received (via OpenInference)
|
|
872
|
-
|
|
873
|
-
Agent tracking requires Python >= 3.10 and the `smolagents` library. See [OpenInference Integration](#openinference-optional---python-310-only) for details.
|
|
874
|
-
|
|
875
916
|
#### 🔄 Migration Support
|
|
876
917
|
|
|
877
918
|
**Backward Compatibility:**
|
{genai_otel_instrument-0.1.9.dev0.dist-info → genai_otel_instrument-0.1.12.dev0.dist-info}/RECORD
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
genai_otel/__init__.py,sha256=OWgm1dihRkwBQU8fUPnVhE5XCZeF5f15UyH4w6LqGZU,4469
|
|
2
|
-
genai_otel/__version__.py,sha256
|
|
2
|
+
genai_otel/__version__.py,sha256=s9CfAxE_NmODe_aSfNZVBwpXbx84cxpixLWxgvgpH7U,753
|
|
3
3
|
genai_otel/auto_instrument.py,sha256=uHJGTlSI4UO-sdFtWgxSmNkhd1_GTWvr3S-rY8MQ4E4,16513
|
|
4
4
|
genai_otel/cli.py,sha256=mbhaTU0WIAkvPKdIing-guIxPDjEKQftChWQUtPFzkY,3170
|
|
5
5
|
genai_otel/config.py,sha256=2CIbZH8WKkVzr73y9AOWmscvEW-kUwMLSAyOy9BFqGI,7871
|
|
@@ -8,7 +8,7 @@ genai_otel/cost_enriching_exporter.py,sha256=iED7njK21UBKlxRElGfqSs66gMkzDCr8fm-
|
|
|
8
8
|
genai_otel/cost_enrichment_processor.py,sha256=fQoVosBUgshD9ZRxWpwqqPWYnyhrvKBTJAW0S2H7t1E,7090
|
|
9
9
|
genai_otel/exceptions.py,sha256=gIRvbI7c4V-M-PG9jS0o4ESRwHUWCm6DVihjfyJI1yg,429
|
|
10
10
|
genai_otel/gpu_metrics.py,sha256=hBawkm-NErviwiLzb7z92INstFHec2pREn945rYgrT4,13408
|
|
11
|
-
genai_otel/llm_pricing.json,sha256=
|
|
11
|
+
genai_otel/llm_pricing.json,sha256=f3WNQwiby6rLOQaPX_jJharftHgclNQM3bzibnDiiEQ,27879
|
|
12
12
|
genai_otel/logging_config.py,sha256=S8apGf93nBjoi_Bhce-LxwTwGTaJUeduPXKiWZ5SIa8,1418
|
|
13
13
|
genai_otel/metrics.py,sha256=Vngwtc1MAMAE7JVpbT_KfiCQ5TdIAKIs_0oztjJdDTg,2671
|
|
14
14
|
genai_otel/py.typed,sha256=WJtVGe64tcQSssSo4RD7zCf_3u7X2BmFCWDCroWOcaQ,88
|
|
@@ -38,9 +38,9 @@ genai_otel/mcp_instrumentors/kafka_instrumentor.py,sha256=QJYJC1rvo_zZAIaw-cp_Ic
|
|
|
38
38
|
genai_otel/mcp_instrumentors/manager.py,sha256=1Pj5lkEOL8Yq1Oeud4ZExN6k6NLIVtTzKnFLNiFdJvw,5895
|
|
39
39
|
genai_otel/mcp_instrumentors/redis_instrumentor.py,sha256=KUbs0dMyfMzU4T0SS8u43I5fvr09lcBBM92I3KCsYUw,943
|
|
40
40
|
genai_otel/mcp_instrumentors/vector_db_instrumentor.py,sha256=2vhnk4PGpfYKr-XlRbnCIOap4BPKHOn--fh-ai2YXlM,9994
|
|
41
|
-
genai_otel_instrument-0.1.
|
|
42
|
-
genai_otel_instrument-0.1.
|
|
43
|
-
genai_otel_instrument-0.1.
|
|
44
|
-
genai_otel_instrument-0.1.
|
|
45
|
-
genai_otel_instrument-0.1.
|
|
46
|
-
genai_otel_instrument-0.1.
|
|
41
|
+
genai_otel_instrument-0.1.12.dev0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
42
|
+
genai_otel_instrument-0.1.12.dev0.dist-info/METADATA,sha256=JJbPiLjWAJa-CvPppwcxwJ8ZNFLMIeBdZJuC5FvhsFo,40024
|
|
43
|
+
genai_otel_instrument-0.1.12.dev0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
44
|
+
genai_otel_instrument-0.1.12.dev0.dist-info/entry_points.txt,sha256=E9UqoHA_fq69yNGAY3SRYf5HH94sZT5DiDueiU1v0KM,57
|
|
45
|
+
genai_otel_instrument-0.1.12.dev0.dist-info/top_level.txt,sha256=cvCm8PUwvYUSQKruk-x6S-_YuDyhOBk8gD910XICcbg,11
|
|
46
|
+
genai_otel_instrument-0.1.12.dev0.dist-info/RECORD,,
|
{genai_otel_instrument-0.1.9.dev0.dist-info → genai_otel_instrument-0.1.12.dev0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|