Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 806 Bytes

File metadata and controls

26 lines (17 loc) · 806 Bytes

In-memory Exporter for OpenTelemetry .NET

NuGet NuGet

The in-memory exporter stores data in a user provided memory buffer.

Installation

dotnet add package OpenTelemetry.Exporter.InMemory

Configuration

var activityList = new List<Activity>();
var activityExporter = new InMemoryExporter<Activity>(activityList);

var logRecordList = new List<LogRecord>();
var logExporter = new InMemoryExporter<LogRecord>(logRecordList);

References