diff --git a/pkg/exporter/sumologicexporter/factory.go b/pkg/exporter/sumologicexporter/factory.go index d983957035..6b98604db2 100644 --- a/pkg/exporter/sumologicexporter/factory.go +++ b/pkg/exporter/sumologicexporter/factory.go @@ -51,7 +51,7 @@ func createDefaultConfig() component.Config { MetricFormat: DefaultMetricFormat, Client: DefaultClient, ClearLogsTimestamp: DefaultClearLogsTimestamp, - TraceFormat: OTLPTraceFormat, + TraceFormat: OTLPTraceFormat, HTTPClientSettings: CreateDefaultHTTPClientSettings(), BackOffConfig: configretry.NewDefaultBackOffConfig(), diff --git a/pkg/exporter/sumologicexporter/factory_test.go b/pkg/exporter/sumologicexporter/factory_test.go index f0e3ed1043..a803d1beb3 100644 --- a/pkg/exporter/sumologicexporter/factory_test.go +++ b/pkg/exporter/sumologicexporter/factory_test.go @@ -44,7 +44,7 @@ func TestCreateDefaultConfig(t *testing.T) { MetricFormat: "otlp", Client: "otelcol", ClearLogsTimestamp: true, - TraceFormat: "otlp", + TraceFormat: "otlp", HTTPClientSettings: confighttp.HTTPClientSettings{ Timeout: 30 * time.Second, diff --git a/pkg/exporter/sumologicexporter/sender_test.go b/pkg/exporter/sumologicexporter/sender_test.go index 5935171830..2f1c5559f5 100644 --- a/pkg/exporter/sumologicexporter/sender_test.go +++ b/pkg/exporter/sumologicexporter/sender_test.go @@ -477,7 +477,7 @@ func TestSendLogsJsonConfig(t *testing.T) { logsFunc: twoLogsFunc, }, { - name: "empty body", + name: "empty body", bodyRegex: `{"key1":"value1","key2":"value2"}`, logsFunc: func() plog.ResourceLogs {