nvidia-nat-phoenix 1.3.0a20250929__py3-none-any.whl → 1.4.0a20251123__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.
- nat/plugins/phoenix/mixin/phoenix_mixin.py +5 -3
- {nvidia_nat_phoenix-1.3.0a20250929.dist-info → nvidia_nat_phoenix-1.4.0a20251123.dist-info}/METADATA +12 -3
- nvidia_nat_phoenix-1.4.0a20251123.dist-info/RECORD +13 -0
- nvidia_nat_phoenix-1.4.0a20251123.dist-info/licenses/LICENSE-3rd-party.txt +5478 -0
- nvidia_nat_phoenix-1.4.0a20251123.dist-info/licenses/LICENSE.md +201 -0
- nvidia_nat_phoenix-1.3.0a20250929.dist-info/RECORD +0 -11
- {nvidia_nat_phoenix-1.3.0a20250929.dist-info → nvidia_nat_phoenix-1.4.0a20251123.dist-info}/WHEEL +0 -0
- {nvidia_nat_phoenix-1.3.0a20250929.dist-info → nvidia_nat_phoenix-1.4.0a20251123.dist-info}/entry_points.txt +0 -0
- {nvidia_nat_phoenix-1.3.0a20250929.dist-info → nvidia_nat_phoenix-1.4.0a20251123.dist-info}/top_level.txt +0 -0
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
|
|
16
16
|
import logging
|
|
17
17
|
|
|
18
|
+
from openinference.instrumentation import dangerously_using_project
|
|
19
|
+
|
|
18
20
|
from nat.plugins.opentelemetry.otel_span import OtelSpan
|
|
19
21
|
from phoenix.otel import HTTPSpanExporter
|
|
20
|
-
from phoenix.trace.projects import using_project
|
|
21
22
|
|
|
22
23
|
logger = logging.getLogger(__name__)
|
|
23
24
|
|
|
@@ -35,7 +36,8 @@ class PhoenixMixin:
|
|
|
35
36
|
|
|
36
37
|
This mixin is designed to be used with OtelSpanExporter as a base class:
|
|
37
38
|
|
|
38
|
-
Example
|
|
39
|
+
Example::
|
|
40
|
+
|
|
39
41
|
class MyPhoenixExporter(OtelSpanExporter, PhoenixMixin):
|
|
40
42
|
def __init__(self, endpoint, project, **kwargs):
|
|
41
43
|
super().__init__(endpoint=endpoint, project=project, **kwargs)
|
|
@@ -67,7 +69,7 @@ class PhoenixMixin:
|
|
|
67
69
|
Exception: If there's an error during span export (logged but not re-raised).
|
|
68
70
|
"""
|
|
69
71
|
try:
|
|
70
|
-
with
|
|
72
|
+
with dangerously_using_project(self._project):
|
|
71
73
|
self._exporter.export(spans) # type: ignore
|
|
72
74
|
except Exception as e:
|
|
73
75
|
logger.error("Error exporting spans: %s", e, exc_info=True)
|
{nvidia_nat_phoenix-1.3.0a20250929.dist-info → nvidia_nat_phoenix-1.4.0a20251123.dist-info}/METADATA
RENAMED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nvidia-nat-phoenix
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0a20251123
|
|
4
4
|
Summary: Subpackage for Arize Phoenix integration in NeMo Agent toolkit
|
|
5
|
+
Author: NVIDIA Corporation
|
|
6
|
+
Maintainer: NVIDIA Corporation
|
|
7
|
+
License: Apache-2.0
|
|
8
|
+
Project-URL: documentation, https://docs.nvidia.com/nemo/agent-toolkit/latest/
|
|
9
|
+
Project-URL: source, https://github.com/NVIDIA/NeMo-Agent-Toolkit
|
|
5
10
|
Keywords: ai,observability,phoenix,arize
|
|
6
11
|
Classifier: Programming Language :: Python
|
|
7
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -9,8 +14,12 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
9
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
10
15
|
Requires-Python: <3.14,>=3.11
|
|
11
16
|
Description-Content-Type: text/markdown
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
License-File: LICENSE-3rd-party.txt
|
|
18
|
+
License-File: LICENSE.md
|
|
19
|
+
Requires-Dist: nvidia-nat[opentelemetry]==v1.4.0a20251123
|
|
20
|
+
Requires-Dist: arize-phoenix-otel~=0.13.1
|
|
21
|
+
Requires-Dist: openinference-instrumentation
|
|
22
|
+
Dynamic: license-file
|
|
14
23
|
|
|
15
24
|
<!--
|
|
16
25
|
SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
nat/meta/pypi.md,sha256=Zh3Nw9Lt5cliSVtPEbCxzDYn47bySYnh-FWdkMq7oWE,1109
|
|
2
|
+
nat/plugins/phoenix/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
|
|
3
|
+
nat/plugins/phoenix/phoenix_exporter.py,sha256=NYf9JzObMgGNy9_4hYi6X6QZxS4WFYrB4u60kaN0Df4,2466
|
|
4
|
+
nat/plugins/phoenix/register.py,sha256=riN1kw1IdFbuDYHp_GMCCbswVmCdt-Jp5ALAXuN0tF0,2445
|
|
5
|
+
nat/plugins/phoenix/mixin/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
|
|
6
|
+
nat/plugins/phoenix/mixin/phoenix_mixin.py,sha256=E1tJixekhu6-R_TOpMSvMX85pIfZhkqj9Gm_wbQDhe8,2858
|
|
7
|
+
nvidia_nat_phoenix-1.4.0a20251123.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
|
|
8
|
+
nvidia_nat_phoenix-1.4.0a20251123.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
9
|
+
nvidia_nat_phoenix-1.4.0a20251123.dist-info/METADATA,sha256=5oHGdI2Cb2ZDvMV1ax8XCEABc8VFguDLYAlrPeepioY,2011
|
|
10
|
+
nvidia_nat_phoenix-1.4.0a20251123.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
11
|
+
nvidia_nat_phoenix-1.4.0a20251123.dist-info/entry_points.txt,sha256=tloFOh3dHEuZivrX1cMk8UcyCdeF59gEFOqr_HRZNb4,60
|
|
12
|
+
nvidia_nat_phoenix-1.4.0a20251123.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
|
13
|
+
nvidia_nat_phoenix-1.4.0a20251123.dist-info/RECORD,,
|