-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: Add haystack note on using pipelines (GITBOOK-820) * docs: Adding videos to relevant pages (GITBOOK-819) * docs: Jeffrey's Aug 21 changes - Update section 2 to reflect time range (GITBOOK-822) * docs: Anthropic Instrumentation - Phoenix (GITBOOK-824) * docs: Anthropic tweaks - Phoenix (GITBOOK-825) * docs: Fix Anthropic page - Phoenix (GITBOOK-826) * docs: phoenix.otel quickstart changes (GITBOOK-828) * docs: phoenix.otel guide (GITBOOK-829) * docs: Beef up Tracing Overview page and refresh links (John reviewed) (GITBOOK-830) * docs: re-name headers (GITBOOK-831) * docs: No subject (GITBOOK-832) * docs: Make integrations a Grid (GITBOOK-833) * docs: vercel (GITBOOK-834) * docs: Send Traces from Phoenix to Arize (GITBOOK-835) * docs: Keep Send traces to Arize in Arize docs (GITBOOK-836) --------- Co-authored-by: John Gilhuly <jgilhuly@arize.com> Co-authored-by: David Burch <davidburch@arize.com> Co-authored-by: Jeffrey Peng <jpeng@arize.com> Co-authored-by: Parth Shisode <pshisode@arize.com> Co-authored-by: Dustin Ngo <dngo@arize.com> Co-authored-by: Dat Ngo <dat@arize.com> Co-authored-by: Eric Xiao <exiao@arize.com>
- Loading branch information
1 parent
63d0adb
commit 7faaba2
Showing
23 changed files
with
436 additions
and
71 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
description: How to customize OpenTelemetry and OpenInference for your setup | ||
--- | ||
|
||
# Configure Tracing | ||
|
||
### Span Processing | ||
|
||
The tutorials and code snippets in these docs default to the `SimpleSpanProcessor.` A `SimpleSpanProcessor` processes and exports spans as they are created. This means that if you create 5 spans, each will be processed and exported before the next span is created in code. This can be helpful in scenarios where you do not want to risk losing a batch, or if you’re experimenting with OpenTelemetry in development. However, it also comes with potentially significant overhead, especially if spans are being exported over a network - each time a call to create a span is made, it would be processed and sent over a network before your app’s execution could continue. | ||
|
||
 The `BatchSpanProcessor` processes spans in batches before they are exported. This is usually the right processor to use for an application in production but it does mean spans may take some time to show up in Phoenix. | ||
|
||
In production we recommend the `BatchSpanProcessor` over `SimpleSpanProcessor`\ | ||
when deployed and the `SimpleSpanProcessor` when developing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Setup Tracing | ||
|
||
Phoenix uses OTLP (OpenTelemetry Language Protocol) to receive traces from your application. First you will have to setup you application to send traces to phoenix. | ||
|
||
|
||
|
||
<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td></td><td><a data-mention href="setup-tracing-python/">setup-tracing-python</a></td><td></td><td><a href="../../../.gitbook/assets/python.png">python.png</a></td></tr><tr><td></td><td><a data-mention href="setup-tracing-ts.md">setup-tracing-ts.md</a></td><td></td><td><a href="../../../.gitbook/assets/javascript.png">javascript.png</a></td></tr></tbody></table> | ||
|
||
## Next Steps | ||
|
||
Phoenix supports many integrations in the form of auto-Instrumentors as well as manually creating spans by instrumenting your code: | ||
|
||
[instrumentation](../instrumentation/ "mention") | ||
|
||
[manual-instrumentation](../manual-instrumentation/ "mention") | ||
|
||
#### | ||
|
Oops, something went wrong.