-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor OpenTelemetry.Extensions.Hosting readme #4179
Refactor OpenTelemetry.Extensions.Hosting readme #4179
Conversation
[IServiceCollection](https://learn.microsoft.com/dotnet/api/microsoft.extensions.dependencyinjection.iservicecollection). | ||
|
||
These methods were marked obsolete and later removed. You should migrate your | ||
code to the new `AddOpenTelemetry` method documented above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder if we should give an example startup code for this? or the PR which did this for our example one? or maybe link to old and new version of our example app?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could link to #4071 where there are some migration steps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could link to #4071 where there are some migration steps.
oops didn't see this comment before I updated it. I just added links to the old (1.3.2 version) and new (main). What do you all think?
@@ -21,8 +21,6 @@ and metrics (`MeterProvider`) in [ASP.NET | |||
|
|||
## Extension method reference | |||
|
|||
### Current OpenTelemetry SDK v1.4.0 and newer extensions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider a link to the example app, which shows this in action.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a usage section below just not shown on the diff unless you expand it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or if you are saying in addition to that a link would be good, find by me 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea on top of the basic usage shown here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the example, if followed correctly, will help avoid mistakes like adding ActivitySource to DI etc. So good to link from this
No description provided.