Skip to content

Commit 6617568

Browse files
authored
Remove outdated example from changelog
1 parent 3e54426 commit 6617568

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

opentelemetry-sdk/CHANGELOG.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -379,21 +379,6 @@ let processor = BatchSpanProcessor::builder(exporter)
379379
For example, in the OTLP Metrics exporter, the export timeout can be configured using:
380380
- The environment variables `OTEL_EXPORTER_OTLP_TIMEOUT` or `OTEL_EXPORTER_OTLP_METRICS_TIMEOUT`.
381381
- The `opentelemetry_otlp` API, via `.with_tonic().with_timeout()` or `.with_http().with_timeout()`.
382-
383-
Before:
384-
```rust
385-
let reader = PeriodicReader::builder(exporter)
386-
.with_interval(Duration::from_secs(30))
387-
.with_timeout(Duration::from_secs(10)) // Previously configurable timeout
388-
.build();
389-
```
390-
391-
After:
392-
```rust
393-
let reader = PeriodicReader::builder(exporter)
394-
.with_interval(Duration::from_secs(30))
395-
.build();
396-
```
397382

398383
## 0.27.1
399384

0 commit comments

Comments
 (0)