Skip to content

Commit

Permalink
Merge pull request #2307 from pedrocunha/patch-2
Browse files Browse the repository at this point in the history
Fixes upgrade guide on configure_onto
  • Loading branch information
ivoanjo authored Oct 6, 2022
2 parents e2e05da + c4cb010 commit 7b39ffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/UpgradeGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ end
| General | Removed | `Datadog.configure` can no longer be called without a block | Remove uses of `Datadog.configure` without a block. |
| CI API | Changed | `DD_TRACE_CI_MODE_ENABLED` environment variable is now `DD_TRACE_CI_ENABLED` | Use `DD_TRACE_CI_ENABLED` instead. |
| Configuration | Changed | Many settings have been namespaced under specific categories | Update your configuration to these [new settings](#1.0-configuration-settings) where appropriate. |
| Configuration | Removed | `Datadog.configure(client, options)` | Use `Datadog::Tracing.configure_onto(client, options)` instead. |
| Configuration | Removed | `Datadog.configure(client, options)` | Use `Datadog.configure_onto(client, options)` instead. |
| Configuration | Removed | `DD_#{integration}_ANALYTICS_ENABLED` and `DD_#{integration}_ANALYTICS_SAMPLE_RATE` environment variables | Use `DD_TRACE_#{integration}_ANALYTICS_ENABLED` and `DD_TRACE_#{integration}_ANALYTICS_SAMPLE_RATE` instead. |
| Configuration | Removed | `DD_PROPAGATION_INJECT_STYLE` and `DD_PROPAGATION_EXTRACT_STYLE` environment variables | Use `DD_PROPAGATION_STYLE_INJECT` and `DD_PROPAGATION_STYLE_EXTRACT` instead. |
| Integrations | Changed | `-` in HTTP header tag names are kept, and no longer replaced with `_` | For example: `http.response.headers.content_type` is changed to `http.response.headers.content-type`. |
Expand All @@ -719,7 +719,7 @@ end
| Tracing API | Removed | `child_of:` option from `Tracer#trace` | Not supported. |
| Tracing API | Removed | `Datadog.tracer` | Use methods in `Datadog::Tracing` instead. |
| Tracing API | Removed | `Pin.get_from(client)` | Use `Datadog::Tracing.configure_for(client)` instead. |
| Tracing API | Removed | `Pin.new(service, config: { option: value }).onto(client)` | Use `Datadog::Tracing.configure_onto(client, service_name: service, option: value)` instead. |
| Tracing API | Removed | `Pin.new(service, config: { option: value }).onto(client)` | Use `Datadog.configure_onto(client, service_name: service, option: value)` instead. |
| Tracing API | Removed | `Pipeline.before_flush` | Use `Datadog::Tracing.before_flush` instead. |
| Tracing API | Removed | `SpanOperation#context` | Use `Datadog::Tracing.active_trace` instead. |
| Tracing API | Removed | `SpanOperation#parent`/`SpanOperation#parent=` | Not supported. |
Expand Down

0 comments on commit 7b39ffe

Please sign in to comment.