-
Notifications
You must be signed in to change notification settings - Fork 764
Commit
…ization
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,11 @@ public override ExportResult Export(in Batch<Activity> batch) | |
var options = new JsonSerializerOptions | ||
{ | ||
WriteIndented = true, | ||
IgnoreNullValues = true, | ||
#if NETSTANDARD || NETFRAMEWORK | ||
IgnoreNullValues = true, | ||
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (ubuntu-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (ubuntu-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / validate-packages / run-package-validation-experimental
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / validate-packages / run-package-validation-experimental
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / validate-packages / run-package-validation-stable
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / validate-packages / run-package-validation-stable
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net462)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net462)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net462)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net462)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net462)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net462)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net462)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net462)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net6.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-stable / build-test (windows-latest, net8.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net7.0)
Check failure on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / build-test-solution-experimental / build-test (windows-latest, net7.0)
Check warning on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / lint-dotnet-format / run-dotnet-format-stable
Check warning on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / lint-dotnet-format / run-dotnet-format-stable
Check warning on line 77 in src/OpenTelemetry.Exporter.Console/ConsoleActivityExporter.cs GitHub Actions / lint-dotnet-format / run-dotnet-format-experimental
|
||
#else | ||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, | ||
#endif | ||
Converters = { new JsonStringEnumConverter(), }, | ||
}; | ||
|
||
|