arize-phoenix 8.18.0__py3-none-any.whl → 8.19.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.

Files changed (23) hide show
  1. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.0.dist-info}/METADATA +1 -1
  2. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.0.dist-info}/RECORD +23 -23
  3. phoenix/config.py +12 -0
  4. phoenix/db/engines.py +1 -1
  5. phoenix/server/api/types/Project.py +15 -7
  6. phoenix/server/app.py +6 -1
  7. phoenix/server/main.py +2 -0
  8. phoenix/server/static/.vite/manifest.json +40 -40
  9. phoenix/server/static/assets/{components-C9nEyUpZ.js → components-DLQsAsXI.js} +202 -202
  10. phoenix/server/static/assets/{index-Byq5IvLD.js → index-3uBdi_Kh.js} +10 -10
  11. phoenix/server/static/assets/{pages-DHlvPcZL.js → pages-CQ49cFqk.js} +640 -581
  12. phoenix/server/static/assets/{vendor-BT2CVKel.js → vendor-DzTYZE0m.js} +197 -205
  13. phoenix/server/static/assets/{vendor-arizeai-Dzsaenki.js → vendor-arizeai-MSqbWSh7.js} +1 -1
  14. phoenix/server/static/assets/{vendor-codemirror-D2R3PB3i.js → vendor-codemirror-BkyHpLbv.js} +1 -1
  15. phoenix/server/static/assets/{vendor-recharts-DetvdWCF.js → vendor-recharts-BNpDMM_n.js} +4 -4
  16. phoenix/server/static/assets/{vendor-shiki-dzrzjP7E.js → vendor-shiki-43FrwhkU.js} +1 -1
  17. phoenix/settings.py +2 -0
  18. phoenix/trace/dsl/query.py +32 -11
  19. phoenix/version.py +1 -1
  20. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.0.dist-info}/WHEEL +0 -0
  21. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.0.dist-info}/entry_points.txt +0 -0
  22. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.0.dist-info}/licenses/IP_NOTICE +0 -0
  23. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arize-phoenix
3
- Version: 8.18.0
3
+ Version: 8.19.0
4
4
  Summary: AI Observability and Evaluation
5
5
  Project-URL: Documentation, https://docs.arize.com/phoenix/
6
6
  Project-URL: Issues, https://github.com/Arize-ai/phoenix/issues
@@ -1,12 +1,12 @@
1
1
  phoenix/__init__.py,sha256=X3eUEwd2rG8KKWWYVNNDJoqo08ihfjgHhlP29dcdNJE,5481
2
2
  phoenix/auth.py,sha256=VVMHrWN31tln3Zo4z6ofecrV4daiqJjLd8r85mqlxek,10939
3
- phoenix/config.py,sha256=6er2AyJyE_yS1TWAq2f24ey602LxKvFtjN7EiQO135I,31986
3
+ phoenix/config.py,sha256=j5oTPHMcr73DnPpnhl3induhAGwxLsf2BX6DF0YXUOY,32408
4
4
  phoenix/datetime_utils.py,sha256=iJzNG6YJ6V7_u8B2iA7P2Z26FyxYbOPtx0dhJ7kNDHA,3398
5
5
  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
- phoenix/settings.py,sha256=ht-0oN-sMV6SPXrk7Tu1EZlngpAYkGNLYPhO8DyrdQI,661
9
- phoenix/version.py,sha256=lLutdILf-LRdVe8ML5kW5jcGpMi-jrvNHhk6uclYIgs,23
8
+ phoenix/settings.py,sha256=x87BX7hWGQQZbrW_vrYqFR_izCGfO9gFc--JXUG4Tdk,754
9
+ phoenix/version.py,sha256=tCBGuwl1Bu9QzqCnPAiE-uzmrCnU9G17KbMIUuJvy2c,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
@@ -16,7 +16,7 @@ phoenix/db/README.md,sha256=Mjrq0tG68uKQ81mN1Vmu3C795EEpZndmnE6CJXsPCXE,1909
16
16
  phoenix/db/__init__.py,sha256=pDjEFXukHmJBM-1D8RjmXkvLsz85YWNxMQczt81ec3A,118
