feat: Enhance Observability with ArizePhoenixTracer Integration (#5058)

* Added ArizePhoenixTracer

* [autofix.ci] apply automated fixes

* Fixed Ruff Style Check Errors

* add Arize icon

* Fixed Mypy Errors

* Refactor ArizeIcon component to use arrow function syntax

Co-authored-by: Jeff Carpenter <jeffrey.carpenter@datastax.com>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
This commit is contained in:
Ali Saleh 2024-12-05 21:09:02 +05:00 • committed by GitHub
commit 7c01b5a040
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 453 additions and 0 deletions

View file

@ -0,0 +1,20 @@
const SvgArize = (props) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="823"
height="807"
viewBox="0 0 823 807"
{...props}
>
<path
fill="#EE2C8B"
d="m451 30 2.227 1.594C461.463 38.183 467.08 47.396 473 56l1.594 2.312c2.669 3.876 5.322 7.762 7.969 11.653 3.713 5.453 7.478 10.871 11.25 16.285a37210.514 37210.514 0 0 0 6.14 8.81q5.026 7.218 10.047 14.44l4 5.75 40 57.5 2.001 2.877q1.995 2.866 3.988 5.733 5.091 7.32 10.187 14.636c5.837 8.383 11.674 16.766 17.449 25.191 4.57 6.666 9.198 13.29 13.837 19.906 6.52 9.3 13.001 18.627 19.484 27.953q3.117 4.482 6.238 8.962c5.834 8.379 11.668 16.758 17.441 25.18 4.57 6.665 9.198 13.288 13.837 19.905 6.52 9.3 13.001 18.627 19.484 27.953q3.117 4.482 6.238 8.962c5.834 8.379 11.668 16.758 17.441 25.18 4.57 6.665 9.198 13.288 13.837 19.905 6.52 9.3 13.001 18.627 19.484 27.953q3.117 4.482 6.238 8.962c5.834 8.379 11.668 16.758 17.441 25.18a2035 2035 0 0 0 12.063 17.375c14.872 21.225 14.872 21.225 21.42 30.702q1.839 2.658 3.685 5.31C809.298 540 817 558.968 812.813 583.062c-1.319 6.836-3.477 12.834-6.813 18.938l-1.375 2.578c-8.507 15.073-22.217 26.158-38.77 31.422-5.58 1.46-11.108 2.529-16.855 3l-1.926.16c-18.082.783-36.106-6.549-49.886-17.91-7.241-6.766-12.611-15.118-18.188-23.25l-1.622-2.355a2641 2641 0 0 1-8.073-11.81c-3.332-4.89-6.718-9.741-10.117-14.585-9.663-13.772-19.3-27.561-28.813-41.437-4.57-6.666-9.198-13.29-13.837-19.906-6.52-9.3-13.001-18.627-19.484-27.953q-3.117-4.482-6.238-8.962c-5.834-8.379-11.668-16.758-17.441-25.18-4.57-6.665-9.198-13.288-13.837-19.905-6.52-9.3-13.001-18.627-19.484-27.953q-3.117-4.482-6.238-8.962c-5.834-8.379-11.668-16.758-17.441-25.18-4.57-6.665-9.198-13.288-13.837-19.905-6.52-9.3-13.001-18.627-19.484-27.953q-3.117-4.482-6.238-8.962c-11.473-16.476-11.473-16.476-16.231-23.42-1.741-2.54-3.49-5.075-5.239-7.611a863 863 0 0 1-2.813-4.125C444.018 259.285 435.899 248.007 422 241l-1.879-1.027c-7.75-3.633-18.27-3.348-26.246-.598C381.837 245.114 373.447 254.18 366 265l-1.467 2.114c-2.73 3.943-5.433 7.904-8.123 11.874-3.36 4.954-6.782 9.863-10.223 14.762-9.662 13.772-19.3 27.561-28.812 41.438-4.57 6.665-9.198 13.288-13.837 19.905-6.52 9.3-13.001 18.627-19.484 27.953q-3.117 4.482-6.238 8.962c-5.834 8.379-11.668 16.758-17.441 25.18-4.57 6.665-9.198 13.288-13.837 19.905-6.52 9.3-13.001 18.627-19.484 27.953q-3.117 4.482-6.238 8.962c-5.834 8.379-11.668 16.758-17.441 25.18-4.57 6.665-9.198 13.288-13.837 19.905-6.52 9.3-13.001 18.627-19.484 27.953q-3.117 4.482-6.238 8.962c-5.834 8.379-11.667 16.758-17.441 25.18Q143.69 585.096 141 589l-1.68 2.442C123.518 614.38 108.918 633 79.855 638.398c-17.483 2.552-35.658-1.514-50.261-11.457-16.17-12.103-25.2-27.585-29.281-47.254-2.315-27.315 8.336-45.857 23.585-67.304a856 856 0 0 0 8.477-12.196 1951 1951 0 0 1 12.313-17.75 9072 9072 0 0 0 21.258-30.483q3.117-4.482 6.238-8.962c5.834-8.379 11.668-16.758 17.441-25.18 4.57-6.665 9.198-13.288 13.837-19.905 6.52-9.3 13.001-18.627 19.484-27.953q3.117-4.482 6.238-8.962c5.834-8.379 11.668-16.758 17.441-25.18 4.57-6.665 9.198-13.288 13.837-19.905 6.52-9.3 13.001-18.627 19.484-27.953q3.117-4.482 6.238-8.962c5.834-8.379 11.668-16.758 17.441-25.18 4.57-6.665 9.198-13.288 13.837-19.905 6.527-9.31 13.016-18.647 19.506-27.984a38524 38524 0 0 1 12.02-17.282q5.092-7.32 10.188-14.637c5.837-8.383 11.674-16.766 17.449-25.191 4.57-6.666 9.198-13.29 13.837-19.906 6.52-9.3 13.001-18.627 19.484-27.953q3.117-4.482 6.238-8.962c5.877-8.44 11.751-16.883 17.566-25.367q1.948-2.834 3.9-5.664 1.419-2.062 2.833-4.125c15.224-22.165 29.843-36.059 57.115-41.332C416.54 12.698 435.684 18.879 451 30"
></path>
<path
fill="#EE2C8A"
d="M460.543 655.941C476.174 669.038 488.656 688.385 491 709c1.912 26.065-2.94 48.653-20 69-14.01 16.165-34.113 26.37-55.375 28.75q-2.31.156-4.625.25l-2.117.121c-20.961.653-42.347-7.16-57.883-21.121l-2.785-2.5c-16.102-15.238-25.322-36.43-26.246-58.55.178-22.55 6.822-42.883 22.031-59.95.665-.76 1.33-1.519 2.016-2.3 9.578-10.271 21.872-16.981 34.984-21.7l2.855-1.031c26.5-7.725 55.232-.53 76.688 15.972"
></path>
</svg>
);
export default SvgArize;

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9 KiB

View file

@ -0,0 +1,8 @@
import React, { forwardRef } from "react";
import SvgArize from "./Arize";
export const ArizeIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
(props, ref) => {
return <SvgArize ref={ref} {...props} />;
},
);

View file

@ -233,6 +233,7 @@ import { FaApple, FaDiscord, FaGithub } from "react-icons/fa";
import { AWSIcon } from "../icons/AWS";
import { AirbyteIcon } from "../icons/Airbyte";
import { AnthropicIcon } from "../icons/Anthropic";
import { ArizeIcon } from "../icons/Arize";
import { AssemblyAIIcon } from "../icons/AssemblyAI";
import { AstraDBIcon } from "../icons/AstraDB";
import { AzureIcon } from "../icons/Azure";
@ -704,6 +705,7 @@ export const nodeIconsLucide: iconsType = {
SerpSearch: SerpSearchIcon,
SearchAPI: SearchAPIIcon,
Wikipedia: WikipediaIcon,
Arize: ArizeIcon,
//Node Icons
model_specs: FileSliders,