Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.


## [0.1.82] - 2026-04-10

- Add relative_time_to_first_token attribute on LLM spans
- Create a common util function to centralize adding time duration attributes on a span
- Add time_to_first_token and relative_time_to_first_token for litellm instrumentation


## [0.1.81] - 2026-04-08

- Add a centralized span processor to manage root span handling


## [0.1.80] - 2026-04-06
## [0.1.80] - 2026-04-10

- Added input/output attributes across LLM, traceloop, and custom spans
- Added utility function to explicitly set input/output attributes on the active span
- Added utility function to explicitly set input/output attributes on the root span
- Move serialization logic to SessionManager
- Added custom instrumentation for httpx and request libraries
- Add a centralized span processor to manage root span handling
- Add relative_time_to_first_token attribute on LLM spans
- Create a common util function to centralize adding time duration attributes on a span
- Add time_to_first_token and relative_time_to_first_token for litellm instrumentation


## [0.1.79] - 2026-04-02
Expand Down Expand Up @@ -248,4 +241,4 @@ The format is based on Keep a Changelog and this project adheres to Semantic Ver

- Added utility to set input and output data for any active span in a trace

[0.1.82]: https://github.com/KeyValueSoftwareSystems/netra-sdk-py/tree/main
[0.1.80]: https://github.com/KeyValueSoftwareSystems/netra-sdk-py/tree/main
6 changes: 3 additions & 3 deletions netra/instrumentation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,9 @@ def init_httpx_instrumentation() -> bool:
"""
try:
if is_package_installed("httpx"):
from opentelemetry.instrumentation.httpx import HTTPXClientInstrumentor
from netra.instrumentation.httpx import HTTPXInstrumentor

instrumentor = HTTPXClientInstrumentor()
instrumentor = HTTPXInstrumentor()
if not instrumentor.is_instrumented_by_opentelemetry:
instrumentor.instrument()
return True
Expand Down Expand Up @@ -1111,7 +1111,7 @@ def init_requests_instrumentation() -> bool:
"""Initialize requests instrumentation."""
try:
if is_package_installed("requests"):
from opentelemetry.instrumentation.requests import RequestsInstrumentor
from netra.instrumentation.requests import RequestsInstrumentor

instrumentor = RequestsInstrumentor()
if not instrumentor.is_instrumented_by_opentelemetry:
Expand Down
Loading