17
17
  phoenix/db/alembic.ini,sha256=GIS6HpHaKaJbbuahZg1Rc1D2_QqyCkV9r58wdARGf6w,3262
18
18
  phoenix/db/bulk_inserter.py,sha256=faNjuwLqqsw4ky8sa4D0h9u5TvEDTOjrccUW89L008E,12725
19
- phoenix/db/engines.py,sha256=esKGo_cqQLKKXNlfK7iQ7BtkOYY2xNsLdjvW2DddGjU,7321
19
+ phoenix/db/engines.py,sha256=gxcP2aNy_JyKHv1MO4d2UM47GTMy1jDcN-FQETZ3iNA,7348
20
20
  phoenix/db/enums.py,sha256=tt7iovXLhVTLZ3_LbHNGgcI44SnNjXfkKtLAZG57T54,428
21
21
  phoenix/db/facilitator.py,sha256=nteTD8XQSQ7a6aZBOw7ZKiJ72-_1TZXKVF4HS3fHdas,5675
22
22
  phoenix/db/helpers.py,sha256=daKbpY2QhTPo9a_T1xNHKI4WzWHkMmmrGIws7Hw-RZ4,4884
@@ -80,13 +80,13 @@ phoenix/pointcloud/pointcloud.py,sha256=SN_1wXZcwKrtSnHGZLDZGx71orqE1WyVF7E-D58d
80
80
  phoenix/pointcloud/projectors.py,sha256=TQgwc9cJDjJkin1WZyZzgl3HsYrLLiyWD7Czy4jNW3U,1088
81
81
  phoenix/pointcloud/umap_parameters.py,sha256=db_WEPoamuWtopZx7tQfAXPnoE0MS8FkAV0_ThjEx_Q,1735
82
82
  phoenix/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
- phoenix/server/app.py,sha256=nAjMImoLpP051uTldLPw98ggOJY-1zZiIjlPsG3DyXs,39379
83
+ phoenix/server/app.py,sha256=X7Gr-bqIksPaZV1H8FHFsPHLIe025BLVLlgCbqV6Pq8,39491
84
84
  phoenix/server/bearer_auth.py,sha256=0UudvkAS_dxna5JEJJhGUYwB6Ny-e22ssX5Mm79QwCk,5907
85
85
  phoenix/server/dml_event.py,sha256=MjJmVEKytq75chBOSyvYDusUnEbg1pHpIjR3pZkUaJA,2838
86
86
  phoenix/server/dml_event_handler.py,sha256=EZLXmCvx4pJrCkz29gxwKwmvmUkTtPCHw6klR-XM8qE,8258
87
87
  phoenix/server/grpc_server.py,sha256=SknR-iLIUqU9swiAyLhbCUREA1obOM6w49xgdK1AQDs,3839
88
88
  phoenix/server/jwt_store.py,sha256=asxzY4_ZBM2FWAMstHvhvnKUP_0AA3v3xPTL2IOgNqY,16831
89
- phoenix/server/main.py,sha256=khpRUAF6wo6rrFrhFbWIoZi43dQL-uY8QtdEucGT1y8,16311
89
+ phoenix/server/main.py,sha256=Gx63qC-5yI7EFfX3pv293eM5gb8xTO4swZhp242qV1o,16406
90
90
  phoenix/server/oauth2.py,sha256=EV4wcCwG0N7cJRcfGNURdP5rZgRVCeRDvXyle19A27Y,2064
91
91
  phoenix/server/prometheus.py,sha256=1KjvSfjSa2-BPjDybVMM_Kag316CsN-Zwt64YNr_snc,7825
92
92
  phoenix/server/rate_limiters.py,sha256=cFc73D2NaxqNZZDbwfIDw4So-fRVOJPBtqxOZ8Qky_s,7155
@@ -267,7 +267,7 @@ phoenix/server/api/types/MimeType.py,sha256=Zpi6zCalkSFgsvhzvOs-O1gYA04usAi9H__Q
267
267
  phoenix/server/api/types/Model.py,sha256=8UIFqMe1q-2ufBNg-gxHusV8wM1h-KbfLUeJjyVcMvQ,8081
