Skip to content

Commit

Permalink
Follow-up on #42374: update AzMonDistro readme what's included - logs (
Browse files Browse the repository at this point in the history
…#42476)

* Follow-up: update AzMonDistro readme what's included - logs

* Update sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/README.md

Co-authored-by: Timothy Mothra <tilee@microsoft.com>

---------

Co-authored-by: Timothy Mothra <tilee@microsoft.com>
  • Loading branch information
2 people authored and angiurgiu committed Mar 20, 2024
1 parent 51df447 commit e8f5d80
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ The Azure Monitor Distro is a distribution of the .NET OpenTelemetry SDK with in
* Provides automatic collection of Application Insights Standard metrics.

* [Logs](https://github.com/open-telemetry/opentelemetry-dotnet/tree/main/docs/logs/getting-started-console)
* Logs created with `Microsoft.Extensions.Logging`. See [Logging in .NET Core and ASP.NET Core](https://learn.microsoft.com/aspnet/core/fundamentals/logging) for more details on how to create and configure logging.
* [Azure SDK logs](https://learn.microsoft.com/dotnet/azure/sdk/logging) are recorded as a subset of `Microsoft.Extensions.Logging`

* Resource Detectors
* **AppServiceResourceDetector**: Adds resource attributes for the applications running in Azure App Service.
Expand Down Expand Up @@ -230,9 +232,9 @@ builder.Services.Configure<HttpClientTraceInstrumentationOptions>(options =>

##### Customizing SqlClientInstrumentationOptions

While the [SQLClient](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.SqlClient) instrumentation is still in beta, we have vendored it within our package.
Once it reaches a stable release, it will be included as a standard package reference.
Until then, for customization of the SQLClient instrumentation, manually add the OpenTelemetry.Instrumentation.SqlClient package reference to your project and utilize its public API.
While the [SQLClient](https://www.nuget.org/packages/OpenTelemetry.Instrumentation.SqlClient) instrumentation is still in beta, we have vendored it within our package.
Once it reaches a stable release, it will be included as a standard package reference.
Until then, for customization of the SQLClient instrumentation, manually add the OpenTelemetry.Instrumentation.SqlClient package reference to your project and utilize its public API.

```
dotnet add package --prerelease OpenTelemetry.Instrumentation.SqlClient
Expand Down

0 comments on commit e8f5d80

Please sign in to comment.