openlit 1.34.23__py3-none-any.whl → 1.34.25__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.
- openlit/__helpers.py +48 -3
- openlit/instrumentation/chroma/__init__.py +38 -34
- openlit/instrumentation/chroma/chroma.py +37 -177
- openlit/instrumentation/chroma/utils.py +227 -0
- openlit/instrumentation/pinecone/__init__.py +128 -20
- openlit/instrumentation/pinecone/async_pinecone.py +58 -0
- openlit/instrumentation/pinecone/pinecone.py +36 -151
- openlit/instrumentation/pinecone/utils.py +186 -0
- openlit/semcov/__init__.py +13 -1
- {openlit-1.34.23.dist-info → openlit-1.34.25.dist-info}/METADATA +1 -1
- {openlit-1.34.23.dist-info → openlit-1.34.25.dist-info}/RECORD +13 -10
- {openlit-1.34.23.dist-info → openlit-1.34.25.dist-info}/LICENSE +0 -0
- {openlit-1.34.23.dist-info → openlit-1.34.25.dist-info}/WHEEL +0 -0
openlit/semcov/__init__.py
CHANGED
@@ -23,6 +23,7 @@ class SemanticConvention:
|
|
23
23
|
|
24
24
|
# GenAI Metric Names (OTel Semconv)
|
25
25
|
GEN_AI_CLIENT_TOKEN_USAGE = "gen_ai.client.token.usage"
|
26
|
+
DB_CLIENT_TOKEN_USAGE = "db.client.token.usage"
|
26
27
|
GEN_AI_CLIENT_OPERATION_DURATION = "gen_ai.client.operation.duration"
|
27
28
|
GEN_AI_SERVER_REQUEST_DURATION = "gen_ai.server.request.duration"
|
28
29
|
GEN_AI_SERVER_TBT = "gen_ai.server.time_per_output_token"
|
@@ -56,9 +57,12 @@ class SemanticConvention:
|
|
56
57
|
GEN_AI_RESPONSE_FINISH_REASON = "gen_ai.response.finish_reasons"
|
57
58
|
GEN_AI_RESPONSE_ID = "gen_ai.response.id"
|
58
59
|
GEN_AI_RESPONSE_MODEL = "gen_ai.response.model"
|
60
|
+
|
59
61
|
GEN_AI_USAGE_INPUT_TOKENS = "gen_ai.usage.input_tokens"
|
60
62
|
GEN_AI_USAGE_OUTPUT_TOKENS = "gen_ai.usage.output_tokens"
|
61
63
|
GEN_AI_USAGE_REASONING_TOKENS = "gen_ai.usage.reasoning_tokens"
|
64
|
+
GEN_AI_USAGE_READ_UNITS = "gen_ai.usage.read_units"
|
65
|
+
GEN_AI_USAGE_RERANK_UNITS = "gen_ai.usage.rerank_units"
|
62
66
|
GEN_AI_TOOL_CALL_ID = "gen_ai.tool.call.id"
|
63
67
|
GEN_AI_TOOL_NAME = "gen_ai.tool.name"
|
64
68
|
GEN_AI_TOOL_ARGS = "gen_ai.tool.args"
|
@@ -190,6 +194,7 @@ class SemanticConvention:
|
|
190
194
|
DB_NAMESPACE = "db.namespace"
|
191
195
|
DB_OPERATION_NAME = "db.operation.name"
|
192
196
|
DB_QUERY_TEXT = "db.query.text"
|
197
|
+
DB_QUERY_SUMMARY = "db.query.summary"
|
193
198
|
DB_RESPONSE_RETURNED_ROWS = "db.response.returned_rows"
|
194
199
|
|
195
200
|
|
@@ -208,6 +213,8 @@ class SemanticConvention:
|
|
208
213
|
DB_OPERATION_INSERT = "INSERT"
|
209
214
|
DB_OPERATION_SELECT = "SELECT"
|
210
215
|
DB_OPERATION_QUERY = "QUERY"
|
216
|
+
DB_OPERATION_SEARCH = "SEARCH"
|
217
|
+
DB_OPERATION_FETCH = "FETCH"
|
211
218
|
DB_OPERATION_REPLACE = "findAndModify"
|
212
219
|
DB_OPERATION_FIND_AND_DELETE = "findAndDelete"
|
213
220
|
DB_OPERATION_DELETE = "DELETE"
|
@@ -217,7 +224,7 @@ class SemanticConvention:
|
|
217
224
|
DB_OPERATION_ADD = "ADD"
|
218
225
|
DB_OPERATION_PEEK = "peePEEKk"
|
219
226
|
DB_ID_COUNT = "db.ids_count"
|
220
|
-
DB_VECTOR_COUNT = "db.
|
227
|
+
DB_VECTOR_COUNT = "db.vector.count"
|
221
228
|
DB_METADATA = "db.metadata"
|
222
229
|
DB_METADATA_COUNT = "db.metadatas_count"
|
223
230
|
DB_DOCUMENTS_COUNT = "db.documents_count"
|
@@ -230,15 +237,20 @@ class SemanticConvention:
|
|
230
237
|
DB_N_RESULTS = "db.n_results"
|
231
238
|
DB_DELETE_ALL = "db.delete_all"
|
232
239
|
DB_INDEX_NAME = "db.index.name"
|
240
|
+
DB_COLLECTION_DIMENSION = "db.collection.dimension"
|
233
241
|
DB_INDEX_DIMENSION = "db.index.dimension"
|
234
242
|
DB_COLLECTION_DIMENSION = "db.collection.dimension"
|
243
|
+
DB_SEARCH_SIMILARITY_METRIC = "db.search.similarity_metric"
|
235
244
|
DB_INDEX_METRIC = "db.create_index.metric"
|
245
|
+
DB_COLLECTION_SPEC = "db.collection.spec"
|
236
246
|
DB_INDEX_SPEC = "db.create_index.spec"
|
237
247
|
DB_NAMESPACE = "db.query.namespace"
|
238
248
|
DB_UPDATE_METADATA = "db.update.metadata"
|
239
249
|
DB_UPDATE_VALUES = "db.update.values"
|
240
250
|
DB_UPDATE_ID = "db.update.id"
|
241
251
|
DB_DELETE_ID = "db.delete.id"
|
252
|
+
DB_VECTOR_QUERY_TOP_K = "db.vector.query.top_k"
|
253
|
+
DB_VECTOR_QUERY_FILTER = "db.vector.query.filter"
|
242
254
|
|
243
255
|
DB_SYSTEM_CHROMA = "chroma"
|
244
256
|
DB_SYSTEM_PINECONE = "pinecone"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: openlit
|
3
|
-
Version: 1.34.
|
3
|
+
Version: 1.34.25
|
4
4
|
Summary: OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications and GPUs, facilitating the integration of observability into your GenAI-driven projects
|
5
5
|
License: Apache-2.0
|
6
6
|
Keywords: OpenTelemetry,otel,otlp,llm,tracing,openai,anthropic,claude,cohere,llm monitoring,observability,monitoring,gpt,Generative AI,chatGPT,gpu
|
@@ -1,4 +1,4 @@
|
|
1
|
-
openlit/__helpers.py,sha256=
|
1
|
+
openlit/__helpers.py,sha256=kfbLD_rtiOGhd79MuaRK6jjEvbrN8fhZ8b0DACEKkw4,18518
|
2
2
|
openlit/__init__.py,sha256=tYsR2OkDOq7Zf3wBOd3kFfosqUKgZxljMm6mZagMUiI,24296
|
3
3
|
openlit/evals/__init__.py,sha256=nJe99nuLo1b5rf7pt9U9BCdSDedzbVi2Fj96cgl7msM,380
|
4
4
|
openlit/evals/all.py,sha256=oWrue3PotE-rB5WePG3MRYSA-ro6WivkclSHjYlAqGs,7154
|
@@ -38,8 +38,9 @@ openlit/instrumentation/azure_ai_inference/utils.py,sha256=JqKZgb6VppDbAQ2RdH_dQ
|
|
38
38
|
openlit/instrumentation/bedrock/__init__.py,sha256=D4Wyjb9kJASUQMy5hI41Mvp_csP4k4F6tASdQjt8IZ0,1681
|
39
39
|
openlit/instrumentation/bedrock/bedrock.py,sha256=_2oTa9cf-OxHTFCmNUWT__vHnv7-wUcxm9-6nC1K3jg,8036
|
40
40
|
openlit/instrumentation/bedrock/utils.py,sha256=7qn8pI-BQcW8ZLxYJb_W3Yzncqbz4QBCR9f2u9N7C4Y,9345
|
41
|
-
openlit/instrumentation/chroma/__init__.py,sha256=
|
42
|
-
openlit/instrumentation/chroma/chroma.py,sha256=
|
41
|
+
openlit/instrumentation/chroma/__init__.py,sha256=eSuPdZiuqtThdkSjJ0TdEz3kS0OEIoRN2g9rggSgWgE,3258
|
42
|
+
openlit/instrumentation/chroma/chroma.py,sha256=vhPF9yQS1Jz_tEGsXP6rNHlqlsLH1B6ggQwU3FXWcvc,2031
|
43
|
+
openlit/instrumentation/chroma/utils.py,sha256=y2SjfUcXpcVp9eggczl6wyDq847sGCIJ6dFkJzVJuPo,10799
|
43
44
|
openlit/instrumentation/cohere/__init__.py,sha256=FIJ_QokUZcN9UsVPWckRfHiLVJ5zj3jtcOjQmjQA5f0,2978
|
44
45
|
openlit/instrumentation/cohere/async_cohere.py,sha256=wgctJa-BcKEkVguLorR7mYRShv7GiioF1_zxevvzXTw,6990
|
45
46
|
openlit/instrumentation/cohere/cohere.py,sha256=7YAj6kwJ1MDLFY3WtbPRehZFIseDVIbvPQJZxG8Qc6A,6814
|
@@ -117,8 +118,10 @@ openlit/instrumentation/openai_agents/__init__.py,sha256=tRTSIrUtkXc_lfQnVanXmQL
|
|
117
118
|
openlit/instrumentation/openai_agents/openai_agents.py,sha256=kRWPgjofcOviMi3w7CsRvJO3SCjqPmuq-PM800vIM7g,2678
|
118
119
|
openlit/instrumentation/phidata/__init__.py,sha256=tqls5-UI6FzbjxYgq_qqAfALhWJm8dHn2NtgqiQA4f8,1557
|
119
120
|
openlit/instrumentation/phidata/phidata.py,sha256=ohrxs6i0Oik75P2BrjNGbK71tdZg94ZMmaXixrXwV5M,4834
|
120
|
-
openlit/instrumentation/pinecone/__init__.py,sha256=
|
121
|
-
openlit/instrumentation/pinecone/
|
121
|
+
openlit/instrumentation/pinecone/__init__.py,sha256=DaWkIeG_ukn_JkBfz11TgPjORUUE9vPPjt42dH_26Jk,7210
|
122
|
+
openlit/instrumentation/pinecone/async_pinecone.py,sha256=z8jmf69_vqsoFBqm7fUY0dPY2K7q_9oJptkKyE2fbu8,2072
|
123
|
+
openlit/instrumentation/pinecone/pinecone.py,sha256=zZenObgPU-LSvN3kbfRU9dwnaG1hUU7j2V6MTY4ahNM,2030
|
124
|
+
openlit/instrumentation/pinecone/utils.py,sha256=fvaQnxkyvXw8b18OqvzWHBrT_kxVivQamXL2rOjBrys,9090
|
122
125
|
openlit/instrumentation/premai/__init__.py,sha256=3YlqyV-eNA_4aVUHDVUQUvGJRW8iVVcRtREw91yhbyw,1728
|
123
126
|
openlit/instrumentation/premai/premai.py,sha256=rWRqfoIZUbTz-M7zgC2Z92gTVv9fCj1Z4iJcsG86YeI,6438
|
124
127
|
openlit/instrumentation/premai/utils.py,sha256=K7EKGRDDh1X3OznG4z8H506zzFOHN6MH3oqtxM5eUyM,11409
|
@@ -149,8 +152,8 @@ openlit/instrumentation/vllm/vllm.py,sha256=VzazF2f4LLwjZDO_G8lIN_d622oSJM0fIO9w
|
|
149
152
|
openlit/otel/events.py,sha256=VrMjTpvnLtYRBHCiFwJojTQqqNpRCxoD4yJYeQrtPsk,3560
|
150
153
|
openlit/otel/metrics.py,sha256=GM2PDloBGRhBTkHHkYaqmOwIAQkY124ZhW4sEqW1Fgk,7086
|
151
154
|
openlit/otel/tracing.py,sha256=tjV2bEbEDPUB1Z46gE-UsJsb04sRdFrfbhIDkxViZc0,3103
|
152
|
-
openlit/semcov/__init__.py,sha256=
|
153
|
-
openlit-1.34.
|
154
|
-
openlit-1.34.
|
155
|
-
openlit-1.34.
|
156
|
-
openlit-1.34.
|
155
|
+
openlit/semcov/__init__.py,sha256=9QRSBwOvUS6z7T0HZkE9XlTEnqp-76R_BXM2o4IaEA8,14070
|
156
|
+
openlit-1.34.25.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
157
|
+
openlit-1.34.25.dist-info/METADATA,sha256=R37O_LK3DDYHZybcaM4dTSBEB1sW1nuuK-XbTEyhgFE,23470
|
158
|
+
openlit-1.34.25.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
159
|
+
openlit-1.34.25.dist-info/RECORD,,
|
File without changes
|
File without changes
|