268
268
  phoenix/server/api/types/NumericRange.py,sha256=afEjgF97Go_OvmjMggbPBt-zGM8IONewAyEiKEHRds0,192
269
269
  phoenix/server/api/types/PerformanceMetric.py,sha256=KFkmJDqP43eDUtARQOUqR7NYcxvL6Vh2uisHWU6H3ko,387
270
- phoenix/server/api/types/Project.py,sha256=16G8f87uq8AtTT2TrfzCuuxoEm39R97woE6-F8QVrJA,20004
270
+ phoenix/server/api/types/Project.py,sha256=Rtggx5_X9SfVeepxjRt8Qfy0H2EY26U5kUQq_geuZNI,20573
271
271
  phoenix/server/api/types/ProjectSession.py,sha256=fyfVtpUpFOTnBx8DFnH3dr7WXAssN0ooAgrQSSi7kEI,4677
272
272
  phoenix/server/api/types/Prompt.py,sha256=ccP4eq1e38xbF0afclGWLOuDpBVpNbJ3AOSRClF8yFQ,4955
273
273
  phoenix/server/api/types/PromptLabel.py,sha256=g3IDSPYRZwb0qpMAk93R6J96jgYULUYGOciTnpeh3sI,1321
@@ -314,16 +314,16 @@ 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=pTW5xQEVnoK8tAdoz5-asMmrpzml1h31ftm9_M8F6gw,2165
318
- phoenix/server/static/assets/components-C9nEyUpZ.js,sha256=i71zLD7zi-pQNVrDIFjtcG5t8twnBvudQJ7_wJ4J2PI,446081
319
- phoenix/server/static/assets/index-Byq5IvLD.js,sha256=riJ-KFeco3j9EJKhMu087mznN7t9v757jcn5zNP8B90,60161
320
- phoenix/server/static/assets/pages-DHlvPcZL.js,sha256=jVsmXPaOwOKQW8aAn61XTDMKh47k61_XEKfYYi2mOr4,854429
321
- phoenix/server/static/assets/vendor-BT2CVKel.js,sha256=LIV-43bFP85LEFu5QFr5WFcpwKYVMqop0ofrf0RzAVY,2492285
317
+ phoenix/server/static/.vite/manifest.json,sha256=g3TtzLmPn2LowZbb0paP39Sp1mk6ktPbydYsiOSXXKc,2165
318
+ phoenix/server/static/assets/components-DLQsAsXI.js,sha256=Mo8iOm-UIXg4KDUZ_Bxlp3PEdDaNdIlZKn_HKqUbX3Q,446556
319
+ phoenix/server/static/assets/index-3uBdi_Kh.js,sha256=XL23cCzzqw5LEe1eLO7lG0mWxbcve6fnG8LnPGMNmQc,60234
320
+ phoenix/server/static/assets/pages-CQ49cFqk.js,sha256=mwubMP-MB0-WXrkoOkk_ybp3QYg8LN0H6voqYAK--1Y,860217
322
321
  phoenix/server/static/assets/vendor-Cg6lcjUC.css,sha256=nZrkr0u6NNElFGvpWHk9GTHeGoibCXCli1bE7mXZGZg,1816
