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
Copy file name to clipboardExpand all lines: docs/GettingStarted.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -685,6 +685,7 @@ Where `options` is an optional `Hash` that accepts the following parameters:
685
685
| `error_handler` | A `Proc` that accepts a `response` parameter. If it evaluates to a *truthy* value, the trace span is marked as an error. By default only sets 5XX responses as errors. | `nil` |
686
686
| `service_name` | Service name for Excon instrumentation. When provided to middleware for a specific connection, it applies only to that connection object. | `'excon'` |
687
687
| `split_by_domain` | Uses the request domain as the service name when set to `true`. | `false` |
688
+
| `split_by_domain_map` | When splitting by domain, provide a hash of regex => service name to override the service name for matched domains. | `{}` |
688
689
| `tracer` | `Datadog::Tracer` used to perform instrumentation. Usually you don't need to set this. |`Datadog.tracer`|
689
690
690
691
**Configuring connections to use different settings**
@@ -743,6 +744,7 @@ Where `options` is an optional `Hash` that accepts the following parameters:
743
744
|`error_handler`|A`Proc` that accepts a `response` parameter. If it evaluates to a *truthy* value, the trace span is marked as an error. By default only sets 5XX responses as errors. |`nil`|
744
745
|`service_name`|Service name forFaraday instrumentation. When provided to middleware for a specific connection, it applies only to that connection object. |`'faraday'`|
745
746
|`split_by_domain`|Uses the request domain as the service name when set to `true`. |`false`|
747
+
|`split_by_domain_map`|When splitting by domain, provide a hash of regex => service name to override the service name for matched domains. |`{}`|
746
748
|`tracer`|`Datadog::Tracer` used to perform instrumentation. Usually, you don't need to set this. | `Datadog.tracer` |
0 commit comments