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