323
- phoenix/server/static/assets/vendor-arizeai-Dzsaenki.js,sha256=NIKV6W5-cOcwg_FI772zlcl6kInoGOsiZyUbQczUxsU,194761
324
- phoenix/server/static/assets/vendor-codemirror-D2R3PB3i.js,sha256=Flqm5GUuOzUTGcOSvRX5kgiVzw4rsdGwHWLHub1pXO8,781264
325
- phoenix/server/static/assets/vendor-recharts-DetvdWCF.js,sha256=d0S4GSxX7tULCrHYdN8fShQlpvBsp_I_0Zo2lcnDKtM,282095
326
- phoenix/server/static/assets/vendor-shiki-dzrzjP7E.js,sha256=UOKVc-SwXFsvb_Q0tT8oZq7Vrvead4bDUfu3bpmGrAs,8980312
322
+ phoenix/server/static/assets/vendor-DzTYZE0m.js,sha256=kWUpHw-2RE41VrpA-E3G3yReT8tMF6pdFGIunRgpGaU,2503909
323
+ phoenix/server/static/assets/vendor-arizeai-MSqbWSh7.js,sha256=OqQJZS6phDog79D3AKFzY36dby_rK7ryoBBHAq7B0EI,194761
324
+ phoenix/server/static/assets/vendor-codemirror-BkyHpLbv.js,sha256=iphIMP4EgCU3z1mrG201WhhYJiCKYMri1CiR-BYGNBg,781264
325
+ phoenix/server/static/assets/vendor-recharts-BNpDMM_n.js,sha256=mQ4LNoavSqRY4C85vosZQDAZTuYwI9F4NfAAXeCU8ZE,282109
326
+ phoenix/server/static/assets/vendor-shiki-43FrwhkU.js,sha256=FNpZLPHXQnVcTy9Z2rbZPRc3JfWNUx-_hGAnbRPPsDg,8980312
327
327
  phoenix/server/static/assets/vendor-three-C5WAXd5r.js,sha256=ELkg06u70N7h8oFmvqdoHyPuUf9VgGEWeT4LKFx4VWo,620975
328
328
  phoenix/server/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
329
  phoenix/server/templates/index.html,sha256=e8_jdi7Eo19SK7DI_gglkTW094D17E0VAegoMmmmvIc,4330
@@ -350,7 +350,7 @@ phoenix/trace/dsl/README.md,sha256=ihmP9zGUC5V-TDbzKla76LuyDqPDQIBUH2BORwxNI68,2
350
350
  phoenix/trace/dsl/__init__.py,sha256=WIQIjJg362XD3s50OsPJJ0xbDsGp41bSv7vDllLrPuA,144
351
351
  phoenix/trace/dsl/filter.py,sha256=yCmQKvIh7SA5Q-bQ-MKMlYY34lZnG39MLEmL2A93MTw,30472
352
352
  phoenix/trace/dsl/helpers.py,sha256=pJESAz7sDNE7HTVCFzxIx5sEsyUSh7RIN7yqmndAaF8,4171
353
- phoenix/trace/dsl/query.py,sha256=LTbCm4rOJdvF9ahW4au0y9VyeS4vw6qP8AzixhRopBs,30365
353
+ phoenix/trace/dsl/query.py,sha256=ePqfY6ssyHX3E1QQYsxMz_mr-1Uiq6GKQHEb_-3wrdg,31753
354
354
  phoenix/trace/v1/__init__.py,sha256=-IbAD0ruESMjvQLvGAg9CTfjBUATFDx1OXseDPis6-0,88
355
355
  phoenix/trace/v1/evaluation_pb2.py,sha256=8sXvv2BW_vqD30MOMbmkeE2zpmm7ncik21kl3e-HzeQ,2254
356
356
  phoenix/trace/v1/evaluation_pb2.pyi,sha256=cCbbx06gwQmaH14s3J1X25TtaARh-k1abbxQdQCXGm8,4500
@@ -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.18.0.dist-info/METADATA,sha256=Bevf7ThIVCXbh3CXstcGx3vji0BzrBsBiylTA5a53AU,21378
368
- arize_phoenix-8.18.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
369
- arize_phoenix-8.18.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
370
- arize_phoenix-8.18.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
371
- arize_phoenix-8.18.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
372
- arize_phoenix-8.18.0.dist-info/RECORD,,
367
+ arize_phoenix-8.19.0.dist-info/METADATA,sha256=lO4XXWEUHlgPSEUi-fCCrT7dQSGJ7lraYqmSxDAbGEE,21378
368
+ arize_phoenix-8.19.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
369
+ arize_phoenix-8.19.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
370
+ arize_phoenix-8.19.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
371
+ arize_phoenix-8.19.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
372
+ arize_phoenix-8.19.0.dist-info/RECORD,,
phoenix/config.py CHANGED
@@ -122,6 +122,14 @@ ENV_PHOENIX_ENABLE_WEBSOCKETS = "PHOENIX_ENABLE_WEBSOCKETS"
122
122
  Whether or not to enable websockets. Defaults to None.
