arize-phoenix 11.6.2__py3-none-any.whl → 11.8.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-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/METADATA +22 -10
- {arize_phoenix-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/RECORD +34 -33
- phoenix/config.py +33 -0
- phoenix/datetime_utils.py +112 -1
- phoenix/db/helpers.py +156 -1
- phoenix/experiments/functions.py +66 -20
- phoenix/experiments/tracing.py +2 -2
- phoenix/server/api/auth.py +28 -6
- phoenix/server/api/dataloaders/span_cost_summary_by_experiment.py +6 -7
- phoenix/server/api/exceptions.py +6 -0
- phoenix/server/api/input_types/TimeBinConfig.py +23 -0
- phoenix/server/api/routers/oauth2.py +19 -2
- phoenix/server/api/types/CostBreakdown.py +4 -7
- phoenix/server/api/types/Project.py +341 -73
- phoenix/server/app.py +7 -3
- phoenix/server/authorization.py +27 -2
- phoenix/server/cost_tracking/cost_details_calculator.py +22 -16
- phoenix/server/daemons/span_cost_calculator.py +2 -8
- phoenix/server/email/sender.py +2 -1
- phoenix/server/email/templates/db_disk_usage_notification.html +3 -0
- phoenix/server/static/.vite/manifest.json +36 -36
- phoenix/server/static/assets/{components-BZHttBll.js → components-5M9nebi4.js} +363 -283
- phoenix/server/static/assets/{index-AbJf1oNh.js → index-OU2WTnGN.js} +27 -20
- phoenix/server/static/assets/{pages-5yQ-jl70.js → pages-DF8rqxJ4.js} +416 -396
- phoenix/server/static/assets/{vendor-DRWIRkSJ.js → vendor-Bl7CyFDw.js} +147 -147
- phoenix/server/static/assets/{vendor-arizeai-DUhQaeau.js → vendor-arizeai-B_viEUUA.js} +18 -480
- phoenix/server/static/assets/{vendor-codemirror-D_6Q6Auv.js → vendor-codemirror-vlcH1_iR.js} +1 -1
- phoenix/server/static/assets/{vendor-recharts-BNBwj7vz.js → vendor-recharts-C9cQu72o.js} +25 -25
- phoenix/server/static/assets/{vendor-shiki-k1qj_XjP.js → vendor-shiki-BsknB7bv.js} +1 -1
- phoenix/version.py +1 -1
- {arize_phoenix-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/licenses/LICENSE +0 -0
phoenix/server/email/sender.py
CHANGED
|
@@ -8,7 +8,7 @@ from anyio import to_thread
|
|
|
8
8
|
from jinja2 import Environment, FileSystemLoader, select_autoescape
|
|
9
9
|
from typing_extensions import TypeAlias
|
|
10
10
|
|
|
11
|
-
from phoenix.config import get_env_root_url
|
|
11
|
+
from phoenix.config import get_env_root_url, get_env_support_email
|
|
12
12
|
|
|
13
13
|
EMAIL_TEMPLATE_FOLDER = Path(__file__).parent / "templates"
|
|
14
14
|
|
|
@@ -96,6 +96,7 @@ class SimpleEmailSender:
|
|
|
96
96
|
current_usage_gibibytes=current_usage_gibibytes,
|
|
97
97
|
allocated_storage_gibibytes=allocated_storage_gibibytes,
|
|
98
98
|
notification_threshold_percentage=notification_threshold_percentage,
|
|
99
|
+
support_email=get_env_support_email(),
|
|
99
100
|
)
|
|
100
101
|
|
|
101
102
|
msg = EmailMessage()
|
|
@@ -12,5 +12,8 @@
|
|
|
12
12
|
<p><strong>Usage Percentage:</strong> {{ ((current_usage_gibibytes / allocated_storage_gibibytes) * 100)|round(1) }}%</p>
|
|
13
13
|
<p><strong>Notification Threshold:</strong> {{ notification_threshold_percentage }}%</p>
|
|
14
14
|
<p>Please consider removing old data or increasing your storage allocation to prevent interruption.</p>
|
|
15
|
+
{% if support_email %}
|
|
16
|
+
<p>If you need assistance, please contact support at <a id="support-email" href="mailto:{{ support_email }}">{{ support_email }}</a>.</p>
|
|
17
|
+
{% endif %}
|
|
15
18
|
</body>
|
|
16
19
|
</html>
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_components-
|
|
3
|
-
"file": "assets/components-
|
|
2
|
+
"_components-5M9nebi4.js": {
|
|
3
|
+
"file": "assets/components-5M9nebi4.js",
|
|
4
4
|
"name": "components",
|
|
5
5
|
"imports": [
|
|
6
|
-
"_vendor-
|
|
7
|
-
"_pages-
|
|
8
|
-
"_vendor-arizeai-
|
|
9
|
-
"_vendor-codemirror-
|
|
6
|
+
"_vendor-Bl7CyFDw.js",
|
|
7
|
+
"_pages-DF8rqxJ4.js",
|
|
8
|
+
"_vendor-arizeai-B_viEUUA.js",
|
|
9
|
+
"_vendor-codemirror-vlcH1_iR.js",
|
|
10
10
|
"_vendor-three-C5WAXd5r.js"
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
|
-
"_pages-
|
|
14
|
-
"file": "assets/pages-
|
|
13
|
+
"_pages-DF8rqxJ4.js": {
|
|
14
|
+
"file": "assets/pages-DF8rqxJ4.js",
|
|
15
15
|
"name": "pages",
|
|
16
16
|
"imports": [
|
|
17
|
-
"_vendor-
|
|
18
|
-
"_vendor-arizeai-
|
|
19
|
-
"_components-
|
|
20
|
-
"_vendor-codemirror-
|
|
21
|
-
"_vendor-recharts-
|
|
17
|
+
"_vendor-Bl7CyFDw.js",
|
|
18
|
+
"_vendor-arizeai-B_viEUUA.js",
|
|
19
|
+
"_components-5M9nebi4.js",
|
|
20
|
+
"_vendor-codemirror-vlcH1_iR.js",
|
|
21
|
+
"_vendor-recharts-C9cQu72o.js"
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
-
"_vendor-
|
|
25
|
-
"file": "assets/vendor-
|
|
24
|
+
"_vendor-Bl7CyFDw.js": {
|
|
25
|
+
"file": "assets/vendor-Bl7CyFDw.js",
|
|
26
26
|
"name": "vendor",
|
|
27
27
|
"imports": [
|
|
28
28
|
"_vendor-three-C5WAXd5r.js"
|
|
@@ -35,33 +35,33 @@
|
|
|
35
35
|
"file": "assets/vendor-WIZid84E.css",
|
|
36
36
|
"src": "_vendor-WIZid84E.css"
|
|
37
37
|
},
|
|
38
|
-
"_vendor-arizeai-
|
|
39
|
-
"file": "assets/vendor-arizeai-
|
|
38
|
+
"_vendor-arizeai-B_viEUUA.js": {
|
|
39
|
+
"file": "assets/vendor-arizeai-B_viEUUA.js",
|
|
40
40
|
"name": "vendor-arizeai",
|
|
41
41
|
"imports": [
|
|
42
|
-
"_vendor-
|
|
42
|
+
"_vendor-Bl7CyFDw.js"
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
|
-
"_vendor-codemirror-
|
|
46
|
-
"file": "assets/vendor-codemirror-
|
|
45
|
+
"_vendor-codemirror-vlcH1_iR.js": {
|
|
46
|
+
"file": "assets/vendor-codemirror-vlcH1_iR.js",
|
|
47
47
|
"name": "vendor-codemirror",
|
|
48
48
|
"imports": [
|
|
49
|
-
"_vendor-
|
|
50
|
-
"_vendor-shiki-
|
|
49
|
+
"_vendor-Bl7CyFDw.js",
|
|
50
|
+
"_vendor-shiki-BsknB7bv.js"
|
|
51
51
|
]
|
|
52
52
|
},
|
|
53
|
-
"_vendor-recharts-
|
|
54
|
-
"file": "assets/vendor-recharts-
|
|
53
|
+
"_vendor-recharts-C9cQu72o.js": {
|
|
54
|
+
"file": "assets/vendor-recharts-C9cQu72o.js",
|
|
55
55
|
"name": "vendor-recharts",
|
|
56
56
|
"imports": [
|
|
57
|
-
"_vendor-
|
|
57
|
+
"_vendor-Bl7CyFDw.js"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"_vendor-shiki-
|
|
61
|
-
"file": "assets/vendor-shiki-
|
|
60
|
+
"_vendor-shiki-BsknB7bv.js": {
|
|
61
|
+
"file": "assets/vendor-shiki-BsknB7bv.js",
|
|
62
62
|
"name": "vendor-shiki",
|
|
63
63
|
"imports": [
|
|
64
|
-
"_vendor-
|
|
64
|
+
"_vendor-Bl7CyFDw.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-
|
|
72
|
+
"file": "assets/index-OU2WTnGN.js",
|
|
73
73
|
"name": "index",
|
|
74
74
|
"src": "index.tsx",
|
|
75
75
|
"isEntry": true,
|
|
76
76
|
"imports": [
|
|
77
|
-
"_vendor-
|
|
78
|
-
"_vendor-arizeai-
|
|
79
|
-
"_pages-
|
|
80
|
-
"_components-
|
|
77
|
+
"_vendor-Bl7CyFDw.js",
|
|
78
|
+
"_vendor-arizeai-B_viEUUA.js",
|
|
79
|
+
"_pages-DF8rqxJ4.js",
|
|
80
|
+
"_components-5M9nebi4.js",
|
|
81
81
|
"_vendor-three-C5WAXd5r.js",
|
|
82
|
-
"_vendor-codemirror-
|
|
83
|
-
"_vendor-shiki-
|
|
84
|
-
"_vendor-recharts-
|
|
82
|
+
"_vendor-codemirror-vlcH1_iR.js",
|
|
83
|
+
"_vendor-shiki-BsknB7bv.js",
|
|
84
|
+
"_vendor-recharts-C9cQu72o.js"
|
|
85
85
|
]
|
|
86
86
|
}
|
|
87
87
|
}
|