arize-phoenix 8.14.1__py3-none-any.whl → 8.15.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-8.14.1.dist-info → arize_phoenix-8.15.0.dist-info}/METADATA +1 -1
- {arize_phoenix-8.14.1.dist-info → arize_phoenix-8.15.0.dist-info}/RECORD +12 -12
- phoenix/server/api/queries.py +12 -8
- phoenix/server/static/.vite/manifest.json +9 -9
- phoenix/server/static/assets/{components-BugmFXye.js → components-B1h2vIB3.js} +182 -171
- phoenix/server/static/assets/{index-CsMfMrpZ.js → index-D27y64mn.js} +1 -1
- phoenix/server/static/assets/{pages-CEf35SdW.js → pages-DV4OMLyH.js} +3 -3
- phoenix/version.py +1 -1
- {arize_phoenix-8.14.1.dist-info → arize_phoenix-8.15.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-8.14.1.dist-info → arize_phoenix-8.15.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-8.14.1.dist-info → arize_phoenix-8.15.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-8.14.1.dist-info → arize_phoenix-8.15.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=heS3ugMbNrmBchYw9lTGo92LNvkldtWtc7pFL2DA05g,23
|
|
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
|
|
@@ -99,7 +99,7 @@ phoenix/server/api/auth.py,sha256=nywpmfMI1trZTbZRD3oBj4kFjzg_vnxDljcM431T1eY,12
|
|
|
99
99
|
phoenix/server/api/context.py,sha256=OopBkMnY48TzulTtfuay3MXmhbFIWPtPoAsbhCW-Pl0,6459
|
|
100
100
|
phoenix/server/api/exceptions.py,sha256=TA0JuY2YRnj35qGuMSQ8d0ToHum9gWm9W--3fSKHrX0,1171
|
|
101
101
|
phoenix/server/api/interceptor.py,sha256=ykDnoC_apUd-llVli3m1CW18kNSIgjz2qZ6m5JmPDu8,1294
|
|
102
|
-
phoenix/server/api/queries.py,sha256=
|
|
102
|
+
phoenix/server/api/queries.py,sha256=e_zt4VKQj3dnLIrVEFbxIOhFo8bup_vVN9xAqVW009w,35726
|
|
103
103
|
phoenix/server/api/schema.py,sha256=fcs36xQwFF_Qe41_5cWR8wYpDvOrnbcyTeo5WNMbDsA,1702
|
|
104
104
|
phoenix/server/api/subscriptions.py,sha256=DSIgQF6lQqkbc7D0AaI5R4g3hIHbU04H5Y2UIpwmpy0,22989
|
|
105
105
|
phoenix/server/api/utils.py,sha256=quCBRcusc6PUq9tJq7M8PgwFZp7nXgVAxtbw8feribY,833
|
|
@@ -314,10 +314,10 @@ phoenix/server/static/apple-touch-icon-76x76.png,sha256=CT_xT12I0u2i0WU8JzBZBuOQ
|
|
|
314
314
|
phoenix/server/static/apple-touch-icon.png,sha256=fOfpjqGpWYbJ0eAurKsyoZP1EAs6ZVooBJ_SGk2ZkDs,3801
|
|
315
315
|
phoenix/server/static/favicon.ico,sha256=bY0vvCKRftemZfPShwZtE93DiiQdaYaozkPGwNFr6H8,34494
|
|
316
316
|
phoenix/server/static/modernizr.js,sha256=mvK-XtkNqjOral-QvzoqsyOMECXIMu5BQwSVN_wcU9c,2564
|
|
317
|
-
phoenix/server/static/.vite/manifest.json,sha256=
|
|
318
|
-
phoenix/server/static/assets/components-
|
|
319
|
-
phoenix/server/static/assets/index-
|
|
320
|
-
phoenix/server/static/assets/pages-
|
|
317
|
+
phoenix/server/static/.vite/manifest.json,sha256=n8NVBumHePO_MgLTOZNDw0utkqyS0WVwpg0_2HZm7-I,2165
|
|
318
|
+
phoenix/server/static/assets/components-B1h2vIB3.js,sha256=G9Qk6_HpDGpIGiAenjQ0G73Q56I9DICFG2UtJNKbtj0,441954
|
|
319
|
+
phoenix/server/static/assets/index-D27y64mn.js,sha256=8UAUOQ6q9xdRvqEuUiIRrD1KTcqC2_qn12_BIW-TI68,60085
|
|
320
|
+
phoenix/server/static/assets/pages-DV4OMLyH.js,sha256=Ha195nGXFFEjo4x-5hsS9nYHhO3GziJT6euJauEk7EA,852021
|
|
321
321
|
phoenix/server/static/assets/vendor-BT2CVKel.js,sha256=LIV-43bFP85LEFu5QFr5WFcpwKYVMqop0ofrf0RzAVY,2492285
|
|
322
322
|
phoenix/server/static/assets/vendor-Cg6lcjUC.css,sha256=nZrkr0u6NNElFGvpWHk9GTHeGoibCXCli1bE7mXZGZg,1816
|
|
323
323
|
phoenix/server/static/assets/vendor-arizeai-Dzsaenki.js,sha256=NIKV6W5-cOcwg_FI772zlcl6kInoGOsiZyUbQczUxsU,194761
|
|
@@ -364,9 +364,9 @@ phoenix/utilities/project.py,sha256=auVpARXkDb-JgeX5f2aStyFIkeKvGwN9l7qrFeJMVxI,
|
|
|
364
364
|
phoenix/utilities/re.py,sha256=6YyUWIkv0zc2SigsxfOWIHzdpjKA_TZo2iqKq7zJKvw,2081
|
|
365
365
|
phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
366
366
|
phoenix/utilities/template_formatters.py,sha256=gh9PJD6WEGw7TEYXfSst1UR4pWWwmjxMLrDVQ_CkpkQ,2779
|
|
367
|
-
arize_phoenix-8.
|
|
368
|
-
arize_phoenix-8.
|
|
369
|
-
arize_phoenix-8.
|
|
370
|
-
arize_phoenix-8.
|
|
371
|
-
arize_phoenix-8.
|
|
372
|
-
arize_phoenix-8.
|
|
367
|
+
arize_phoenix-8.15.0.dist-info/METADATA,sha256=sdgMM0E87beGAqCbpDbdC5HyO20L8seI_2gdgYAi-Bw,21347
|
|
368
|
+
arize_phoenix-8.15.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
369
|
+
arize_phoenix-8.15.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
|
|
370
|
+
arize_phoenix-8.15.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
|
|
371
|
+
arize_phoenix-8.15.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
|
|
372
|
+
arize_phoenix-8.15.0.dist-info/RECORD,,
|
phoenix/server/api/queries.py
CHANGED
|
@@ -808,14 +808,18 @@ class Query:
|
|
|
808
808
|
info: Info[Context, None],
|
|
809
809
|
) -> list[DbTableStats]:
|
|
810
810
|
if info.context.db.dialect is SupportedSQLDialect.SQLITE:
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
811
|
+
# TODO: temporary workaround until we can figure out why
|
|
812
|
+
# the dbstat query takes longer than expected
|
|
813
|
+
async with info.context.db() as session:
|
|
814
|
+
page_count = await session.scalar(text("PRAGMA page_count;"))
|
|
815
|
+
free_pages = await session.scalar(text("PRAGMA freelist_count;"))
|
|
816
|
+
page_size = await session.scalar(text("PRAGMA page_size;"))
|
|
817
|
+
num_bytes = (page_count - free_pages) * page_size
|
|
818
|
+
return [DbTableStats(table_name="SQLite", num_bytes=num_bytes)]
|
|
819
|
+
# stmt = text("SELECT name, sum(pgsize) FROM dbstat group by name;")
|
|
820
|
+
# async with info.context.db() as session:
|
|
821
|
+
# stats = cast(Iterable[tuple[str, int]], await session.execute(stmt))
|
|
822
|
+
# stats = _consolidate_sqlite_db_table_stats(stats)
|
|
819
823
|
elif info.context.db.dialect is SupportedSQLDialect.POSTGRESQL:
|
|
820
824
|
stmt = text(f"""\
|
|
821
825
|
SELECT c.relname, pg_total_relation_size(c.oid)
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_components-
|
|
3
|
-
"file": "assets/components-
|
|
2
|
+
"_components-B1h2vIB3.js": {
|
|
3
|
+
"file": "assets/components-B1h2vIB3.js",
|
|
4
4
|
"name": "components",
|
|
5
5
|
"imports": [
|
|
6
6
|
"_vendor-BT2CVKel.js",
|
|
7
|
-
"_pages-
|
|
7
|
+
"_pages-DV4OMLyH.js",
|
|
8
8
|
"_vendor-arizeai-Dzsaenki.js",
|
|
9
9
|
"_vendor-codemirror-D2R3PB3i.js",
|
|
10
10
|
"_vendor-three-C5WAXd5r.js"
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
|
-
"_pages-
|
|
14
|
-
"file": "assets/pages-
|
|
13
|
+
"_pages-DV4OMLyH.js": {
|
|
14
|
+
"file": "assets/pages-DV4OMLyH.js",
|
|
15
15
|
"name": "pages",
|
|
16
16
|
"imports": [
|
|
17
17
|
"_vendor-BT2CVKel.js",
|
|
18
18
|
"_vendor-arizeai-Dzsaenki.js",
|
|
19
|
-
"_components-
|
|
19
|
+
"_components-B1h2vIB3.js",
|
|
20
20
|
"_vendor-codemirror-D2R3PB3i.js",
|
|
21
21
|
"_vendor-recharts-DetvdWCF.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-D27y64mn.js",
|
|
73
73
|
"name": "index",
|
|
74
74
|
"src": "index.tsx",
|
|
75
75
|
"isEntry": true,
|
|
76
76
|
"imports": [
|
|
77
77
|
"_vendor-BT2CVKel.js",
|
|
78
78
|
"_vendor-arizeai-Dzsaenki.js",
|
|
79
|
-
"_pages-
|
|
80
|
-
"_components-
|
|
79
|
+
"_pages-DV4OMLyH.js",
|
|
80
|
+
"_components-B1h2vIB3.js",
|
|
81
81
|
"_vendor-three-C5WAXd5r.js",
|
|
82
82
|
"_vendor-codemirror-D2R3PB3i.js",
|
|
83
83
|
"_vendor-shiki-dzrzjP7E.js",
|