123
123
  """
124
124
 
125
+ ENV_PHOENIX_DANGEROUSLY_DISABLE_MIGRATIONS = "PHOENIX_DANGEROUSLY_DISABLE_MIGRATIONS"
126
+ """
127
+ Whether or not to disable migrations. Defaults to None / False.
128
+
129
+ This should only be used by developers working on the Phoenix server that need to be
130
+ switching between branches without having to run migrations.
131
+ """
132
+
125
133
  # Phoenix server OpenTelemetry instrumentation environment variables
126
134
  ENV_PHOENIX_SERVER_INSTRUMENTATION_OTLP_TRACE_COLLECTOR_HTTP_ENDPOINT = (
127
135
  "PHOENIX_SERVER_INSTRUMENTATION_OTLP_TRACE_COLLECTOR_HTTP_ENDPOINT"
@@ -933,6 +941,10 @@ def _get_default_idp_display_name(idp_name: str) -> str:
933
941
  return idp_name.replace("_", " ").title()
934
942
 
935
943
 
944
+ def get_env_disable_migrations() -> bool:
945
+ return _bool_val(ENV_PHOENIX_DANGEROUSLY_DISABLE_MIGRATIONS, False)
946
+
947
+
936
948
  DEFAULT_PROJECT_NAME = "default"
937
949
  _KUBERNETES_PHOENIX_PORT_PATTERN = re.compile(r"^tcp://\d{1,3}[.]\d{1,3}[.]\d{1,3}[.]\d{1,3}:\d+$")
938
950
 
phoenix/db/engines.py CHANGED
@@ -64,7 +64,7 @@ def get_async_db_url(connection_str: str) -> URL:
64
64
 
65
65
  def create_engine(
66
66
  connection_str: str,
67
- migrate: bool = True,
67
+ migrate: bool = not Settings.disable_migrations,
68
68
  log_to_stdout: bool = False,
69
69
  ) -> AsyncEngine:
70
70
  """
@@ -224,6 +224,7 @@ class Project(Node):
224
224
  sort: Optional[SpanSort] = UNSET,
225
225
  root_spans_only: Optional[bool] = UNSET,
226
226
  filter_condition: Optional[str] = UNSET,
227
+ orphan_span_as_root_span: Optional[bool] = True,
227
228
  ) -> Connection[Span]:
