Add Phoenix OTLP tracing and LLM span attributes
This commit is contained in:
1 parent
f15459bb99
commit
1d0be56842
11 files changed
+244
-17
No files matched your search
@@ -121,6 +121,14 @@ export function getOtelExporter(): "stdout" | "none" {
|
||||
return getNodeEnv() === "dev" ? "none" : "stdout";
|
||||
}
|
||||
|
||||
export function getPhoenixOtlpEndpoint(): string | undefined {
|
||||
return process.env["PHOENIX_OTLP_ENDPOINT"]?.trim() || undefined;
|
||||
}
|
||||
|
||||
export function getPhoenixLogPrompts(): boolean {
|
||||
return getBoolean("PHOENIX_LOG_PROMPTS", false);
|
||||
}
|
||||
|
||||
export function getRequestSubject(): string {
|
||||
return (
|
||||
process.env["AGENT_REQUEST_SUBJECT"]?.trim() || "lolympus-agent.request"
|
||||
|
||||
Reference in new issue
Block a user