openlit 1.14.1__py3-none-any.whl → 1.14.2__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/instrumentation/bedrock/bedrock.py +2 -2
- openlit/instrumentation/langchain/__init__.py +14 -2
- openlit/instrumentation/langchain/langchain.py +169 -0
- openlit/instrumentation/openai/async_azure_openai.py +3 -3
- openlit/instrumentation/openai/async_openai.py +5 -5
- openlit/instrumentation/openai/azure_openai.py +3 -3
- openlit/instrumentation/openai/openai.py +5 -5
- openlit/instrumentation/transformers/__init__.py +1 -1
- openlit/instrumentation/transformers/transformers.py +3 -3
- openlit/semcov/__init__.py +4 -3
- {openlit-1.14.1.dist-info → openlit-1.14.2.dist-info}/METADATA +3 -3
- {openlit-1.14.1.dist-info → openlit-1.14.2.dist-info}/RECORD +14 -14
- {openlit-1.14.1.dist-info → openlit-1.14.2.dist-info}/LICENSE +0 -0
- {openlit-1.14.1.dist-info → openlit-1.14.2.dist-info}/WHEEL +0 -0
@@ -88,9 +88,9 @@ def chat(gen_ai_endpoint, version, environment, application_name, tracer,
|
|
88
88
|
quality = request_body.get("imageGenerationConfig", {}).get("quality", "standard")
|
89
89
|
n = request_body.get("imageGenerationConfig", {}).get("numberOfImages", 1)
|
90
90
|
|
91
|
-
span.set_attribute(SemanticConvetion.
|
91
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_SIZE,
|
92
92
|
size)
|
93
|
-
span.set_attribute(SemanticConvetion.
|
93
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_QUALITY,
|
94
94
|
quality)
|
95
95
|
# Calculate cost of the operation
|
96
96
|
cost = n * get_image_model_cost(model,
|
@@ -5,9 +5,9 @@ import importlib.metadata
|
|
5
5
|
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
|
6
6
|
from wrapt import wrap_function_wrapper
|
7
7
|
|
8
|
-
from openlit.instrumentation.langchain.langchain import general_wrap, hub
|
8
|
+
from openlit.instrumentation.langchain.langchain import general_wrap, hub, llm, allm
|
9
9
|
|
10
|
-
_instruments = ("langchain >= 0.1.
|
10
|
+
_instruments = ("langchain >= 0.1.20",)
|
11
11
|
|
12
12
|
WRAPPED_METHODS = [
|
13
13
|
{
|
@@ -40,6 +40,18 @@ WRAPPED_METHODS = [
|
|
40
40
|
"endpoint": "langchain.retrieve.prompt",
|
41
41
|
"wrapper": hub,
|
42
42
|
},
|
43
|
+
{
|
44
|
+
"package": "langchain_core.language_models.llms",
|
45
|
+
"object": "BaseLLM.invoke",
|
46
|
+
"endpoint": "langchain.llm",
|
47
|
+
"wrapper": llm,
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"package": "langchain_core.language_models.llms",
|
51
|
+
"object": "BaseLLM.ainvoke",
|
52
|
+
"endpoint": "langchain.llm",
|
53
|
+
"wrapper": allm,
|
54
|
+
},
|
43
55
|
]
|
44
56
|
|
45
57
|
class LangChainInstrumentor(BaseInstrumentor):
|
@@ -159,3 +159,172 @@ def hub(gen_ai_endpoint, version, environment, application_name, tracer,
|
|
159
159
|
return response
|
160
160
|
|
161
161
|
return wrapper
|
162
|
+
|
163
|
+
|
164
|
+
def allm(gen_ai_endpoint, version, environment, application_name,
|
165
|
+
tracer, pricing_info, trace_content):
|
166
|
+
"""
|
167
|
+
Creates a wrapper around a function call to trace and log its execution metrics.
|
168
|
+
|
169
|
+
This function wraps any given function to measure its execution time,
|
170
|
+
log its operation, and trace its execution using OpenTelemetry.
|
171
|
+
|
172
|
+
Parameters:
|
173
|
+
- gen_ai_endpoint (str): A descriptor or name for the endpoint being traced.
|
174
|
+
- version (str): The version of the Langchain application.
|
175
|
+
- environment (str): The deployment environment (e.g., 'production', 'development').
|
176
|
+
- application_name (str): Name of the Langchain application.
|
177
|
+
- tracer (opentelemetry.trace.Tracer): The tracer object used for OpenTelemetry tracing.
|
178
|
+
- pricing_info (dict): Information about the pricing for internal metrics (currently not used).
|
179
|
+
- trace_content (bool): Flag indicating whether to trace the content of the response.
|
180
|
+
|
181
|
+
Returns:
|
182
|
+
- function: A higher-order function that takes a function 'wrapped' and returns
|
183
|
+
a new function that wraps 'wrapped' with additional tracing and logging.
|
184
|
+
"""
|
185
|
+
|
186
|
+
async def wrapper(wrapped, instance, args, kwargs):
|
187
|
+
"""
|
188
|
+
An inner wrapper function that executes the wrapped function, measures execution
|
189
|
+
time, and records trace data using OpenTelemetry.
|
190
|
+
|
191
|
+
Parameters:
|
192
|
+
- wrapped (Callable): The original function that this wrapper will execute.
|
193
|
+
- instance (object): The instance to which the wrapped function belongs. This
|
194
|
+
is used for instance methods. For static and classmethods,
|
195
|
+
this may be None.
|
196
|
+
- args (tuple): Positional arguments passed to the wrapped function.
|
197
|
+
- kwargs (dict): Keyword arguments passed to the wrapped function.
|
198
|
+
|
199
|
+
Returns:
|
200
|
+
- The result of the wrapped function call.
|
201
|
+
|
202
|
+
The wrapper initiates a span with the provided tracer, sets various attributes
|
203
|
+
on the span based on the function's execution and response, and ensures
|
204
|
+
errors are handled and logged appropriately.
|
205
|
+
"""
|
206
|
+
with tracer.start_as_current_span(gen_ai_endpoint, kind= SpanKind.CLIENT) as span:
|
207
|
+
response = await wrapped(*args, **kwargs)
|
208
|
+
|
209
|
+
try:
|
210
|
+
span.set_attribute(TELEMETRY_SDK_NAME, "openlit")
|
211
|
+
span.set_attribute(SemanticConvetion.GEN_AI_SYSTEM,
|
212
|
+
SemanticConvetion.GEN_AI_SYSTEM_LANGCHAIN)
|
213
|
+
span.set_attribute(SemanticConvetion.GEN_AI_ENDPOINT,
|
214
|
+
gen_ai_endpoint)
|
215
|
+
span.set_attribute(SemanticConvetion.GEN_AI_ENVIRONMENT,
|
216
|
+
environment)
|
217
|
+
span.set_attribute(SemanticConvetion.GEN_AI_TYPE,
|
218
|
+
SemanticConvetion.GEN_AI_TYPE_FRAMEWORK)
|
219
|
+
span.set_attribute(SemanticConvetion.GEN_AI_APPLICATION_NAME,
|
220
|
+
application_name)
|
221
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_MODEL,
|
222
|
+
str(getattr(instance, 'model')))
|
223
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_TEMPERATURE,
|
224
|
+
str(getattr(instance, 'temperature')))
|
225
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_TOP_K,
|
226
|
+
str(getattr(instance, 'top_k')))
|
227
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_TOP_P,
|
228
|
+
str(getattr(instance, 'top_p')))
|
229
|
+
if trace_content:
|
230
|
+
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_PROMPT,
|
231
|
+
args[0])
|
232
|
+
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_COMPLETION,
|
233
|
+
response)
|
234
|
+
span.set_status(Status(StatusCode.OK))
|
235
|
+
|
236
|
+
# Return original response
|
237
|
+
return response
|
238
|
+
|
239
|
+
except Exception as e:
|
240
|
+
handle_exception(span, e)
|
241
|
+
logger.error("Error in trace creation: %s", e)
|
242
|
+
|
243
|
+
# Return original response
|
244
|
+
return response
|
245
|
+
|
246
|
+
return wrapper
|
247
|
+
|
248
|
+
def llm(gen_ai_endpoint, version, environment, application_name,
|
249
|
+
tracer, pricing_info, trace_content):
|
250
|
+
"""
|
251
|
+
Creates a wrapper around a function call to trace and log its execution metrics.
|
252
|
+
|
253
|
+
This function wraps any given function to measure its execution time,
|
254
|
+
log its operation, and trace its execution using OpenTelemetry.
|
255
|
+
|
256
|
+
Parameters:
|
257
|
+
- gen_ai_endpoint (str): A descriptor or name for the endpoint being traced.
|
258
|
+
- version (str): The version of the Langchain application.
|
259
|
+
- environment (str): The deployment environment (e.g., 'production', 'development').
|
260
|
+
- application_name (str): Name of the Langchain application.
|
261
|
+
- tracer (opentelemetry.trace.Tracer): The tracer object used for OpenTelemetry tracing.
|
262
|
+
- pricing_info (dict): Information about the pricing for internal metrics (currently not used).
|
263
|
+
- trace_content (bool): Flag indicating whether to trace the content of the response.
|
264
|
+
|
265
|
+
Returns:
|
266
|
+
- function: A higher-order function that takes a function 'wrapped' and returns
|
267
|
+
a new function that wraps 'wrapped' with additional tracing and logging.
|
268
|
+
"""
|
269
|
+
|
270
|
+
def wrapper(wrapped, instance, args, kwargs):
|
271
|
+
"""
|
272
|
+
An inner wrapper function that executes the wrapped function, measures execution
|
273
|
+
time, and records trace data using OpenTelemetry.
|
274
|
+
|
275
|
+
Parameters:
|
276
|
+
- wrapped (Callable): The original function that this wrapper will execute.
|
277
|
+
- instance (object): The instance to which the wrapped function belongs. This
|
278
|
+
is used for instance methods. For static and classmethods,
|
279
|
+
this may be None.
|
280
|
+
- args (tuple): Positional arguments passed to the wrapped function.
|
281
|
+
- kwargs (dict): Keyword arguments passed to the wrapped function.
|
282
|
+
|
283
|
+
Returns:
|
284
|
+
- The result of the wrapped function call.
|
285
|
+
|
286
|
+
The wrapper initiates a span with the provided tracer, sets various attributes
|
287
|
+
on the span based on the function's execution and response, and ensures
|
288
|
+
errors are handled and logged appropriately.
|
289
|
+
"""
|
290
|
+
with tracer.start_as_current_span(gen_ai_endpoint, kind= SpanKind.CLIENT) as span:
|
291
|
+
response = wrapped(*args, **kwargs)
|
292
|
+
|
293
|
+
try:
|
294
|
+
span.set_attribute(TELEMETRY_SDK_NAME, "openlit")
|
295
|
+
span.set_attribute(SemanticConvetion.GEN_AI_SYSTEM,
|
296
|
+
SemanticConvetion.GEN_AI_SYSTEM_LANGCHAIN)
|
297
|
+
span.set_attribute(SemanticConvetion.GEN_AI_ENDPOINT,
|
298
|
+
gen_ai_endpoint)
|
299
|
+
span.set_attribute(SemanticConvetion.GEN_AI_ENVIRONMENT,
|
300
|
+
environment)
|
301
|
+
span.set_attribute(SemanticConvetion.GEN_AI_TYPE,
|
302
|
+
SemanticConvetion.GEN_AI_TYPE_FRAMEWORK)
|
303
|
+
span.set_attribute(SemanticConvetion.GEN_AI_APPLICATION_NAME,
|
304
|
+
application_name)
|
305
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_MODEL,
|
306
|
+
str(getattr(instance, 'model')))
|
307
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_TEMPERATURE,
|
308
|
+
str(getattr(instance, 'temperature')))
|
309
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_TOP_K,
|
310
|
+
str(getattr(instance, 'top_k')))
|
311
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_TOP_P,
|
312
|
+
str(getattr(instance, 'top_p')))
|
313
|
+
if trace_content:
|
314
|
+
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_PROMPT,
|
315
|
+
args[0])
|
316
|
+
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_COMPLETION,
|
317
|
+
response)
|
318
|
+
span.set_status(Status(StatusCode.OK))
|
319
|
+
|
320
|
+
# Return original response
|
321
|
+
return response
|
322
|
+
|
323
|
+
except Exception as e:
|
324
|
+
handle_exception(span, e)
|
325
|
+
logger.error("Error in trace creation: %s", e)
|
326
|
+
|
327
|
+
# Return original response
|
328
|
+
return response
|
329
|
+
|
330
|
+
return wrapper
|
@@ -785,11 +785,11 @@ def azure_async_image_generate(gen_ai_endpoint, version, environment, applicatio
|
|
785
785
|
application_name)
|
786
786
|
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_MODEL,
|
787
787
|
"azure_" + kwargs.get("model", "dall-e-3"))
|
788
|
-
span.set_attribute(SemanticConvetion.
|
788
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_SIZE,
|
789
789
|
kwargs.get("size", "1024x1024"))
|
790
|
-
span.set_attribute(SemanticConvetion.
|
790
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_QUALITY,
|
791
791
|
kwargs.get("quality", "standard"))
|
792
|
-
span.set_attribute(SemanticConvetion.
|
792
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_STYLE,
|
793
793
|
kwargs.get("style", "vivid"))
|
794
794
|
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_REVISED_PROMPT,
|
795
795
|
items.revised_prompt if response.revised_prompt else "")
|
@@ -600,11 +600,11 @@ def async_image_generate(gen_ai_endpoint, version, environment, application_name
|
|
600
600
|
application_name)
|
601
601
|
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_MODEL,
|
602
602
|
kwargs.get("model", "dall-e-2"))
|
603
|
-
span.set_attribute(SemanticConvetion.
|
603
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_SIZE,
|
604
604
|
kwargs.get("size", "1024x1024"))
|
605
|
-
span.set_attribute(SemanticConvetion.
|
605
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_QUALITY,
|
606
606
|
kwargs.get("quality", "standard"))
|
607
|
-
span.set_attribute(SemanticConvetion.
|
607
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_STYLE,
|
608
608
|
kwargs.get("style", "vivid"))
|
609
609
|
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_REVISED_PROMPT,
|
610
610
|
items.revised_prompt if items.revised_prompt else "")
|
@@ -724,9 +724,9 @@ def async_image_variatons(gen_ai_endpoint, version, environment, application_nam
|
|
724
724
|
kwargs.get("model", "dall-e-2"))
|
725
725
|
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_USER,
|
726
726
|
kwargs.get("user", ""))
|
727
|
-
span.set_attribute(SemanticConvetion.
|
727
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_SIZE,
|
728
728
|
kwargs.get("size", "1024x1024"))
|
729
|
-
span.set_attribute(SemanticConvetion.
|
729
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_QUALITY,
|
730
730
|
"standard")
|
731
731
|
if trace_content:
|
732
732
|
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_PROMPT,
|
@@ -784,11 +784,11 @@ def azure_image_generate(gen_ai_endpoint, version, environment, application_name
|
|
784
784
|
application_name)
|
785
785
|
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_MODEL,
|
786
786
|
"azure_" + kwargs.get("model", "dall-e-3"))
|
787
|
-
span.set_attribute(SemanticConvetion.
|
787
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_SIZE,
|
788
788
|
kwargs.get("size", "1024x1024"))
|
789
|
-
span.set_attribute(SemanticConvetion.
|
789
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_QUALITY,
|
790
790
|
kwargs.get("quality", "standard"))
|
791
|
-
span.set_attribute(SemanticConvetion.
|
791
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_STYLE,
|
792
792
|
kwargs.get("style", "vivid"))
|
793
793
|
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_REVISED_PROMPT,
|
794
794
|
items.revised_prompt if response.revised_prompt else "")
|
@@ -615,11 +615,11 @@ def image_generate(gen_ai_endpoint, version, environment, application_name,
|
|
615
615
|
application_name)
|
616
616
|
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_MODEL,
|
617
617
|
kwargs.get("model", "dall-e-2"))
|
618
|
-
span.set_attribute(SemanticConvetion.
|
618
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_SIZE,
|
619
619
|
kwargs.get("size", "1024x1024"))
|
620
|
-
span.set_attribute(SemanticConvetion.
|
620
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_QUALITY,
|
621
621
|
kwargs.get("quality", "standard"))
|
622
|
-
span.set_attribute(SemanticConvetion.
|
622
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_STYLE,
|
623
623
|
kwargs.get("style", "vivid"))
|
624
624
|
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_REVISED_PROMPT,
|
625
625
|
items.revised_prompt if items.revised_prompt else "")
|
@@ -739,9 +739,9 @@ def image_variatons(gen_ai_endpoint, version, environment, application_name,
|
|
739
739
|
kwargs.get("model", "dall-e-2"))
|
740
740
|
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_USER,
|
741
741
|
kwargs.get("user", ""))
|
742
|
-
span.set_attribute(SemanticConvetion.
|
742
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_SIZE,
|
743
743
|
kwargs.get("size", "1024x1024"))
|
744
|
-
span.set_attribute(SemanticConvetion.
|
744
|
+
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_IMAGE_QUALITY,
|
745
745
|
"standard")
|
746
746
|
if trace_content:
|
747
747
|
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_PROMPT,
|
@@ -26,7 +26,7 @@ class TransformersInstrumentor(BaseInstrumentor):
|
|
26
26
|
version = importlib.metadata.version("transformers")
|
27
27
|
|
28
28
|
wrap_function_wrapper(
|
29
|
-
"transformers
|
29
|
+
"transformers",
|
30
30
|
"TextGenerationPipeline.__call__",
|
31
31
|
text_wrap("huggingface.text_generation", version, environment, application_name,
|
32
32
|
tracer, pricing_info, trace_content, metrics, disable_metrics),
|
@@ -83,11 +83,11 @@ def text_wrap(gen_ai_endpoint, version, environment, application_name,
|
|
83
83
|
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_MODEL,
|
84
84
|
instance.model.config.name_or_path)
|
85
85
|
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_TEMPERATURE,
|
86
|
-
forward_params.get("temperature"))
|
86
|
+
forward_params.get("temperature", "null"))
|
87
87
|
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_TOP_P,
|
88
|
-
forward_params.get("top_p"))
|
88
|
+
forward_params.get("top_p", "null"))
|
89
89
|
span.set_attribute(SemanticConvetion.GEN_AI_REQUEST_MAX_TOKENS,
|
90
|
-
forward_params.get("max_length"))
|
90
|
+
forward_params.get("max_length", "null"))
|
91
91
|
span.set_attribute(SemanticConvetion.GEN_AI_CONTENT_PROMPT,
|
92
92
|
prompt)
|
93
93
|
if trace_content:
|
openlit/semcov/__init__.py
CHANGED
@@ -53,6 +53,10 @@ class SemanticConvetion:
|
|
53
53
|
GEN_AI_REQUEST_VALIDATION_FILE = "gen_ai.request.validation_file"
|
54
54
|
GEN_AI_REQUEST_TRAINING_FILE = "gen_ai.request.training_file"
|
55
55
|
|
56
|
+
GEN_AI_REQUEST_IMAGE_SIZE = "gen_ai.request.image_size"
|
57
|
+
GEN_AI_REQUEST_IMAGE_QUALITY = "gen_ai.request.image_quality"
|
58
|
+
GEN_AI_REQUEST_IMAGE_STYLE = "gen_ai.request.image_style"
|
59
|
+
|
56
60
|
# GenAI Usage
|
57
61
|
GEN_AI_USAGE_PROMPT_TOKENS = "gen_ai.usage.prompt_tokens"
|
58
62
|
GEN_AI_USAGE_COMPLETION_TOKENS = "gen_ai.usage.completion_tokens"
|
@@ -63,9 +67,6 @@ class SemanticConvetion:
|
|
63
67
|
GEN_AI_RESPONSE_ID = "gen_ai.response.id"
|
64
68
|
GEN_AI_RESPONSE_FINISH_REASON = "gen_ai.response.finish_reason"
|
65
69
|
GEN_AI_RESPONSE_IMAGE = "gen_ai.response.image" # Not used directly in code yet
|
66
|
-
GEN_AI_RESPONSE_IMAGE_SIZE = "gen_ai.request.image_size"
|
67
|
-
GEN_AI_RESPONSE_IMAGE_QUALITY = "gen_ai.request.image_quality"
|
68
|
-
GEN_AI_RESPONSE_IMAGE_STYLE = "gen_ai.request.image_style"
|
69
70
|
|
70
71
|
# GenAI Content
|
71
72
|
GEN_AI_CONTENT_PROMPT = "gen_ai.prompt"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: openlit
|
3
|
-
Version: 1.14.
|
3
|
+
Version: 1.14.2
|
4
4
|
Summary: OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications, facilitating the integration of observability into your GenAI-driven projects
|
5
5
|
Home-page: https://github.com/openlit/openlit/tree/main/openlit/python
|
6
6
|
Keywords: OpenTelemetry,otel,otlp,llm,tracing,openai,anthropic,claude,cohere,llm monitoring,observability,monitoring,gpt,Generative AI,chatGPT
|
@@ -38,7 +38,7 @@ OpenTelemetry Auto-Instrumentation for GenAI & LLM Applications</h1>
|
|
38
38
|
[](https://github.com/openlit/openlit/graphs/contributors)
|
39
39
|
|
40
40
|
[](https://join.slack.com/t/openlit/shared_invite/zt-2etnfttwg-TjP_7BZXfYg84oAukY8QRQ)
|
41
|
-
[](https://discord.gg/
|
41
|
+
[](https://discord.gg/CQnXwNT3)
|
42
42
|
[](https://twitter.com/openlit_io)
|
43
43
|
|
44
44
|

|
@@ -204,7 +204,7 @@ Your input helps us grow and improve, and we're here to support you every step o
|
|
204
204
|
Connect with the OpenLIT community and maintainers for support, discussions, and updates:
|
205
205
|
|
206
206
|
- 🌟 If you like it, Leave a star on our [GitHub](https://github.com/openlit/openlit/)
|
207
|
-
- 🌍 Join our [Slack](https://join.slack.com/t/openlit/shared_invite/zt-2etnfttwg-TjP_7BZXfYg84oAukY8QRQ) or [Discord](https://discord.gg/
|
207
|
+
- 🌍 Join our [Slack](https://join.slack.com/t/openlit/shared_invite/zt-2etnfttwg-TjP_7BZXfYg84oAukY8QRQ) or [Discord](https://discord.gg/CQnXwNT3) community for live interactions and questions.
|
208
208
|
- 🐞 Report bugs on our [GitHub Issues](https://github.com/openlit/openlit/issues) to help us improve OpenLIT.
|
209
209
|
- 𝕏 Follow us on [X](https://x.com/openlit_io) for the latest updates and news.
|
210
210
|
|
@@ -4,7 +4,7 @@ openlit/instrumentation/anthropic/__init__.py,sha256=oaU53BOPyfUKbEzYvLr1DPymDlu
|
|
4
4
|
openlit/instrumentation/anthropic/anthropic.py,sha256=CYBui5eEfWdSfFF0xtCQjh1xO-gCVJc_V9Hli0szVZE,16026
|
5
5
|
openlit/instrumentation/anthropic/async_anthropic.py,sha256=NW84kTQ3BkUx1zZuMRps_J7zTYkmq5BxOrqSjqWInBs,16068
|
6
6
|
openlit/instrumentation/bedrock/__init__.py,sha256=QPvDMQde6Meodu5JvosHdZsnyExS19lcoP5Li4YrOkw,1540
|
7
|
-
openlit/instrumentation/bedrock/bedrock.py,sha256=
|
7
|
+
openlit/instrumentation/bedrock/bedrock.py,sha256=SsN1SFWFn7P84Z6irH_8OLY2mOctWsBG82f-cnroOhU,22276
|
8
8
|
openlit/instrumentation/chroma/__init__.py,sha256=61lFpHlUEQUobsUJZHXdvOViKwsOH8AOvSfc4VgCmiM,3253
|
9
9
|
openlit/instrumentation/chroma/chroma.py,sha256=E80j_41UeZi8RzTsHbpvi1izOA_n-0-3_VdrA68AJPA,10531
|
10
10
|
openlit/instrumentation/cohere/__init__.py,sha256=PC5T1qIg9pwLNocBP_WjG5B_6p_z019s8quk_fNLAMs,1920
|
@@ -19,8 +19,8 @@ openlit/instrumentation/groq/async_groq.py,sha256=aOwgoUrEqIgLSlnAtJnaGIF8T_LUlp
|
|
19
19
|
openlit/instrumentation/groq/groq.py,sha256=iMh4TPwBEJ7Eg6Gi4x6KYpELtQKDXIsgLrh6kQHVkHc,19040
|
20
20
|
openlit/instrumentation/haystack/__init__.py,sha256=QK6XxxZUHX8vMv2Crk7rNBOc64iOOBLhJGL_lPlAZ8s,1758
|
21
21
|
openlit/instrumentation/haystack/haystack.py,sha256=oQIZiDhdp3gnJnhYQ1OouJMc9YT0pQ-_31cmNuopa68,3891
|
22
|
-
openlit/instrumentation/langchain/__init__.py,sha256=
|
23
|
-
openlit/instrumentation/langchain/langchain.py,sha256=
|
22
|
+
openlit/instrumentation/langchain/__init__.py,sha256=19C7YGSF-6u5VlvKkThNS4zZqvxw-fQfRsKufZ9onfk,2881
|
23
|
+
openlit/instrumentation/langchain/langchain.py,sha256=xGiRb3Z_fY1PU09hfSBFt6ipfYJIQrwFFm5HEDaawOY,16243
|
24
24
|
openlit/instrumentation/llamaindex/__init__.py,sha256=vPtK65G6b-TwJERowVRUVl7f_nBSlFdwPBtpg8dOGos,1977
|
25
25
|
openlit/instrumentation/llamaindex/llamaindex.py,sha256=uiIigbwhonSbJWA7LpgOVI1R4kxxPODS1K5wyHIQ4hM,4048
|
26
26
|
openlit/instrumentation/milvus/__init__.py,sha256=qi1yfmMrvkDtnrN_6toW8qC9BRL78bq7ayWpObJ8Bq4,2961
|
@@ -32,23 +32,23 @@ openlit/instrumentation/ollama/__init__.py,sha256=cOax8PiypDuo_FC4WvDCYBRo7lH5nV
|
|
32
32
|
openlit/instrumentation/ollama/async_ollama.py,sha256=ESk1zZTj2hPmkWIH5F2owuoo0apleDSSx5VORlO3e3w,28991
|
33
33
|
openlit/instrumentation/ollama/ollama.py,sha256=PLGF9RB3TRNZ9GSGqeGVvKFBtgUK8Hc8xwvk-3NPeGI,28901
|
34
34
|
openlit/instrumentation/openai/__init__.py,sha256=AZ2cPr3TMKkgGdMl_yXMeSi7bWhtmMqOW1iHdzHHGHA,16265
|
35
|
-
openlit/instrumentation/openai/async_azure_openai.py,sha256=
|
36
|
-
openlit/instrumentation/openai/async_openai.py,sha256=
|
37
|
-
openlit/instrumentation/openai/azure_openai.py,sha256=
|
38
|
-
openlit/instrumentation/openai/openai.py,sha256=
|
35
|
+
openlit/instrumentation/openai/async_azure_openai.py,sha256=e_Tw85tMhKR11jifWUK4PgqABUinfkH5Bs6eANc0xBE,46278
|
36
|
+
openlit/instrumentation/openai/async_openai.py,sha256=f7FJfs996Rk7qZEZvaZ1YeRTBrDwjZW94QKtx9vmIck,45828
|
37
|
+
openlit/instrumentation/openai/azure_openai.py,sha256=R4It9gRaoBav7JUKjarJBIywbr2j_BAF6MkvCr9EP64,46072
|
38
|
+
openlit/instrumentation/openai/openai.py,sha256=7Dq7EEQH5GjIExj2f_A_DSZYixh3PxxJ54UqSjPCP8c,46509
|
39
39
|
openlit/instrumentation/pinecone/__init__.py,sha256=Mv9bElqNs07_JQkYyNnO0wOM3hdbprmw7sttdMeKC7g,2526
|
40
40
|
openlit/instrumentation/pinecone/pinecone.py,sha256=0EhLmtOuvwWVvAKh3e56wyd8wzQq1oaLOmF15SVHxVE,8765
|
41
41
|
openlit/instrumentation/qdrant/__init__.py,sha256=OJIg17-IGmBEvBYVKjCHcJ0hFXuEL7XV_jzUTqkolN8,4799
|
42
42
|
openlit/instrumentation/qdrant/qdrant.py,sha256=4uHKYGvWQtRAEVLUWo3o4joJw7hFm2NxVuBu5YKZKiI,14456
|
43
|
-
openlit/instrumentation/transformers/__init__.py,sha256=
|
44
|
-
openlit/instrumentation/transformers/transformers.py,sha256=
|
43
|
+
openlit/instrumentation/transformers/__init__.py,sha256=4GBtjzcJU4XiPexIUYEqF3pNZMeQw4Gm5B-cyumaFjs,1468
|
44
|
+
openlit/instrumentation/transformers/transformers.py,sha256=C4lappTUaRZ818jK8PqFXcLd8uMqh0LbXRiXuJYzJPk,7608
|
45
45
|
openlit/instrumentation/vertexai/__init__.py,sha256=N3E9HtzefD-zC0fvmfGYiDmSqssoavp_i59wfuYLyMw,6079
|
46
46
|
openlit/instrumentation/vertexai/async_vertexai.py,sha256=PMHYyLf1J4gZpC_-KZ_ZVx1xIHhZDJSNa7mrjNXZ5M0,52372
|
47
47
|
openlit/instrumentation/vertexai/vertexai.py,sha256=UvpNKBHPoV9idVMfGigZnmWuEQiyqSwZn0zK9-U7Lzw,52125
|
48
48
|
openlit/otel/metrics.py,sha256=O7NoaDz0bY19mqpE4-0PcKwEe-B-iJFRgOCaanAuZAc,4291
|
49
49
|
openlit/otel/tracing.py,sha256=vL1ifMbARPBpqK--yXYsCM6y5dSu5LFIKqkhZXtYmUc,3712
|
50
|
-
openlit/semcov/__init__.py,sha256=
|
51
|
-
openlit-1.14.
|
52
|
-
openlit-1.14.
|
53
|
-
openlit-1.14.
|
54
|
-
openlit-1.14.
|
50
|
+
openlit/semcov/__init__.py,sha256=POx8gnqr4T24GD_dcwK2plTG9otorXYB_kMu7aohbRI,7233
|
51
|
+
openlit-1.14.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
52
|
+
openlit-1.14.2.dist-info/METADATA,sha256=9TzEj5jmiJ1N5kllFh0g_zRk9nwP2ERwyv-69jSuNPQ,13563
|
53
|
+
openlit-1.14.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
54
|
+
openlit-1.14.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|