diff --git a/receiver/datadoglogreceiver/receiver.go b/receiver/datadoglogreceiver/receiver.go index 403b1a011aa6..783d2ef1da32 100644 --- a/receiver/datadoglogreceiver/receiver.go +++ b/receiver/datadoglogreceiver/receiver.go @@ -51,7 +51,6 @@ func newDataDogReceiver(config *Config, nextConsumer consumer.Logs, params recei func (ddr *datadogReceiver) Start(_ context.Context, host component.Host) error { ddmux := http.NewServeMux() - // ddmux.HandleFunc("/api/v0.2/traces", ddr.handleV2Traces) ddmux.HandleFunc("/api/v2/logs", ddr.handleLogs) var err error ddr.server, err = ddr.config.HTTPServerSettings.ToServer( diff --git a/receiver/datadoglogreceiver/translator.go b/receiver/datadoglogreceiver/translator.go index f2f176787322..c50e55cb750f 100644 --- a/receiver/datadoglogreceiver/translator.go +++ b/receiver/datadoglogreceiver/translator.go @@ -96,7 +96,7 @@ func setResourceAttributes(attributes pcommon.Map, attributes.PutStr("host.id", cra.host) } if cra.mwSource != "" { - attributes.PutStr("source.", cra.mwSource) + attributes.PutStr("source", cra.mwSource) } }