228
229
  stmt = (
229
230
  select(models.Span.id)
@@ -236,13 +237,20 @@ class Project(Node):
236
237
  if time_range.end:
237
238
  stmt = stmt.where(models.Span.start_time < time_range.end)
238
239
  if root_spans_only:
239
- # A root span is any span whose parent span is missing in the
240
- # database, even if its `parent_span_id` may not be NULL.
241
- parent = select(models.Span.span_id).alias()
242
- stmt = stmt.outerjoin(
243
- parent,
244
- models.Span.parent_id == parent.c.span_id,
245
- ).where(parent.c.span_id.is_(None))
240
+ # A root span is either a span with no parent_id or an orphan span
241
+ # (a span whose parent_id references a span that doesn't exist in the database)
242
+ if orphan_span_as_root_span:
243
+ # Include both types of root spans
244
+ parent_spans = select(models.Span.span_id).alias("parent_spans")
245
+ stmt = stmt.where(
246
+ ~select(1).where(models.Span.parent_id == parent_spans.c.span_id).exists()
247
+ # Note: We avoid using an OR clause with Span.parent_id.is_(None) here
248
+ # because it significantly degraded PostgreSQL performance (>10x worse)
249
+ # during testing.
250
+ )
251
+ else:
252
+ # Only include explicit root spans (spans with parent_id = NULL)
253
+ stmt = stmt.where(models.Span.parent_id.is_(None))
246
254
  if filter_condition:
247
255
  span_filter = SpanFilter(condition=filter_condition)
248
256
  stmt = span_filter(stmt)
phoenix/server/app.py CHANGED
@@ -131,6 +131,7 @@ from phoenix.server.types import (
131
131
  LastUpdatedAt,
132
132
  TokenStore,
133
133
  )
134
+ from phoenix.settings import Settings
134
135
  from phoenix.trace.fixtures import (
135
136
  TracesFixture,
136
137
  get_dataset_fixtures,
@@ -669,7 +670,11 @@ def create_engine_and_run_migrations(
669
670
  database_url: str,
670
671
  ) -> AsyncEngine:
671
672
  try:
672
- return create_engine(connection_str=database_url, migrate=True, log_to_stdout=False)
673
+ return create_engine(
674
+ connection_str=database_url,
675
+ migrate=not Settings.disable_migrations,
676
+ log_to_stdout=False,
677
+ )
673
678
  except PhoenixMigrationError as e:
674
679
  msg = (
675
680
  "\n\n⚠️⚠️ Phoenix failed to migrate the database to the latest version. ⚠️⚠️\n\n"
phoenix/server/main.py CHANGED
@@ -20,6 +20,7 @@ from phoenix.config import (
20
20
  get_env_database_connection_str,
21
21
  get_env_database_schema,
22
22
  get_env_db_logging_level,
23
+ get_env_disable_migrations,
23
24
  get_env_enable_prometheus,
24
25
  get_env_enable_websockets,
25
26
  get_env_grpc_port,
@@ -431,6 +432,7 @@ def initialize_settings() -> None:
431
432
  Settings.logging_level = get_env_logging_level()
432
433
  Settings.db_logging_level = get_env_db_logging_level()
433
434
  Settings.log_migrations = get_env_log_migrations()
435
+ Settings.disable_migrations = get_env_disable_migrations()
434
436
 
435
437
 
436
438
  if __name__ == "__main__":
@@ -1,28 +1,32 @@
1
1
  {
2
- "_components-C9nEyUpZ.js": {
3
- "file": "assets/components-C9nEyUpZ.js",
2
+ "_components-DLQsAsXI.js": {
3
+ "file": "assets/components-DLQsAsXI.js",
4
4
  "name": "components",
5
5
  "imports": [
6
- "_vendor-BT2CVKel.js",
7
- "_pages-DHlvPcZL.js",
8
- "_vendor-arizeai-Dzsaenki.js",
9
- "_vendor-codemirror-D2R3PB3i.js",
6
+ "_vendor-DzTYZE0m.js",
7
+ "_pages-CQ49cFqk.js",
8
+ "_vendor-arizeai-MSqbWSh7.js",
9
+ "_vendor-codemirror-BkyHpLbv.js",
10
10
  "_vendor-three-C5WAXd5r.js"
11
11
  ]
12
12
  },
13
- "_pages-DHlvPcZL.js": {
14
- "file": "assets/pages-DHlvPcZL.js",
13
+ "_pages-CQ49cFqk.js": {
14
+ "file": "assets/pages-CQ49cFqk.js",
15
15
  "name": "pages",
16
16
  "imports": [
17
- "_vendor-BT2CVKel.js",
18
- "_vendor-arizeai-Dzsaenki.js",
19
- "_components-C9nEyUpZ.js",
20
- "_vendor-codemirror-D2R3PB3i.js",
21
- "_vendor-recharts-DetvdWCF.js"
17
+ "_vendor-DzTYZE0m.js",
18
+ "_vendor-arizeai-MSqbWSh7.js",
19
+ "_components-DLQsAsXI.js",
20
+ "_vendor-codemirror-BkyHpLbv.js",
21
+ "_vendor-recharts-BNpDMM_n.js"
22
22
  ]
23
23
  },
24
- "_vendor-BT2CVKel.js": {
25
- "file": "assets/vendor-BT2CVKel.js",
24
+ "_vendor-Cg6lcjUC.css": {
25
+ "file": "assets/vendor-Cg6lcjUC.css",
26
+ "src": "_vendor-Cg6lcjUC.css"
27
+ },
28
+ "_vendor-DzTYZE0m.js": {
29
+ "file": "assets/vendor-DzTYZE0m.js",
26
30
  "name": "vendor",
27
31
  "imports": [
28
32
  "_vendor-three-C5WAXd5r.js"
@@ -31,37 +35,33 @@
31
35
  "assets/vendor-Cg6lcjUC.css"
32
36
  ]
33
37
  },
34
- "_vendor-Cg6lcjUC.css": {
35
- "file": "assets/vendor-Cg6lcjUC.css",
36
- "src": "_vendor-Cg6lcjUC.css"
37
- },
38
- "_vendor-arizeai-Dzsaenki.js": {
39
- "file": "assets/vendor-arizeai-Dzsaenki.js",
38
+ "_vendor-arizeai-MSqbWSh7.js": {
39
+ "file": "assets/vendor-arizeai-MSqbWSh7.js",
40
40
  "name": "vendor-arizeai",
41
41
  "imports": [
42
- "_vendor-BT2CVKel.js"
42
+ "_vendor-DzTYZE0m.js"
43
43
  ]
44
44
  },
45
- "_vendor-codemirror-D2R3PB3i.js": {
46
- "file": "assets/vendor-codemirror-D2R3PB3i.js",
45
+ "_vendor-codemirror-BkyHpLbv.js": {
46
+ "file": "assets/vendor-codemirror-BkyHpLbv.js",
47
47
  "name": "vendor-codemirror",
48
48
  "imports": [
49
- "_vendor-BT2CVKel.js",
50
- "_vendor-shiki-dzrzjP7E.js"
49
+ "_vendor-DzTYZE0m.js",
50
+ "_vendor-shiki-43FrwhkU.js"
51
51
  ]
52
52
  },
53
- "_vendor-recharts-DetvdWCF.js": {
54
- "file": "assets/vendor-recharts-DetvdWCF.js",
53
+ "_vendor-recharts-BNpDMM_n.js": {
54
+ "file": "assets/vendor-recharts-BNpDMM_n.js",
55
55
  "name": "vendor-recharts",
56
56
  "imports": [
57
- "_vendor-BT2CVKel.js"
57
+ "_vendor-DzTYZE0m.js"
58
58
  ]
59
59
  },
60
- "_vendor-shiki-dzrzjP7E.js": {
61
- "file": "assets/vendor-shiki-dzrzjP7E.js",
60
+ "_vendor-shiki-43FrwhkU.js": {
61
+ "file": "assets/vendor-shiki-43FrwhkU.js",
62
62
  "name": "vendor-shiki",
63
63
  "imports": [
64
- "_vendor-BT2CVKel.js"
64
+ "_vendor-DzTYZE0m.js"
65
65
  ]
66
66
  },
67
67
  "_vendor-three-C5WAXd5r.js": {
@@ -69,19 +69,19 @@
69
69
  "name": "vendor-three"
70
70
  },
71
71
  "index.tsx": {
72
- "file": "assets/index-Byq5IvLD.js",
72
+ "file": "assets/index-3uBdi_Kh.js",
73
73
  "name": "index",
74
74
  "src": "index.tsx",
75
75
  "isEntry": true,
76
76
  "imports": [
77
- "_vendor-BT2CVKel.js",
78
- "_vendor-arizeai-Dzsaenki.js",
79
- "_pages-DHlvPcZL.js",
80
- "_components-C9nEyUpZ.js",
77
+ "_vendor-DzTYZE0m.js",
78
+ "_vendor-arizeai-MSqbWSh7.js",
79
+ "_pages-CQ49cFqk.js",
80
+ "_components-DLQsAsXI.js",
81
81
  "_vendor-three-C5WAXd5r.js",
82
- "_vendor-codemirror-D2R3PB3i.js",
83
- "_vendor-shiki-dzrzjP7E.js",
84
- "_vendor-recharts-DetvdWCF.js"
82
+ "_vendor-codemirror-BkyHpLbv.js",
83
+ "_vendor-shiki-43FrwhkU.js",
84
+ "_vendor-recharts-BNpDMM_n.js"
85
85
  ]
86
86
  }
87
87
  }