5 references to AspireLogIdAttribute
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
263
new KeyValuePair<string, string>(OtlpHelpers.
AspireLogIdAttribute
, log.InternalId.ToString(CultureInfo.InvariantCulture))
Otlp\Model\OtlpLogEntryData.cs (1)
32
case OtlpHelpers.
AspireLogIdAttribute
:
Aspire.Dashboard.Tests (3)
Model\TelemetryExportServiceTests.cs (1)
138
var logIdAttribute = Assert.Single(logRecord.Attributes, a => a.Key == OtlpHelpers.
AspireLogIdAttribute
);
Model\TelemetryImportServiceTests.cs (2)
383
Assert.Contains(exportedLogRecord.Attributes!, a => a.Key == OtlpHelpers.
AspireLogIdAttribute
&& a.Value?.StringValue == originalInternalId.ToString(CultureInfo.InvariantCulture));
420
Assert.DoesNotContain(importedLogs.Items[0].Attributes, a => a.Key == OtlpHelpers.
AspireLogIdAttribute
);