-
Notifications
You must be signed in to change notification settings - Fork 641
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
Make it explicit to install distro to get auto-instrumentation working #588
Conversation
@@ -11,11 +11,14 @@ Installation | |||
|
|||
:: | |||
|
|||
pip install opentelemetry-instrumentation | |||
pip install opentelemetry-distro[otlp] opentelemetry-instrumentation |
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 think we should separate out these sections. Right underneath this, an explanation like what you have in the note would be good (users need to install "A" distro), and then have the pip install
follow that excerpt. An explanation that opentelemetry-distro
contains the default distro would be good too. This way users won't be confused as to why or what the opentelemetry-distro
packge is.
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.
This looks fine but I still think our default recommendation should be to just install the distro and run opentelemetry-instrument
as part of getting started docs. It should be followed up with an advanced section that documents other packages and how one may use them without the distro. IMO opentelemetry-distro
should be the only or the first package users install when getting started.
Completely agree. That will make a huge difference in terms of user experience for the first the time users. Meanwhile, I wanted to add this note since it is not obvious to someone that without a distro auto instrumentation doesn't produce any telemetry. |
@ocelotl @lonewolf3739 |
^ @lzchen it's green now. |
Description
Fixes open-telemetry/opentelemetry-python#1931