Skip to content

Commit

Permalink
Project rename.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch committed Dec 8, 2022
1 parent b1848c0 commit 1b8c894
Show file tree
Hide file tree
Showing 27 changed files with 39 additions and 39 deletions.
4 changes: 2 additions & 2 deletions OpenTelemetry.sln
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Exporter.Open
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Exporter.Console.Tests", "test\OpenTelemetry.Exporter.Console.Tests\OpenTelemetry.Exporter.Console.Tests.csproj", "{011E70E1-152A-47BB-AF83-12DD12B125ED}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.DependencyInjection", "src\OpenTelemetry.DependencyInjection\OpenTelemetry.DependencyInjection.csproj", "{171A87CB-393C-4296-913F-E704CD8CEAE9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Extensions.DependencyInjection", "src\OpenTelemetry.Extensions.DependencyInjection\OpenTelemetry.Extensions.DependencyInjection.csproj", "{171A87CB-393C-4296-913F-E704CD8CEAE9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.DependencyInjection.Tests", "test\OpenTelemetry.DependencyInjection.Tests\OpenTelemetry.DependencyInjection.Tests.csproj", "{662476AA-5875-4E74-B992-DDF309168EFB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Extensions.DependencyInjection.Tests", "test\OpenTelemetry.Extensions.DependencyInjection.Tests\OpenTelemetry.Extensions.DependencyInjection.Tests.csproj", "{662476AA-5875-4E74-B992-DDF309168EFB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
25 changes: 0 additions & 25 deletions src/OpenTelemetry.DependencyInjection/README.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("OpenTelemetry.DependencyInjection.Tests" + AssemblyInfo.PublicKey)]
[assembly: InternalsVisibleTo("OpenTelemetry.Extensions.DependencyInjection.Tests" + AssemblyInfo.PublicKey)]

#if SIGNED
internal static class AssemblyInfo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<!-- OmniSharp/VS Code requires TargetFrameworks to be in descending order for IntelliSense and analysis. -->
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
<Description>OpenTelemetry .NET dependency injection extensions</Description>
<Description>Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection</Description>
<RootNamespace>OpenTelemetry</RootNamespace>
<MinVerTagPrefix>core-</MinVerTagPrefix>
</PropertyGroup>
Expand Down
25 changes: 25 additions & 0 deletions src/OpenTelemetry.Extensions.DependencyInjection/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# OpenTelemetry.Extensions.DependencyInjection

[![NuGet](https://img.shields.io/nuget/v/OpenTelemetry.Extensions.DependencyInjection.svg)](https://www.nuget.org/packages/OpenTelemetry.Extensions.DependencyInjection)
[![NuGet](https://img.shields.io/nuget/dt/OpenTelemetry.Extensions.DependencyInjection.svg)](https://www.nuget.org/packages/OpenTelemetry.Extensions.DependencyInjection)

## Installation

```shell
dotnet add package --prerelease OpenTelemetry.Extensions.DependencyInjection
```

## Overview

The OpenTelemetry.Extensions.DependencyInjection package provides extension
methods and helpers for building `TracerProvider`s and `MeterProvider`s using
the Microsoft.Extensions.DependencyInjection API.

The Microsoft.Extensions.DependencyInjection package is primarily intended for
library authors who need to integrate with the OpenTelemetry SDK. For more
details see: [Registration extension method guidance for library
authors](../../docs/trace/extending-the-sdk/README.md#registration-extension-method-guidance-for-library-authors).

## References

* [OpenTelemetry Project](https://opentelemetry.io/)
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<!-- OmniSharp/VS Code requires TargetFrameworks to be in descending order for IntelliSense and analysis. -->
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<Description>Contains extensions to register and start OpenTelemetry in applications using Microsoft.Extensions.Hosting</Description>
<Description>Contains extensions to start OpenTelemetry in applications using Microsoft.Extensions.Hosting</Description>
<RootNamespace>OpenTelemetry</RootNamespace>

<!-- this is temporary. will remove in future PR. -->
Expand Down
4 changes: 2 additions & 2 deletions src/OpenTelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
([#3889](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3889))

* Refactored `AddInstrumentation`, `ConfigureServices` and `ConfigureBuilder`
APIs into the OpenTelemetry.DependencyInjection package and added the
`IServiceCollection.AddOpenTelemetry` API
APIs into the OpenTelemetry.Extensions.DependencyInjection package and added
the `IServiceCollection.AddOpenTelemetry` API
([#3923](https://github.com/open-telemetry/opentelemetry-dotnet/pull/3923))

## 1.4.0-beta.3
Expand Down
2 changes: 1 addition & 1 deletion src/OpenTelemetry/OpenTelemetry.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(RepoRoot)\src\OpenTelemetry.DependencyInjection\OpenTelemetry.DependencyInjection.csproj" />
<ProjectReference Include="$(RepoRoot)\src\OpenTelemetry.Extensions.DependencyInjection\OpenTelemetry.Extensions.DependencyInjection.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
using OpenTelemetry.Metrics;
using Xunit;

namespace OpenTelemetry.DependencyInjection.Tests;
namespace OpenTelemetry.Extensions.DependencyInjection.Tests;

public class MeterProviderBuilderExtensionsTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="$(RepoRoot)\src\OpenTelemetry.DependencyInjection\OpenTelemetry.DependencyInjection.csproj" />
<ProjectReference Include="$(RepoRoot)\src\OpenTelemetry.Extensions.DependencyInjection\OpenTelemetry.Extensions.DependencyInjection.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
using OpenTelemetry.Trace;
using Xunit;

namespace OpenTelemetry.DependencyInjection.Tests;
namespace OpenTelemetry.Extensions.DependencyInjection.Tests;

public class ServiceCollectionExtensionsTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using Microsoft.Extensions.DependencyInjection;
using OpenTelemetry.Metrics;

namespace OpenTelemetry.DependencyInjection.Tests;
namespace OpenTelemetry.Extensions.DependencyInjection.Tests;

public sealed class TestMeterProviderBuilder : MeterProviderBuilder, IMeterProviderBuilder, IDisposable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using Microsoft.Extensions.DependencyInjection;
using OpenTelemetry.Trace;

namespace OpenTelemetry.DependencyInjection.Tests;
namespace OpenTelemetry.Extensions.DependencyInjection.Tests;

public sealed class TestTracerProviderBuilder : TracerProviderBuilder, ITracerProviderBuilder, IDisposable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
using OpenTelemetry.Trace;
using Xunit;

namespace OpenTelemetry.DependencyInjection.Tests;
namespace OpenTelemetry.Extensions.DependencyInjection.Tests;

public class TracerProviderBuilderExtensionsTests
{
Expand Down

0 comments on commit 1b8c894

Please sign in to comment.