You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. (Optional) Addor activate additional instrumentation by doing either of the following:
174
+
1. ActivateDatadog integration instrumentation (see [Integration instrumentation](#integration-instrumentation))
175
+
2. AddDatadog manual instrumentation around your code (see [Manual instrumentation](#manual-instrumentation))
176
+
139
177
### Final steps for installation
140
178
141
179
After setting up, your services will appear on the [APM services page](https://app.datadoghq.com/apm/services) within a few minutes. Learn more about [using the APMUI][visualization docs].
@@ -869,6 +907,7 @@ Where `options` is an optional `Hash` that accepts the following parameters:
869
907
| ``database_service`` | Database service name used when tracing database activity | ``<app_name>-<adapter_name>`` |
870
908
| ``exception_controller`` | Class or Module which identifies a custom exception controller class. Tracer provides improved error behavior when it can identify custom exception controllers. By default, without this option, it 'guesses' what a custom exception controller looks like. Providing this option aids this identification. | ``nil`` |
871
909
| ``distributed_tracing`` | Enables [distributed tracing](#distributed-tracing) so that this service trace is connected with a trace of another service if tracing headers are received | `false` |
910
+
| ``middleware`` | Add the trace middleware to the Rails application. Set to `false` if you don't want the middleware to load. |`true`|
872
911
|``middleware_names``|Enables any short-circuited middleware requests to display the middleware name as resource for the trace. |`false`|
873
912
|``template_base_path``|Usedwhen the template name is parsed. If you don't store your templates in the ``views/`` folder, you may need to change this value | ``views/`` |
874
913
| ``tracer`` | A ``Datadog::Tracer`` instance used to instrument the application. Usually you don't need to set that. |``Datadog.tracer``|
It can also be configured by using `Datadog.configure` described in the [Tracer settings](#tracer-settings) section.
1567
+
1568
+
**Activating and configuring integrations**
1569
+
1570
+
By default, configuring OpenTracing with Datadog will not automatically activate any additional instrumentation provided by Datadog. You will only receive spans and traces from OpenTracing instrumentation you have in your application.
1571
+
1572
+
However, additional instrumentation provided by Datadog can be activated alongside OpenTracing using `Datadog.configure`, which can be used to further enhance your tracing. To activate this, see [Integration instrumentation](#integration-instrumentation) for more details.
| `OpenTracing::FORMAT_RACK` | Yes | Because of the loss of resolution in the Rack format, please note that baggage items with names containing either upper case characters or `-` will be converted to lower case and `_` in a round-trip respectively. We recommend avoiding these characters, or accommodating accordingly on the receiving end. |
0 commit comments