Skip to content

Commit 8516612

Browse files
authored
Simplify copyright disclaimer (open-telemetry#3181)
1 parent 3e12e43 commit 8516612

File tree

437 files changed

+439
-6108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

437 files changed

+439
-6108
lines changed

GlobalSuppressions.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="GlobalSuppressions.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
// This file is used by Code Analysis to maintain SuppressMessage
185
// attributes that are applied to this project.

examples/demo/Client/Program.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="Program.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
// Example usage:
185
// dotnet run http://localhost:5200

examples/demo/Service/Program.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="Program.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using System.Diagnostics;
185
using System.Diagnostics.Metrics;

examples/playground/AspNetCoreMvc/Controllers/ApiController.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="ApiController.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using System;
185
using System.Threading;

examples/playground/AspNetCoreMvc/Controllers/HomeController.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="HomeController.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using System;
185
using System.Collections;

examples/playground/AspNetCoreMvc/Controllers/MetricsController.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="MetricsController.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using System.Diagnostics.Metrics;
185
using Microsoft.AspNetCore.Mvc;

examples/playground/AspNetCoreMvc/GlobalSuppressions.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="GlobalSuppressions.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
// This file is used by Code Analysis to maintain SuppressMessage
185
// attributes that are applied to this project.

examples/playground/AspNetCoreMvc/OtelSdkPlugin.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="OtelSdkPlugin.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using System;
185

examples/playground/AspNetCoreMvc/Program.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="Program.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using Microsoft.AspNetCore.Hosting;
185
using Microsoft.Extensions.Hosting;

examples/playground/AspNetCoreMvc/Shared/StackTraceHelper.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="StackTraceHelper.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using System;
185

examples/playground/AspNetCoreMvc/Startup.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="Startup.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using Microsoft.AspNetCore.Builder;
185
using Microsoft.AspNetCore.Hosting;

src/GlobalSuppressions.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="GlobalSuppressions.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
// This file is used by Code Analysis to maintain SuppressMessage
185
// attributes that are applied to this project.

src/OpenTelemetry.AutoInstrumentation.AspNetCoreBootstrapper/BootstrapperHostingStartup.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="BootstrapperHostingStartup.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using Microsoft.AspNetCore.Hosting;
185
using OpenTelemetry.AutoInstrumentation.Configurations;

src/OpenTelemetry.AutoInstrumentation.BuildTasks/CheckForInstrumentationPackages.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="CheckForInstrumentationPackages.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using Microsoft.Build.Framework;
185
using NuGet.Versioning;

src/OpenTelemetry.AutoInstrumentation.BuildTasks/InstrumentationTarget.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="InstrumentationTarget.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using Microsoft.Build.Framework;
185
using NuGet.Versioning;

src/OpenTelemetry.AutoInstrumentation.Loader/AutoInstrumentationEventSource.Name.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="AutoInstrumentationEventSource.Name.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using System.Diagnostics.Tracing;
185

src/OpenTelemetry.AutoInstrumentation.Loader/Loader.Net.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="Loader.Net.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
#if NETCOREAPP
185
using System.Reflection;

src/OpenTelemetry.AutoInstrumentation.Loader/Loader.NetFramework.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="Loader.NetFramework.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
#if NETFRAMEWORK
185

src/OpenTelemetry.AutoInstrumentation.Loader/Loader.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="Loader.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
using System.Reflection;
185
using OpenTelemetry.AutoInstrumentation.Logging;

src/OpenTelemetry.AutoInstrumentation.Loader/ManagedProfilerAssemblyLoadContext.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
// <copyright file="ManagedProfilerAssemblyLoadContext.cs" company="OpenTelemetry Authors">
21
// Copyright The OpenTelemetry Authors
3-
//
4-
// Licensed under the Apache License, Version 2.0 (the "License");
5-
// you may not use this file except in compliance with the License.
6-
// You may obtain a copy of the License at
7-
//
8-
// http://www.apache.org/licenses/LICENSE-2.0
9-
//
10-
// Unless required by applicable law or agreed to in writing, software
11-
// distributed under the License is distributed on an "AS IS" BASIS,
12-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
// See the License for the specific language governing permissions and
14-
// limitations under the License.
15-
// </copyright>
2+
// SPDX-License-Identifier: Apache-2.0
163

174
#if NETCOREAPP
185
using System.Reflection;

0 commit comments

Comments
 (0)