Commit 489ffc6
committed
fix: Move the logs-sdk and metrics-sdk requires
This makes it so the logs and metrics will work when you require like
```ruby
require 'opentelemetry/sdk/logs'
require 'opentelemetry/sdk/metrics'
```
Without getting 'opentelemetry-logs-api' or 'opentelemetry-logs-metrics'
earlier.
The opentelemetry-exporter-otlp-logs gem works around this, but I'm
leaving that workaround there for now, so it will work with old versions
of the opentelemetry-logs-sdk gem that are still locked.
[Fixes #1955]1 parent 1933d4c commit 489ffc6
File tree
4 files changed
+6
-4
lines changed- logs_sdk/lib
- opentelemetry/sdk
- metrics_sdk/lib
- opentelemetry/sdk
4 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
0 commit comments