From 785a2ad15823d1b34a4dc8160256159be5832e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Thu, 9 Nov 2023 07:01:18 +0100 Subject: [PATCH] Introduce IncludeSharedGuardSource property --- build/Common.props | 4 ++++ .../OpenTelemetry.Exporter.Geneva.csproj | 5 +--- .../OpenTelemetry.Exporter.InfluxDB.csproj | 6 +---- ...OpenTelemetry.Exporter.OneCollector.csproj | 2 +- .../OpenTelemetry.Exporter.Stackdriver.csproj | 5 +--- .../OpenTelemetry.Extensions.AWS.csproj | 6 +---- ...OpenTelemetry.Extensions.Enrichment.csproj | 2 +- .../OpenTelemetry.Extensions.csproj | 5 +--- .../OpenTelemetry.Instrumentation.AWS.csproj | 2 +- ...Telemetry.Instrumentation.AWSLambda.csproj | 2 +- ...entation.AspNet.TelemetryHttpModule.csproj | 5 +--- ...penTelemetry.Instrumentation.AspNet.csproj | 2 +- ...Telemetry.Instrumentation.Cassandra.csproj | 5 +--- ...Instrumentation.ElasticsearchClient.csproj | 5 +--- ...Instrumentation.EntityFrameworkCore.csproj | 5 +--- ...metry.Instrumentation.EventCounters.csproj | 23 ++++++++----------- ...nTelemetry.Instrumentation.GrpcCore.csproj | 5 +--- ...nTelemetry.Instrumentation.Hangfire.csproj | 4 +--- .../OpenTelemetry.Instrumentation.Owin.csproj | 2 +- ...enTelemetry.Instrumentation.Process.csproj | 6 +---- ...penTelemetry.Instrumentation.Quartz.csproj | 5 +--- ...enTelemetry.Instrumentation.Runtime.csproj | 5 +--- ....Instrumentation.StackExchangeRedis.csproj | 2 +- .../OpenTelemetry.Instrumentation.Wcf.csproj | 2 +- ...emetry.PersistentStorage.FileSystem.csproj | 2 +- ...OpenTelemetry.ResourceDetectors.AWS.csproj | 4 ---- ...enTelemetry.ResourceDetectors.Azure.csproj | 1 - .../OpenTelemetry.Sampler.AWS.csproj | 1 - 28 files changed, 37 insertions(+), 86 deletions(-) diff --git a/build/Common.props b/build/Common.props index 6505e4712b..bea4a287fe 100644 --- a/build/Common.props +++ b/build/Common.props @@ -54,6 +54,10 @@ + + + + diff --git a/src/OpenTelemetry.Exporter.Geneva/OpenTelemetry.Exporter.Geneva.csproj b/src/OpenTelemetry.Exporter.Geneva/OpenTelemetry.Exporter.Geneva.csproj index d17c1b3ee3..091a3b7f94 100644 --- a/src/OpenTelemetry.Exporter.Geneva/OpenTelemetry.Exporter.Geneva.csproj +++ b/src/OpenTelemetry.Exporter.Geneva/OpenTelemetry.Exporter.Geneva.csproj @@ -11,6 +11,7 @@ $(TargetFrameworks);net462 Exporter.Geneva- true + true disable @@ -18,8 +19,4 @@ - - - - diff --git a/src/OpenTelemetry.Exporter.InfluxDB/OpenTelemetry.Exporter.InfluxDB.csproj b/src/OpenTelemetry.Exporter.InfluxDB/OpenTelemetry.Exporter.InfluxDB.csproj index eed0b38f43..3889a86ed5 100644 --- a/src/OpenTelemetry.Exporter.InfluxDB/OpenTelemetry.Exporter.InfluxDB.csproj +++ b/src/OpenTelemetry.Exporter.InfluxDB/OpenTelemetry.Exporter.InfluxDB.csproj @@ -8,15 +8,11 @@ $(NetMinimumSupportedVersion);$(NetStandardMinimumSupportedVersion) Exporter.InfluxDB- true + true - - - - - diff --git a/src/OpenTelemetry.Exporter.OneCollector/OpenTelemetry.Exporter.OneCollector.csproj b/src/OpenTelemetry.Exporter.OneCollector/OpenTelemetry.Exporter.OneCollector.csproj index 131227e781..305c5aed9a 100644 --- a/src/OpenTelemetry.Exporter.OneCollector/OpenTelemetry.Exporter.OneCollector.csproj +++ b/src/OpenTelemetry.Exporter.OneCollector/OpenTelemetry.Exporter.OneCollector.csproj @@ -9,6 +9,7 @@ Exporter.OneCollector- true true + true @@ -17,7 +18,6 @@ - diff --git a/src/OpenTelemetry.Exporter.Stackdriver/OpenTelemetry.Exporter.Stackdriver.csproj b/src/OpenTelemetry.Exporter.Stackdriver/OpenTelemetry.Exporter.Stackdriver.csproj index 025d4ddd29..fdde83e52b 100644 --- a/src/OpenTelemetry.Exporter.Stackdriver/OpenTelemetry.Exporter.Stackdriver.csproj +++ b/src/OpenTelemetry.Exporter.Stackdriver/OpenTelemetry.Exporter.Stackdriver.csproj @@ -6,14 +6,11 @@ $(PackageTags);Stackdriver;Google;GCP;distributed-tracing Exporter.Stackdriver- true + true - - - - diff --git a/src/OpenTelemetry.Extensions.AWS/OpenTelemetry.Extensions.AWS.csproj b/src/OpenTelemetry.Extensions.AWS/OpenTelemetry.Extensions.AWS.csproj index ce76f33559..c3ca016610 100644 --- a/src/OpenTelemetry.Extensions.AWS/OpenTelemetry.Extensions.AWS.csproj +++ b/src/OpenTelemetry.Extensions.AWS/OpenTelemetry.Extensions.AWS.csproj @@ -6,6 +6,7 @@ OpenTelemetry extensions for AWS. Extensions.AWS- true + true @@ -16,9 +17,4 @@ - - - - - diff --git a/src/OpenTelemetry.Extensions.Enrichment/OpenTelemetry.Extensions.Enrichment.csproj b/src/OpenTelemetry.Extensions.Enrichment/OpenTelemetry.Extensions.Enrichment.csproj index a21b4f78d3..75a8f6c70b 100644 --- a/src/OpenTelemetry.Extensions.Enrichment/OpenTelemetry.Extensions.Enrichment.csproj +++ b/src/OpenTelemetry.Extensions.Enrichment/OpenTelemetry.Extensions.Enrichment.csproj @@ -6,6 +6,7 @@ $(NoWarn),CS1591 Extensions.Enrichment- latest-all + true @@ -13,7 +14,6 @@ - diff --git a/src/OpenTelemetry.Extensions/OpenTelemetry.Extensions.csproj b/src/OpenTelemetry.Extensions/OpenTelemetry.Extensions.csproj index 1d85d7270d..4554aff54b 100644 --- a/src/OpenTelemetry.Extensions/OpenTelemetry.Extensions.csproj +++ b/src/OpenTelemetry.Extensions/OpenTelemetry.Extensions.csproj @@ -7,12 +7,9 @@ true OpenTelemetry .NET SDK preview features and extensions Extensions- + true - - - - diff --git a/src/OpenTelemetry.Instrumentation.AWS/OpenTelemetry.Instrumentation.AWS.csproj b/src/OpenTelemetry.Instrumentation.AWS/OpenTelemetry.Instrumentation.AWS.csproj index 45935518a7..c83b0e61c9 100644 --- a/src/OpenTelemetry.Instrumentation.AWS/OpenTelemetry.Instrumentation.AWS.csproj +++ b/src/OpenTelemetry.Instrumentation.AWS/OpenTelemetry.Instrumentation.AWS.csproj @@ -6,6 +6,7 @@ $(TargetFrameworks);$(NetFrameworkMinimumSupportedVersion) AWS client instrumentation for OpenTelemetry .NET Instrumentation.AWS- + true @@ -16,7 +17,6 @@ - diff --git a/src/OpenTelemetry.Instrumentation.AWSLambda/OpenTelemetry.Instrumentation.AWSLambda.csproj b/src/OpenTelemetry.Instrumentation.AWSLambda/OpenTelemetry.Instrumentation.AWSLambda.csproj index be934118fc..ae992f77a4 100644 --- a/src/OpenTelemetry.Instrumentation.AWSLambda/OpenTelemetry.Instrumentation.AWSLambda.csproj +++ b/src/OpenTelemetry.Instrumentation.AWSLambda/OpenTelemetry.Instrumentation.AWSLambda.csproj @@ -5,6 +5,7 @@ AWS Lambda tracing wrapper for OpenTelemetry .NET $(PackageTags);AWS Lambda Instrumentation.AWSLambda- + true @@ -17,7 +18,6 @@ - diff --git a/src/OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule/OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule.csproj b/src/OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule/OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule.csproj index 002e2ffad7..f33f38f079 100644 --- a/src/OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule/OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule.csproj +++ b/src/OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule/OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule.csproj @@ -3,15 +3,12 @@ $(NetFrameworkMinimumSupportedVersion) true + true A module that instruments incoming request with System.Diagnostics.Activity and notifies listeners with DiagnosticsSource. $(PackageTags);distributed-tracing;AspNet;MVC;WebAPI Instrumentation.AspNet- - - - - diff --git a/src/OpenTelemetry.Instrumentation.AspNet/OpenTelemetry.Instrumentation.AspNet.csproj b/src/OpenTelemetry.Instrumentation.AspNet/OpenTelemetry.Instrumentation.AspNet.csproj index 3072fd37da..293518c171 100644 --- a/src/OpenTelemetry.Instrumentation.AspNet/OpenTelemetry.Instrumentation.AspNet.csproj +++ b/src/OpenTelemetry.Instrumentation.AspNet/OpenTelemetry.Instrumentation.AspNet.csproj @@ -6,6 +6,7 @@ ASP.NET instrumentation for OpenTelemetry .NET $(PackageTags);distributed-tracing;AspNet;MVC;WebAPI true + true Instrumentation.AspNet- @@ -16,7 +17,6 @@ - diff --git a/src/OpenTelemetry.Instrumentation.Cassandra/OpenTelemetry.Instrumentation.Cassandra.csproj b/src/OpenTelemetry.Instrumentation.Cassandra/OpenTelemetry.Instrumentation.Cassandra.csproj index c1e28dd741..64248a135b 100644 --- a/src/OpenTelemetry.Instrumentation.Cassandra/OpenTelemetry.Instrumentation.Cassandra.csproj +++ b/src/OpenTelemetry.Instrumentation.Cassandra/OpenTelemetry.Instrumentation.Cassandra.csproj @@ -5,6 +5,7 @@ OpenTelemetry Cassandra Instrumentation $(PackageTags);Cassandra;CassandraCSharpDriver Instrumentation.Cassandra- + true @@ -12,8 +13,4 @@ - - - - diff --git a/src/OpenTelemetry.Instrumentation.ElasticsearchClient/OpenTelemetry.Instrumentation.ElasticsearchClient.csproj b/src/OpenTelemetry.Instrumentation.ElasticsearchClient/OpenTelemetry.Instrumentation.ElasticsearchClient.csproj index 86bf2da20b..31145d243e 100644 --- a/src/OpenTelemetry.Instrumentation.ElasticsearchClient/OpenTelemetry.Instrumentation.ElasticsearchClient.csproj +++ b/src/OpenTelemetry.Instrumentation.ElasticsearchClient/OpenTelemetry.Instrumentation.ElasticsearchClient.csproj @@ -11,14 +11,11 @@ true true true + true disable - - - - diff --git a/src/OpenTelemetry.Instrumentation.EntityFrameworkCore/OpenTelemetry.Instrumentation.EntityFrameworkCore.csproj b/src/OpenTelemetry.Instrumentation.EntityFrameworkCore/OpenTelemetry.Instrumentation.EntityFrameworkCore.csproj index b603317770..0084563f88 100644 --- a/src/OpenTelemetry.Instrumentation.EntityFrameworkCore/OpenTelemetry.Instrumentation.EntityFrameworkCore.csproj +++ b/src/OpenTelemetry.Instrumentation.EntityFrameworkCore/OpenTelemetry.Instrumentation.EntityFrameworkCore.csproj @@ -7,6 +7,7 @@ true true true + true @@ -14,8 +15,4 @@ - - - - diff --git a/src/OpenTelemetry.Instrumentation.EventCounters/OpenTelemetry.Instrumentation.EventCounters.csproj b/src/OpenTelemetry.Instrumentation.EventCounters/OpenTelemetry.Instrumentation.EventCounters.csproj index 8b7a31dc0d..e0ec849b9e 100644 --- a/src/OpenTelemetry.Instrumentation.EventCounters/OpenTelemetry.Instrumentation.EventCounters.csproj +++ b/src/OpenTelemetry.Instrumentation.EventCounters/OpenTelemetry.Instrumentation.EventCounters.csproj @@ -1,15 +1,12 @@ - - netstandard2.0 - OpenTelemetry Metrics instrumentation for Dotnet EventCounters - $(PackageTags);metrics;eventcounters - Instrumentation.EventCounters- - - - - - - - - + + netstandard2.0 + OpenTelemetry Metrics instrumentation for Dotnet EventCounters + $(PackageTags);metrics;eventcounters + Instrumentation.EventCounters- + true + + + + diff --git a/src/OpenTelemetry.Instrumentation.GrpcCore/OpenTelemetry.Instrumentation.GrpcCore.csproj b/src/OpenTelemetry.Instrumentation.GrpcCore/OpenTelemetry.Instrumentation.GrpcCore.csproj index 756d4d0521..6f4ab93221 100644 --- a/src/OpenTelemetry.Instrumentation.GrpcCore/OpenTelemetry.Instrumentation.GrpcCore.csproj +++ b/src/OpenTelemetry.Instrumentation.GrpcCore/OpenTelemetry.Instrumentation.GrpcCore.csproj @@ -5,14 +5,11 @@ $(PackageTags);gRPC Core;interceptors Instrumentation.GrpcCore- disable + true - - - - diff --git a/src/OpenTelemetry.Instrumentation.Hangfire/OpenTelemetry.Instrumentation.Hangfire.csproj b/src/OpenTelemetry.Instrumentation.Hangfire/OpenTelemetry.Instrumentation.Hangfire.csproj index 772177dc9f..5ea348fa2d 100644 --- a/src/OpenTelemetry.Instrumentation.Hangfire/OpenTelemetry.Instrumentation.Hangfire.csproj +++ b/src/OpenTelemetry.Instrumentation.Hangfire/OpenTelemetry.Instrumentation.Hangfire.csproj @@ -5,12 +5,10 @@ $(PackageTags);Hangfire Instrumentation.Hangfire- false + true - - - diff --git a/src/OpenTelemetry.Instrumentation.Owin/OpenTelemetry.Instrumentation.Owin.csproj b/src/OpenTelemetry.Instrumentation.Owin/OpenTelemetry.Instrumentation.Owin.csproj index dc1911a21c..17e6270841 100644 --- a/src/OpenTelemetry.Instrumentation.Owin/OpenTelemetry.Instrumentation.Owin.csproj +++ b/src/OpenTelemetry.Instrumentation.Owin/OpenTelemetry.Instrumentation.Owin.csproj @@ -6,12 +6,12 @@ $(PackageTags);distributed-tracing;OWIN Instrumentation.Owin- true + true disable - diff --git a/src/OpenTelemetry.Instrumentation.Process/OpenTelemetry.Instrumentation.Process.csproj b/src/OpenTelemetry.Instrumentation.Process/OpenTelemetry.Instrumentation.Process.csproj index 4bd00f576a..914e817a18 100644 --- a/src/OpenTelemetry.Instrumentation.Process/OpenTelemetry.Instrumentation.Process.csproj +++ b/src/OpenTelemetry.Instrumentation.Process/OpenTelemetry.Instrumentation.Process.csproj @@ -4,14 +4,10 @@ dotnet process instrumentation for OpenTelemetry .NET $(PackageTags);process Instrumentation.Process- + true - - - - - diff --git a/src/OpenTelemetry.Instrumentation.Quartz/OpenTelemetry.Instrumentation.Quartz.csproj b/src/OpenTelemetry.Instrumentation.Quartz/OpenTelemetry.Instrumentation.Quartz.csproj index 2f957f3a2a..7a1d1c28d4 100644 --- a/src/OpenTelemetry.Instrumentation.Quartz/OpenTelemetry.Instrumentation.Quartz.csproj +++ b/src/OpenTelemetry.Instrumentation.Quartz/OpenTelemetry.Instrumentation.Quartz.csproj @@ -8,12 +8,9 @@ true true true + true - - - - diff --git a/src/OpenTelemetry.Instrumentation.Runtime/OpenTelemetry.Instrumentation.Runtime.csproj b/src/OpenTelemetry.Instrumentation.Runtime/OpenTelemetry.Instrumentation.Runtime.csproj index 7438ef8ed5..b0c2364fbf 100644 --- a/src/OpenTelemetry.Instrumentation.Runtime/OpenTelemetry.Instrumentation.Runtime.csproj +++ b/src/OpenTelemetry.Instrumentation.Runtime/OpenTelemetry.Instrumentation.Runtime.csproj @@ -5,13 +5,10 @@ dotnet runtime instrumentation for OpenTelemetry .NET $(PackageTags);runtime Instrumentation.Runtime- + true - - - - diff --git a/src/OpenTelemetry.Instrumentation.StackExchangeRedis/OpenTelemetry.Instrumentation.StackExchangeRedis.csproj b/src/OpenTelemetry.Instrumentation.StackExchangeRedis/OpenTelemetry.Instrumentation.StackExchangeRedis.csproj index 353a227c63..aa6bc1c571 100644 --- a/src/OpenTelemetry.Instrumentation.StackExchangeRedis/OpenTelemetry.Instrumentation.StackExchangeRedis.csproj +++ b/src/OpenTelemetry.Instrumentation.StackExchangeRedis/OpenTelemetry.Instrumentation.StackExchangeRedis.csproj @@ -5,12 +5,12 @@ StackExchange.Redis instrumentation for OpenTelemetry .NET $(PackageTags);distributed-tracing;Redis;StackExchange.Redis true + true Instrumentation.StackExchangeRedis- true - diff --git a/src/OpenTelemetry.Instrumentation.Wcf/OpenTelemetry.Instrumentation.Wcf.csproj b/src/OpenTelemetry.Instrumentation.Wcf/OpenTelemetry.Instrumentation.Wcf.csproj index 7d8b688310..dbdf832229 100644 --- a/src/OpenTelemetry.Instrumentation.Wcf/OpenTelemetry.Instrumentation.Wcf.csproj +++ b/src/OpenTelemetry.Instrumentation.Wcf/OpenTelemetry.Instrumentation.Wcf.csproj @@ -4,6 +4,7 @@ netstandard2.0;net462 true + true OpenTelemetry instrumentation for WCF $(PackageTags);distributed-tracing;WCF Instrumentation.Wcf- @@ -23,7 +24,6 @@ - diff --git a/src/OpenTelemetry.PersistentStorage.FileSystem/OpenTelemetry.PersistentStorage.FileSystem.csproj b/src/OpenTelemetry.PersistentStorage.FileSystem/OpenTelemetry.PersistentStorage.FileSystem.csproj index 8e8b12199d..4e3632a4c1 100644 --- a/src/OpenTelemetry.PersistentStorage.FileSystem/OpenTelemetry.PersistentStorage.FileSystem.csproj +++ b/src/OpenTelemetry.PersistentStorage.FileSystem/OpenTelemetry.PersistentStorage.FileSystem.csproj @@ -6,6 +6,7 @@ $(TargetFrameworks);net462 net6.0;$(TargetFrameworks) true + true OpenTelemetry Persistent Storage PersistentStorage- @@ -19,7 +20,6 @@ - diff --git a/src/OpenTelemetry.ResourceDetectors.AWS/OpenTelemetry.ResourceDetectors.AWS.csproj b/src/OpenTelemetry.ResourceDetectors.AWS/OpenTelemetry.ResourceDetectors.AWS.csproj index bf14fa2ce6..42bcc38f65 100644 --- a/src/OpenTelemetry.ResourceDetectors.AWS/OpenTelemetry.ResourceDetectors.AWS.csproj +++ b/src/OpenTelemetry.ResourceDetectors.AWS/OpenTelemetry.ResourceDetectors.AWS.csproj @@ -17,8 +17,4 @@ - - - - diff --git a/src/OpenTelemetry.ResourceDetectors.Azure/OpenTelemetry.ResourceDetectors.Azure.csproj b/src/OpenTelemetry.ResourceDetectors.Azure/OpenTelemetry.ResourceDetectors.Azure.csproj index d066155384..37ae06db15 100644 --- a/src/OpenTelemetry.ResourceDetectors.Azure/OpenTelemetry.ResourceDetectors.Azure.csproj +++ b/src/OpenTelemetry.ResourceDetectors.Azure/OpenTelemetry.ResourceDetectors.Azure.csproj @@ -12,7 +12,6 @@ - diff --git a/src/OpenTelemetry.Sampler.AWS/OpenTelemetry.Sampler.AWS.csproj b/src/OpenTelemetry.Sampler.AWS/OpenTelemetry.Sampler.AWS.csproj index 155b7ab301..96929c89d7 100644 --- a/src/OpenTelemetry.Sampler.AWS/OpenTelemetry.Sampler.AWS.csproj +++ b/src/OpenTelemetry.Sampler.AWS/OpenTelemetry.Sampler.AWS.csproj @@ -17,7 +17,6 @@ -