3 writes to EndTimeUnixNano
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
404
EndTimeUnixNano
= OtlpHelpers.DateTimeToUnixNanoseconds(span.EndTime),
OtlpJsonSerializerContext.OtlpSpanJson.g.cs (1)
219
Setter = static (obj, value) => ((global::Aspire.Otlp.Serialization.OtlpSpanJson)obj).
EndTimeUnixNano
= value!,
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
502
EndTimeUnixNano
= endTimeUnixNano,
6 references to EndTimeUnixNano
Aspire.Dashboard (5)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
147
if (json.
EndTimeUnixNano
.HasValue)
149
span.EndTimeUnixNano = json.
EndTimeUnixNano
.Value;
OtlpJsonSerializerContext.OtlpSpanJson.g.cs (1)
218
Getter = static obj => ((global::Aspire.Otlp.Serialization.OtlpSpanJson)obj).
EndTimeUnixNano
,
src\Shared\ConsoleLogs\SharedAIHelpers.cs (2)
259
["duration_ms"] = CalculateDurationMs(span.StartTimeUnixNano, span.
EndTimeUnixNano
),
413
if (s.Span.
EndTimeUnixNano
is { } end)
Aspire.Dashboard.Tests (1)
Model\TelemetryExportServiceTests.cs (1)
322
Assert.Equal(OtlpHelpers.DateTimeToUnixNanoseconds(s_testTime.AddSeconds(5)), span.
EndTimeUnixNano
);