diff --git a/src/SkyApm.Transport.Grpc/V8/LogReporter.cs b/src/SkyApm.Transport.Grpc/V8/LogReporter.cs index 2ee058ba..89ab7605 100644 --- a/src/SkyApm.Transport.Grpc/V8/LogReporter.cs +++ b/src/SkyApm.Transport.Grpc/V8/LogReporter.cs @@ -69,7 +69,7 @@ public async Task ReportAsync(IReadOnlyCollection logRequests, Timestamp = logRequest.Date, Service = _instrumentConfig.ServiceName, ServiceInstance = _instrumentConfig.ServiceInstanceName, - Endpoint = logRequest.Endpoint, + Endpoint = logRequest.Endpoint ?? string.Empty, Body = new LogDataBody() { Type = "text",