Skip to content

Commit

Permalink
Some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Mar 7, 2024
1 parent 456af11 commit e301b43
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions docs/UpgradeGuide2.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ If you are using our CI visibility product, include `datadog-ci` in your Gemfile

```ruby
gem 'ddtrace', '>= 2'
gem 'datadog-ci'

group :test do
gem 'datadog-ci'
end
```

If you do not want to install `datadog-ci`, make sure to remove CI-related configuration( `Datadog.configure { |c| c.ci.* }`)
Expand Down Expand Up @@ -107,21 +110,21 @@ B3 propagation has been removed from the default propagation for distributed tra

- The following programmatic configuration options have been changed. Their corresponding environment variables (if any) are unchanged:

| 1.x | 2.0 |
| ------------------------------------------------------- | ----------------------------------- |
| `tracing.distributed_tracing.propagation_extract_first` | `tracing.propagation_extract_first` |
| `tracing.distributed_tracing.propagation_extract_style` | `tracing.propagation_style_extract` |
| `tracing.distributed_tracing.propagation_inject_style` | `tracing.propagation_style_inject` |
| `tracing.distributed_tracing.propagation_style` | `tracing.propagation_style` |
| `diagnostics.health_metrics.enabled` | `health_metrics.enabled` |
| `diagnostics.health_metrics.statsd` | `health_metrics.statsd` |
| `profiling.advanced.max_events` | Removed |
| `profiling.advanced.legacy_transport_enabled` | Removed |
| `profiling.advanced.force_enable_new_profiler` | Removed |
| `profiling.advanced.force_enable_legacy_profiler` | Removed |
| `profiling.advanced.allocation_counting_enabled` | Removed |
| `profiling.advanced.experimental_allocation_sample_rate` | Removed |
| `profiling.advanced.experimental_timeline_enabled` | `profiling.advanced.timeline_enabled` |
| 1.x | 2.0 |
| -------------------------------------------------------- | ------------------------------------- |
| `tracing.distributed_tracing.propagation_extract_first` | `tracing.propagation_extract_first` |
| `tracing.distributed_tracing.propagation_extract_style` | `tracing.propagation_style_extract` |
| `tracing.distributed_tracing.propagation_inject_style` | `tracing.propagation_style_inject` |
| `tracing.distributed_tracing.propagation_style` | `tracing.propagation_style` |
| `diagnostics.health_metrics.enabled` | `health_metrics.enabled` |
| `diagnostics.health_metrics.statsd` | `health_metrics.statsd` |
| `profiling.advanced.max_events` | Removed |
| `profiling.advanced.legacy_transport_enabled` | Removed |
| `profiling.advanced.force_enable_new_profiler` | Removed |
| `profiling.advanced.force_enable_legacy_profiler` | Removed |
| `profiling.advanced.allocation_counting_enabled` | Removed |
| `profiling.advanced.experimental_allocation_sample_rate` | Removed |
| `profiling.advanced.experimental_timeline_enabled` | `profiling.advanced.timeline_enabled` |

<h2 id="2.0-advanced-usage">Advanced Usage</h2>

Expand Down Expand Up @@ -452,15 +455,15 @@ end

#### OpenTracing

- Removed entirely. Use `ddtrace` 1.x.
- Removed entirely.

#### PG

- Rename `error_handler` option to `on_error`. See [Error Handling](#2.0-error-handling)

#### Qless

- Removed entirely. Use `ddtrace` 1.x.
- Removed entirely.

#### Que

Expand Down

0 comments on commit e301b43

Please sign in to comment.