From e3f8b5eadaabd72a708a8a87343f83756b6be0da Mon Sep 17 00:00:00 2001 From: Francis Guimond Date: Fri, 22 Nov 2024 09:54:37 -0500 Subject: [PATCH] fix(opamp): update default opamp endpoint The OpAmp endpoint with redirection has been moved to a different URL. Updating it. --- pkg/tools/otelcol-config/remote_control.go | 2 +- pkg/tools/otelcol-config/remote_control_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/tools/otelcol-config/remote_control.go b/pkg/tools/otelcol-config/remote_control.go index 357822516b..4817eeda26 100644 --- a/pkg/tools/otelcol-config/remote_control.go +++ b/pkg/tools/otelcol-config/remote_control.go @@ -8,7 +8,7 @@ import ( ) const ( - DefaultSumoLogicOpampEndpoint = "wss://opamp-events.sumologic.com/v1/opamp" + DefaultSumoLogicOpampEndpoint = "wss://opamp-collectors.sumologic.com/v1/opamp" DefaultConfigurationDirectory = "/etc/otelcol-sumo" DefaultRemoteConfigurationDirectory = "opamp.d" ) diff --git a/pkg/tools/otelcol-config/remote_control_test.go b/pkg/tools/otelcol-config/remote_control_test.go index bae5ef07ac..886f9c69c8 100644 --- a/pkg/tools/otelcol-config/remote_control_test.go +++ b/pkg/tools/otelcol-config/remote_control_test.go @@ -87,7 +87,7 @@ extensions: health_check: endpoint: localhost:13133 opamp: - endpoint: wss://opamp-events.sumologic.com/v1/opamp + endpoint: wss://opamp-collectors.sumologic.com/v1/opamp remote_configuration_directory: /etc/otelcol-sumo/opamp.d sumologic: collector_credentials_directory: /var/lib/otelcol-sumo/credentials