-
Notifications
You must be signed in to change notification settings - Fork 240
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
[website_docs] fix broken links, copyedits and file renames #1120
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: Context Propagation | ||
spelling: cSpell:ignore tracecontext | ||
weight: 2 | ||
--- | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: "Span Events" | ||
title: Span Events | ||
spelling: cSpell:ignore mutex SIGHUP | ||
weight: 3 | ||
--- | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ weight: 1 | |
--- | ||
|
||
[OpenTelemetry for Ruby][repository] can be used to add automatic and manual instrumentation to your applications. | ||
Automatic instrumentation is enabled by adding [instrumentation packages][auto-instrumentation]. | ||
Manual instrumentation can be added using the [OpenTelemetry API][manual-instrumentation]. | ||
Automatic instrumentation is enabled by adding [instrumentation packages][auto]. | ||
Manual instrumentation can be added using the [OpenTelemetry API][manual]. | ||
|
||
### Requirements | ||
|
||
|
@@ -25,7 +25,7 @@ gem 'opentelemetry-exporter-otlp' | |
gem 'opentelemetry-instrumentation-all' | ||
``` | ||
|
||
The inclusion of `opentelemetry-instrumentation-all` provides [instrumentations](auto-instrumentation) for Rails, Sinatra, several HTTP libraries, and more. | ||
The inclusion of `opentelemetry-instrumentation-all` provides [instrumentations][auto] for Rails, Sinatra, several HTTP libraries, and more. | ||
|
||
### Initialization | ||
|
||
|
@@ -46,7 +46,7 @@ OpenTelemetry::SDK.configure do |c| | |
end | ||
``` | ||
|
||
The call `c.use_all()` enables all instrumentations in the `instrumentation/all` package. If you have more advanced configuration needs, see [configuring specific instrumentation libraries](configure-specific-libraries). | ||
The call `c.use_all()` enables all instrumentations in the `instrumentation/all` package. If you have more advanced configuration needs, see [configuring specific instrumentation libraries][config]. | ||
|
||
Now that you have setup your application to perform tracing, you'll need to configure the SDK to export the traces somewhere. Our example loaded the `OTLP` exporter, which the SDK tries to use by default. Next, we'll use the OpenTelemetry Collector to receive these traces and visualize them using Jaeger and Zipkin! | ||
|
||
|
@@ -75,23 +75,25 @@ Now, start up your application and perform a few operations to generate tracing | |
|
||
Lastly, open a browser and navigate to the [Jaeger UI](http://localhost:16686) or [Zipkin UI](http://localhost:9411) and search for traces related to your service, which were generated by the auto-instrumentation features of OpenTelemetry! | ||
|
||
### Achievement Unlocked: Tracing Enabled | ||
|
||
Adding tracing to a single service is a great first step and although auto-instrumentation provides quite a bit of insight on its own, OpenTelemetry provides a few more features that will allow you gain even deeper insights! | ||
|
||
[Context Propagation][context-propagation] is perhaps one of the most powerful concepts in OpenTelemetry because it will upgrade your single service trace into a _distributed trace_, which makes it possible for OpenTelemetry vendors to visualize a request from end-to-end across process and network boundaries. | ||
|
||
[Span Events][events] allow you to add a human-readable message on a span that represents "something happening" during its lifetime. | ||
|
||
[Manual Instrumentation][manual-instrumentation] will give provide you the ability to enrich your traces with domain specific data. | ||
|
||
[Automatic Instrumentation][auto-instrumentation] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cartermp - this entire page talks about automatic instrumentation and that same link is given elsewhere in the page, so it seemed odd to me to mention it again here in the list of "more things to look into". Hence, I removed the reference. Thoughts? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Makes sense to me. |
||
|
||
|
||
### What next? | ||
|
||
Adding tracing to a single service is a great first step and although | ||
auto-instrumentation provides quite a bit of insight on its own, OpenTelemetry | ||
provides a few more features that will allow you gain even deeper insights! | ||
|
||
- [Context propagation][] is perhaps one of the most powerful | ||
concepts in OpenTelemetry because it will upgrade your single service trace | ||
into a _distributed trace_, which makes it possible for OpenTelemetry vendors | ||
to visualize a request from end-to-end across process and network boundaries. | ||
- [Span events][] allow you to add a human-readable message on a span that | ||
represents "something happening" during its lifetime. | ||
- [Manual instrumentation][manual] will give provide you the ability to enrich | ||
your traces with domain specific data. | ||
|
||
[auto]: https://github.com/open-telemetry/opentelemetry-ruby#instrumentation-libraries | ||
[config]: {{< relref "automatic#configuring-specific-instrumentation-libraries" >}} | ||
[Context propagation]: ../context-propagation | ||
[manual]: ../manual | ||
[repository]: https://github.com/open-telemetry/opentelemetry-ruby | ||
[auto-instrumentation]: https://github.com/open-telemetry/opentelemetry-ruby#instrumentation-libraries | ||
[sdk-env]: {{< relref "/docs/reference/specification/protocol/exporter#configuration-options" >}} | ||
[context-propagation]: ../context_propagation | ||
[events]: ../events | ||
[manual-instrumentation]: ../manual_instrumentation | ||
[configure-specific-libraries]: {{< relref "configuring_automatic_instrumentation#configuring-specific-instrumentation-libraries" >}} | ||
[Span events]: ../events |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: "Manual Instrumentation" | ||
title: Manual Instrumentation | ||
linkTitle: Manual | ||
weight: 4 | ||
--- | ||
|
||
|
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.
@cartermp - note that I converted these paragraphs into a list.