opentelemetry-go-contrib icon indicating copy to clipboard operation
opentelemetry-go-contrib copied to clipboard

Add isolating log record processor

Open pellared opened this issue 1 year ago • 0 comments

Per https://github.com/open-telemetry/opentelemetry-specification/pull/4062

Isolating processor

Status: Development

This is an implementation of LogRecordProcessor ensuring the log record passed to OnEmit of the configured processor does not share mutable data with subsequent registered processors. For example, the OnEmit implementation of the isolating processor can be a decorator that makes a deep copy of the log record before passing it to the configured processor.

Configurable parameters:

  • processor - processor to be isolated.

pellared avatar Jun 28 '24 09:06 pellared