From bd9173d090d018d20e98af0661279922e54d9b85 Mon Sep 17 00:00:00 2001 From: Eugene Orlovsky Date: Mon, 2 Dec 2024 09:04:08 +0100 Subject: [PATCH] README.md updates --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 48145a8c..aa5613fa 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Import `lumigo_opentelemetry` at the beginning of your main file: import lumigo_opentelemetry ``` -##### Script instrumentation +#### Script instrumentation For simple Python scripts that are not built around Lumigo or OpenTelemetry-instrumented libraries, you can use the `@lumigo_wrapped` decorator for activation. This approach is especially useful for standalone scripts, cron jobs, or similar use cases. @@ -246,8 +246,6 @@ When applied, the decorator creates an OpenTelemetry span for the decorated func - `input_kwargs`: The keyword arguments passed to the function. - `return_value`: The value returned by the function. -This approach is particularly useful for standalone Python scripts or cron jobs where use of the [OpenTelemetry SDK](https://opentelemetry.io/docs/languages/python/) is not feasible. - Here's a simple example using the `@lumigo_wrapped` decorator: ```python