nvidia-nat-phoenix 1.3.0.dev2__py3-none-any.whl → 1.4.0a20251227__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.
Potentially problematic release.
This version of nvidia-nat-phoenix might be problematic. Click here for more details.
- nat/plugins/phoenix/mixin/phoenix_mixin.py +5 -4
- nat/plugins/phoenix/phoenix_exporter.py +1 -1
- nat/plugins/phoenix/register.py +1 -1
- {nvidia_nat_phoenix-1.3.0.dev2.dist-info → nvidia_nat_phoenix-1.4.0a20251227.dist-info}/METADATA +16 -4
- nvidia_nat_phoenix-1.4.0a20251227.dist-info/RECORD +13 -0
- nvidia_nat_phoenix-1.4.0a20251227.dist-info/licenses/LICENSE-3rd-party.txt +5478 -0
- nvidia_nat_phoenix-1.4.0a20251227.dist-info/licenses/LICENSE.md +201 -0
- nvidia_nat_phoenix-1.3.0.dev2.dist-info/RECORD +0 -11
- {nvidia_nat_phoenix-1.3.0.dev2.dist-info → nvidia_nat_phoenix-1.4.0a20251227.dist-info}/WHEEL +0 -0
- {nvidia_nat_phoenix-1.3.0.dev2.dist-info → nvidia_nat_phoenix-1.4.0a20251227.dist-info}/entry_points.txt +0 -0
- {nvidia_nat_phoenix-1.3.0.dev2.dist-info → nvidia_nat_phoenix-1.4.0a20251227.dist-info}/top_level.txt +0 -0
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
|
|
16
16
|
import logging
|
|
17
17
|
|
|
18
|
-
from
|
|
19
|
-
from phoenix.trace.projects import using_project
|
|
18
|
+
from openinference.instrumentation import dangerously_using_project
|
|
20
19
|
|
|
21
20
|
from nat.plugins.opentelemetry.otel_span import OtelSpan
|
|
21
|
+
from phoenix.otel import HTTPSpanExporter
|
|
22
22
|
|
|
23
23
|
logger = logging.getLogger(__name__)
|
|
24
24
|
|
|
@@ -36,7 +36,8 @@ class PhoenixMixin:
|
|
|
36
36
|
|
|
37
37
|
This mixin is designed to be used with OtelSpanExporter as a base class:
|
|
38
38
|
|
|
39
|
-
Example
|
|
39
|
+
Example::
|
|
40
|
+
|
|
40
41
|
class MyPhoenixExporter(OtelSpanExporter, PhoenixMixin):
|
|
41
42
|
def __init__(self, endpoint, project, **kwargs):
|
|
42
43
|
super().__init__(endpoint=endpoint, project=project, **kwargs)
|
|
@@ -68,7 +69,7 @@ class PhoenixMixin:
|
|
|
68
69
|
Exception: If there's an error during span export (logged but not re-raised).
|
|
69
70
|
"""
|
|
70
71
|
try:
|
|
71
|
-
with
|
|
72
|
+
with dangerously_using_project(self._project):
|
|
72
73
|
self._exporter.export(spans) # type: ignore
|
|
73
74
|
except Exception as e:
|
|
74
75
|
logger.error("Error exporting spans: %s", e, exc_info=True)
|
|
@@ -22,7 +22,7 @@ from nat.plugins.phoenix.mixin.phoenix_mixin import PhoenixMixin
|
|
|
22
22
|
logger = logging.getLogger(__name__)
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
class PhoenixOtelExporter(PhoenixMixin, OtelSpanExporter):
|
|
25
|
+
class PhoenixOtelExporter(PhoenixMixin, OtelSpanExporter):
|
|
26
26
|
"""Phoenix exporter for AI workflow observability.
|
|
27
27
|
|
|
28
28
|
Exports OpenTelemetry-compatible traces to Phoenix for visualization
|
nat/plugins/phoenix/register.py
CHANGED
|
@@ -34,7 +34,7 @@ class PhoenixTelemetryExporter(BatchConfigMixin, CollectorConfigMixin, Telemetry
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
@register_telemetry_exporter(config_type=PhoenixTelemetryExporter)
|
|
37
|
-
async def phoenix_telemetry_exporter(config: PhoenixTelemetryExporter, builder: Builder):
|
|
37
|
+
async def phoenix_telemetry_exporter(config: PhoenixTelemetryExporter, builder: Builder):
|
|
38
38
|
"""Create a Phoenix telemetry exporter."""
|
|
39
39
|
|
|
40
40
|
try:
|
{nvidia_nat_phoenix-1.3.0.dev2.dist-info → nvidia_nat_phoenix-1.4.0a20251227.dist-info}/METADATA
RENAMED
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nvidia-nat-phoenix
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0a20251227
|
|
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
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Requires-Python: <3.14,>=3.11
|
|
8
16
|
Description-Content-Type: text/markdown
|
|
9
|
-
|
|
10
|
-
|
|
17
|
+
License-File: LICENSE-3rd-party.txt
|
|
18
|
+
License-File: LICENSE.md
|
|
19
|
+
Requires-Dist: nvidia-nat[opentelemetry]==v1.4.0a20251227
|
|
20
|
+
Requires-Dist: arize-phoenix-otel~=0.13.1
|
|
21
|
+
Requires-Dist: openinference-instrumentation
|
|
22
|
+
Dynamic: license-file
|
|
11
23
|
|
|
12
24
|
<!--
|
|
13
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.0a20251227.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
|
|
8
|
+
nvidia_nat_phoenix-1.4.0a20251227.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
9
|
+
nvidia_nat_phoenix-1.4.0a20251227.dist-info/METADATA,sha256=aS1grJ58RV5zt-QLsfhChA3ZCIWLVSDtJ3EA8bEcQcE,2011
|
|
10
|
+
nvidia_nat_phoenix-1.4.0a20251227.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
11
|
+
nvidia_nat_phoenix-1.4.0a20251227.dist-info/entry_points.txt,sha256=tloFOh3dHEuZivrX1cMk8UcyCdeF59gEFOqr_HRZNb4,60
|
|
12
|
+
nvidia_nat_phoenix-1.4.0a20251227.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
|
13
|
+
nvidia_nat_phoenix-1.4.0a20251227.dist-info/RECORD,,
|