Skip to content

Commit 51cb58c

Browse files
authored
[Logs] Remove the in-development isolating log record processor (#4301)
1 parent aa4bf33 commit 51cb58c

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ release.
3232
([#4183](https://github.com/open-telemetry/opentelemetry-specification/pull/4183))
3333
- Remove the recommendation to not synchronize access to `LoggerConfig.disabled`.
3434
([#4310](https://github.com/open-telemetry/opentelemetry-specification/pull/4310))
35+
- Remove the in-development isolating log record processor.
36+
([#4301](https://github.com/open-telemetry/opentelemetry-specification/pull/4301))
3537

3638
### Events
3739

specification/logs/sdk.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
* [Built-in processors](#built-in-processors)
2929
+ [Simple processor](#simple-processor)
3030
+ [Batching processor](#batching-processor)
31-
+ [Isolating processor](#isolating-processor)
3231
- [LogRecordExporter](#logrecordexporter)
3332
* [LogRecordExporter operations](#logrecordexporter-operations)
3433
+ [Export](#export)
@@ -235,8 +234,7 @@ the following information added to the [LogRecord](data-model.md#log-and-event-r
235234
* [`TraceFlags`](./data-model.md#field-traceflags)
236235

237236
The SDK MAY provide an operation that makes a deep clone of a `ReadWriteLogRecord`.
238-
The operation can be used to implement the [isolating processor](#isolating-processor)
239-
or by asynchronous processors (e.g. [Batching processor](#batching-processor))
237+
The operation can be used by asynchronous processors (e.g. [Batching processor](#batching-processor))
240238
to avoid race conditions on the log record that is not required to be
241239
concurrent safe.
242240

@@ -383,10 +381,6 @@ make the flush timeout configurable.
383381
The standard OpenTelemetry SDK MUST implement both simple and batch processors,
384382
as described below.
385383

386-
**Status**: [Development](../document-status.md) -
387-
The standard OpenTelemetry SDK SHOULD implement an isolating processor,
388-
as described below.
389-
390384
Other common processing scenarios SHOULD be first considered
391385
for implementation out-of-process
392386
in [OpenTelemetry Collector](../overview.md#collector).
@@ -426,21 +420,6 @@ to make sure that they are not invoked concurrently.
426420
* `maxExportBatchSize` - the maximum batch size of every export. It must be
427421
smaller or equal to `maxQueueSize`. The default value is `512`.
428422

429-
#### Isolating processor
430-
431-
**Status**: [Development](../document-status.md)
432-
433-
This is an implementation of `LogRecordProcessor` ensuring the log record
434-
passed to `OnEmit` of the configured `processor` does not share mutable data
435-
with subsequent registered processors.
436-
For example, the `OnEmit` implementation of the isolating processor can be
437-
a decorator that makes a deep copy of the log record before passing it to
438-
the configured `processor`.
439-
440-
**Configurable parameters:**
441-
442-
* `processor` - processor to be isolated.
443-
444423
## LogRecordExporter
445424

446425
`LogRecordExporter` defines the interface that protocol-specific exporters must

0 commit comments

Comments
 (0)