arize-phoenix 7.5.2__py3-none-any.whl → 7.6.0__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 arize-phoenix might be problematic. Click here for more details.
- {arize_phoenix-7.5.2.dist-info → arize_phoenix-7.6.0.dist-info}/METADATA +1 -1
- {arize_phoenix-7.5.2.dist-info → arize_phoenix-7.6.0.dist-info}/RECORD +12 -12
- phoenix/server/api/routers/v1/traces.py +5 -4
- phoenix/server/static/.vite/manifest.json +9 -9
- phoenix/server/static/assets/{components-CFq5ktuL.js → components-BT4CFAMG.js} +139 -139
- phoenix/server/static/assets/{index-BeD0_8JQ.js → index-BE2xiPyd.js} +1 -1
- phoenix/server/static/assets/{pages-DOPDiVdj.js → pages-Bkv2QK8h.js} +1 -1
- phoenix/version.py +1 -1
- {arize_phoenix-7.5.2.dist-info → arize_phoenix-7.6.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-7.5.2.dist-info → arize_phoenix-7.6.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-7.5.2.dist-info → arize_phoenix-7.6.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-7.5.2.dist-info → arize_phoenix-7.6.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -6,7 +6,7 @@ phoenix/exceptions.py,sha256=n2L2KKuecrdflB9MsCdAYCiSEvGJptIsfRkXMoJle7A,169
|
|
|
6
6
|
phoenix/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
7
7
|
phoenix/services.py,sha256=kpW1WL0kiB8XJsO6XycvZVJ-lBkNoenhQ7atCvBoSe8,5365
|
|
8
8
|
phoenix/settings.py,sha256=ht-0oN-sMV6SPXrk7Tu1EZlngpAYkGNLYPhO8DyrdQI,661
|
|
9
|
-
phoenix/version.py,sha256=
|
|
9
|
+
phoenix/version.py,sha256=RS7ZvpeTsPTr9tY3yeVA3qW0ISlF5jRmARJfzG9UJLs,22
|
|
10
10
|
phoenix/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
phoenix/core/embedding_dimension.py,sha256=zKGbcvwOXgLf-yrJBpQyKtd-LEOPRKHnUToyAU8Owis,87
|
|
12
12
|
phoenix/core/model.py,sha256=qBFraOtmwCCnWJltKNP18DDG0mULXigytlFsa6YOz6k,4837
|
|
@@ -198,7 +198,7 @@ phoenix/server/api/routers/v1/experiment_runs.py,sha256=xKXhol1-G4zAFECAQK9lAjKt
|
|
|
198
198
|
phoenix/server/api/routers/v1/experiments.py,sha256=sBxOIE4k4eIt-sQ6lPo2HUv9Tf1aURXtTJTq8J-Rfto,11808
|
|
199
199
|
phoenix/server/api/routers/v1/pydantic_compat.py,sha256=FeK8oe2brqu-djsoqRxiKL4tw5cHmi89OHVfCFxYsAo,2890
|
|
200
200
|
phoenix/server/api/routers/v1/spans.py,sha256=NnvcUIx_7nb4tnieP-tfgy2Ua7WzHGSTEOvoLJ-3C9Y,9634
|
|
201
|
-
phoenix/server/api/routers/v1/traces.py,sha256=
|
|
201
|
+
phoenix/server/api/routers/v1/traces.py,sha256=r7J_LJRxrT6G72mE1s080Xakl8u7jZtA_AjKONFbptY,7917
|
|
202
202
|
phoenix/server/api/routers/v1/utils.py,sha256=mSs1luneS00f4o60pJeR8JcjP1NdF3Igh7fjAbOYF_U,3074
|
|
203
203
|
phoenix/server/api/types/Annotation.py,sha256=7Ym7iuVcbwHlw2yIRylz4nATAF_Cm-Z17qcjiooj1cc,751
|
|
204
204
|
phoenix/server/api/types/AnnotationSummary.py,sha256=Adg_tFla5lL2csDQeQwn58b8kTB_57hotAN6WLQCLzE,1512
|
|
@@ -286,10 +286,10 @@ phoenix/server/static/apple-touch-icon-76x76.png,sha256=CT_xT12I0u2i0WU8JzBZBuOQ
|
|
|
286
286
|
phoenix/server/static/apple-touch-icon.png,sha256=fOfpjqGpWYbJ0eAurKsyoZP1EAs6ZVooBJ_SGk2ZkDs,3801
|
|
287
287
|
phoenix/server/static/favicon.ico,sha256=bY0vvCKRftemZfPShwZtE93DiiQdaYaozkPGwNFr6H8,34494
|
|
288
288
|
phoenix/server/static/modernizr.js,sha256=mvK-XtkNqjOral-QvzoqsyOMECXIMu5BQwSVN_wcU9c,2564
|
|
289
|
-
phoenix/server/static/.vite/manifest.json,sha256=
|
|
290
|
-
phoenix/server/static/assets/components-
|
|
291
|
-
phoenix/server/static/assets/index-
|
|
292
|
-
phoenix/server/static/assets/pages-
|
|
289
|
+
phoenix/server/static/.vite/manifest.json,sha256=UDR2o8QNARketLVV8nkQ4P-DhzxuvI1ieNz77AXIleE,2163
|
|
290
|
+
phoenix/server/static/assets/components-BT4CFAMG.js,sha256=hv0LaVSmSP8EbnIoXm7aHx-ieK8jOheE_5tb3xp0n1E,389500
|
|
291
|
+
phoenix/server/static/assets/index-BE2xiPyd.js,sha256=IAFRRBcbpZth6iKGFnYi4X1Vc0C2QbVDCBv0C6yRU-U,8711
|
|
292
|
+
phoenix/server/static/assets/pages-Bkv2QK8h.js,sha256=Mxc4nGUz0PkM6Xy0Wc4KDR2AmBuD3OW1ikE8C35HLQc,671916
|
|
293
293
|
phoenix/server/static/assets/vendor-DvC8cT4X.js,sha256=-EzJrg6BeYa58JPfaZC6KS5gvkJ8gC1n-Sb7lP-pOkw,2159677
|
|
294
294
|
phoenix/server/static/assets/vendor-DxkFTwjz.css,sha256=nZrkr0u6NNElFGvpWHk9GTHeGoibCXCli1bE7mXZGZg,1816
|
|
295
295
|
phoenix/server/static/assets/vendor-arizeai-Do1793cv.js,sha256=IFADVVEZ8VY9o4iqYighRedZTXSyi1uZMTFFsBeIYis,305184
|
|
@@ -336,9 +336,9 @@ phoenix/utilities/project.py,sha256=auVpARXkDb-JgeX5f2aStyFIkeKvGwN9l7qrFeJMVxI,
|
|
|
336
336
|
phoenix/utilities/re.py,sha256=x8Xbk-Wa6qDMAtUd_7JtZvKtrYEuMY-bchB0n163_5c,2006
|
|
337
337
|
phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
338
338
|
phoenix/utilities/template_formatters.py,sha256=gh9PJD6WEGw7TEYXfSst1UR4pWWwmjxMLrDVQ_CkpkQ,2779
|
|
339
|
-
arize_phoenix-7.
|
|
340
|
-
arize_phoenix-7.
|
|
341
|
-
arize_phoenix-7.
|
|
342
|
-
arize_phoenix-7.
|
|
343
|
-
arize_phoenix-7.
|
|
344
|
-
arize_phoenix-7.
|
|
339
|
+
arize_phoenix-7.6.0.dist-info/METADATA,sha256=gCfjoDL57VJr5IN19U6RCH_y51ph5UHoHtY00HPcwuA,23052
|
|
340
|
+
arize_phoenix-7.6.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
341
|
+
arize_phoenix-7.6.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
|
|
342
|
+
arize_phoenix-7.6.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
|
|
343
|
+
arize_phoenix-7.6.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
|
|
344
|
+
arize_phoenix-7.6.0.dist-info/RECORD,,
|
|
@@ -3,17 +3,19 @@ import zlib
|
|
|
3
3
|
from typing import Any, Literal, Optional
|
|
4
4
|
|
|
5
5
|
from fastapi import APIRouter, BackgroundTasks, Header, HTTPException, Query
|
|
6
|
+
from google.protobuf.json_format import MessageToJson
|
|
6
7
|
from google.protobuf.message import DecodeError
|
|
7
8
|
from opentelemetry.proto.collector.trace.v1.trace_service_pb2 import (
|
|
8
9
|
ExportTraceServiceRequest,
|
|
10
|
+
ExportTraceServiceResponse,
|
|
9
11
|
)
|
|
10
12
|
from pydantic import Field
|
|
11
13
|
from sqlalchemy import select
|
|
12
14
|
from starlette.concurrency import run_in_threadpool
|
|
13
15
|
from starlette.datastructures import State
|
|
14
16
|
from starlette.requests import Request
|
|
17
|
+
from starlette.responses import JSONResponse
|
|
15
18
|
from starlette.status import (
|
|
16
|
-
HTTP_204_NO_CONTENT,
|
|
17
19
|
HTTP_404_NOT_FOUND,
|
|
18
20
|
HTTP_415_UNSUPPORTED_MEDIA_TYPE,
|
|
19
21
|
HTTP_422_UNPROCESSABLE_ENTITY,
|
|
@@ -38,7 +40,6 @@ router = APIRouter(tags=["traces"])
|
|
|
38
40
|
"/traces",
|
|
39
41
|
operation_id="addTraces",
|
|
40
42
|
summary="Send traces",
|
|
41
|
-
status_code=HTTP_204_NO_CONTENT,
|
|
42
43
|
responses=add_errors_to_responses(
|
|
43
44
|
[
|
|
44
45
|
{
|
|
@@ -65,7 +66,7 @@ async def post_traces(
|
|
|
65
66
|
background_tasks: BackgroundTasks,
|
|
66
67
|
content_type: Optional[str] = Header(default=None),
|
|
67
68
|
content_encoding: Optional[str] = Header(default=None),
|
|
68
|
-
) ->
|
|
69
|
+
) -> JSONResponse:
|
|
69
70
|
if content_type != "application/x-protobuf":
|
|
70
71
|
raise HTTPException(
|
|
71
72
|
detail=f"Unsupported content type: {content_type}",
|
|
@@ -90,7 +91,7 @@ async def post_traces(
|
|
|
90
91
|
status_code=HTTP_422_UNPROCESSABLE_ENTITY,
|
|
91
92
|
)
|
|
92
93
|
background_tasks.add_task(_add_spans, req, request.state)
|
|
93
|
-
return
|
|
94
|
+
return JSONResponse(MessageToJson(ExportTraceServiceResponse()))
|
|
94
95
|
|
|
95
96
|
|
|
96
97
|
class TraceAnnotationResult(V1RoutesBaseModel):
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_components-
|
|
3
|
-
"file": "assets/components-
|
|
2
|
+
"_components-BT4CFAMG.js": {
|
|
3
|
+
"file": "assets/components-BT4CFAMG.js",
|
|
4
4
|
"name": "components",
|
|
5
5
|
"imports": [
|
|
6
6
|
"_vendor-DvC8cT4X.js",
|
|
7
|
-
"_pages-
|
|
7
|
+
"_pages-Bkv2QK8h.js",
|
|
8
8
|
"_vendor-arizeai-Do1793cv.js",
|
|
9
9
|
"_vendor-codemirror-BzwZPyJM.js",
|
|
10
10
|
"_vendor-three-DwGkEfCM.js"
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
|
-
"_pages-
|
|
14
|
-
"file": "assets/pages-
|
|
13
|
+
"_pages-Bkv2QK8h.js": {
|
|
14
|
+
"file": "assets/pages-Bkv2QK8h.js",
|
|
15
15
|
"name": "pages",
|
|
16
16
|
"imports": [
|
|
17
17
|
"_vendor-DvC8cT4X.js",
|
|
18
18
|
"_vendor-arizeai-Do1793cv.js",
|
|
19
|
-
"_components-
|
|
19
|
+
"_components-BT4CFAMG.js",
|
|
20
20
|
"_vendor-codemirror-BzwZPyJM.js",
|
|
21
21
|
"_vendor-recharts-_Jb7JjhG.js"
|
|
22
22
|
]
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"name": "vendor-three"
|
|
70
70
|
},
|
|
71
71
|
"index.tsx": {
|
|
72
|
-
"file": "assets/index-
|
|
72
|
+
"file": "assets/index-BE2xiPyd.js",
|
|
73
73
|
"name": "index",
|
|
74
74
|
"src": "index.tsx",
|
|
75
75
|
"isEntry": true,
|
|
76
76
|
"imports": [
|
|
77
77
|
"_vendor-DvC8cT4X.js",
|
|
78
78
|
"_vendor-arizeai-Do1793cv.js",
|
|
79
|
-
"_pages-
|
|
80
|
-
"_components-
|
|
79
|
+
"_pages-Bkv2QK8h.js",
|
|
80
|
+
"_components-BT4CFAMG.js",
|
|
81
81
|
"_vendor-three-DwGkEfCM.js",
|
|
82
82
|
"_vendor-codemirror-BzwZPyJM.js",
|
|
83
83
|
"_vendor-shiki-Cl9QBraO.js",
|