From 499db66d7d7804c8b0314d40375b3c81acdd6a54 Mon Sep 17 00:00:00 2001 From: JohnGilhuly Date: Tue, 8 Oct 2024 17:04:26 -0700 Subject: [PATCH] Update banner to use register function (#22) --- scripts/banner.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/banner.py b/scripts/banner.py index e576d6a..e501d6a 100644 --- a/scripts/banner.py +++ b/scripts/banner.py @@ -29,7 +29,7 @@ | 🚀 Phoenix Server 🚀 | Phoenix UI: https://{auth}@{endpoint} | -| Instrument your code with environment variables set to -| PHOENIX_COLLECTOR_ENDPOINT=https://{auth}@{endpoint} -| COLLECTOR_ENDPOINT=https://{auth}@{endpoint}/v1/traces +| Instrument your code with: +| from phoenix.otel import register +| register(endpoint="https://{auth}@{endpoint}/v1/traces") """.format(auth=values['SECRET'][0:32]+":"+values['SECRET'][32:], endpoint=values['SERVICE_APP_URI'][8:]))