Skip to content

Commit

Permalink
Adapt to upstream extension class name changes (#72)
Browse files Browse the repository at this point in the history
* Adapt to upstream extension class name changes
  • Loading branch information
pyohannes authored Dec 19, 2023
1 parent be32b40 commit 454aea0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## Unreleased

### Bug fixes

* [#71](https://github.com/grafana/grafana-opentelemetry-dotnet/issues/71):
Lazy-loading of ASP.NET Core instrumentation was broken. This was fixed by
updateing changed class names of ASP.NET Core instrumentation library
extension classes.

## 0.7.0-beta.1

### BREAKING CHANGES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ protected override void InitializeTracing(TracerProviderBuilder builder)
{
ReflectionHelper.CallStaticMethod(
"OpenTelemetry.Instrumentation.AspNetCore",
"OpenTelemetry.Trace.TracerProviderBuilderExtensions",
"OpenTelemetry.Trace.AspNetCoreInstrumentationTracerProviderBuilderExtensions",
"AddAspNetCoreInstrumentation",
new object[] { builder });
}
Expand All @@ -25,7 +25,7 @@ protected override void InitializeMetrics(MeterProviderBuilder builder)
{
ReflectionHelper.CallStaticMethod(
"OpenTelemetry.Instrumentation.AspNetCore",
"OpenTelemetry.Metrics.MeterProviderBuilderExtensions",
"OpenTelemetry.Metrics.AspNetCoreInstrumentationMeterProviderBuilderExtensions",
"AddAspNetCoreInstrumentation",
new object[] { builder });
}
Expand Down

0 comments on commit 454aea0

Please sign in to comment.