From 9caee199bd1fdc3d291e49f77b12bed09fbbcff9 Mon Sep 17 00:00:00 2001 From: Paul Williams Date: Mon, 5 Aug 2024 12:51:40 -0700 Subject: [PATCH 1/2] Update SIGNALFX_ENDPOINT_URL env var value for Apache --- .../php/sfx/instrumentation/instrument-php-application.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdi/get-data-in/application/php/sfx/instrumentation/instrument-php-application.rst b/gdi/get-data-in/application/php/sfx/instrumentation/instrument-php-application.rst index cb2e355d3..486f3eda5 100644 --- a/gdi/get-data-in/application/php/sfx/instrumentation/instrument-php-application.rst +++ b/gdi/get-data-in/application/php/sfx/instrumentation/instrument-php-application.rst @@ -78,7 +78,7 @@ Follow these steps to automatically instrument your application: # Add the following lines to your Apache configuration file SetEnv SIGNALFX_SERVICE_NAME="" - SetEnv SIGNALFX_ENDPOINT_URL='http://localhost:9080/v1/trace' + SetEnv SIGNALFX_ENDPOINT_URL='http://localhost:9411/api/v2/traces' SetEnv SIGNALFX_TRACE_GLOBAL_TAGS="deployment.environment:" .. tab:: Terminal From 74efcc7091752c572c0a5e1965ab14fbbc8c3d8b Mon Sep 17 00:00:00 2001 From: Paul Williams Date: Wed, 7 Aug 2024 07:21:05 -0700 Subject: [PATCH 2/2] Change endpoint to /spans --- .../php/sfx/instrumentation/instrument-php-application.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdi/get-data-in/application/php/sfx/instrumentation/instrument-php-application.rst b/gdi/get-data-in/application/php/sfx/instrumentation/instrument-php-application.rst index 486f3eda5..3b4eda277 100644 --- a/gdi/get-data-in/application/php/sfx/instrumentation/instrument-php-application.rst +++ b/gdi/get-data-in/application/php/sfx/instrumentation/instrument-php-application.rst @@ -78,7 +78,7 @@ Follow these steps to automatically instrument your application: # Add the following lines to your Apache configuration file SetEnv SIGNALFX_SERVICE_NAME="" - SetEnv SIGNALFX_ENDPOINT_URL='http://localhost:9411/api/v2/traces' + SetEnv SIGNALFX_ENDPOINT_URL='http://localhost:9411/api/v2/spans' SetEnv SIGNALFX_TRACE_GLOBAL_TAGS="deployment.environment:" .. tab:: Terminal