Skip to content

[1.4.0] TracerProviderBuilder.AddInstrumentation delegate not called #4471

@CodeBlanch

Description

@CodeBlanch

Bug Report

Using the 1.4.0 SDK the TracerProviderBuilder.AddInstrumentation extension which receives the TracerProvider instance is never called:

using var provider =Sdk.CreateTracerProviderBuilder()
   .AddInstrumentation((sp, provider) => new MyInstrumentation(provider)}) // <- This will never be called
   .Build();

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions