OpenTelemetry.Exporter.InMemory 1.11.2

Prefix Reserved
dotnet add package OpenTelemetry.Exporter.InMemory --version 1.11.2
                    
NuGet\Install-Package OpenTelemetry.Exporter.InMemory -Version 1.11.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenTelemetry.Exporter.InMemory" Version="1.11.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenTelemetry.Exporter.InMemory" Version="1.11.2" />
                    
Directory.Packages.props
<PackageReference Include="OpenTelemetry.Exporter.InMemory" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OpenTelemetry.Exporter.InMemory --version 1.11.2
                    
#r "nuget: OpenTelemetry.Exporter.InMemory, 1.11.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=OpenTelemetry.Exporter.InMemory&version=1.11.2
                    
Install OpenTelemetry.Exporter.InMemory as a Cake Addin
#tool nuget:?package=OpenTelemetry.Exporter.InMemory&version=1.11.2
                    
Install OpenTelemetry.Exporter.InMemory as a Cake Tool

In-memory Exporter for OpenTelemetry .NET

NuGet NuGet

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

[!WARNING] This component is intended to be used for testing purposes. It is not recommended for any production environment.

Installation

dotnet add package OpenTelemetry.Exporter.InMemory

Configuration

See the TestInMemoryExporter.cs for an example of how to use the exporter for exporting traces to a collection.

You can configure the InMemoryExporter through Options types properties and environment variables. The Options type setters take precedence over the environment variables.

Environment Variables

The following environment variables can be used to override the default values of the PeriodicExportingMetricReaderOptions (following the OpenTelemetry specification.

Environment variable PeriodicExportingMetricReaderOptions property
OTEL_METRIC_EXPORT_INTERVAL ExportIntervalMilliseconds
OTEL_METRIC_EXPORT_TIMEOUT ExportTimeoutMilliseconds

References

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on OpenTelemetry.Exporter.InMemory:

Package Downloads
Aksio.Cratis.Kernel.Read

Package Description

Cratis.Chronicle.Infrastructure

Package Description

Jakar.Database

Package Description

Raccoon.Tools.OpenTelemetry.Exports.MongoDB

Package Description

Cratis.Chronicle.Server

Package Description

GitHub repositories (19)

Showing the top 5 popular GitHub repositories that depend on OpenTelemetry.Exporter.InMemory:

Repository Stars
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
graphql-dotnet/graphql-dotnet
GraphQL for .NET
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
open-telemetry/opentelemetry-dotnet
The OpenTelemetry .NET Client
Version Downloads Last updated
1.11.2 29,764 3/4/2025
1.11.1 45,773 1/23/2025
1.11.0 9,102 1/16/2025
1.11.0-rc.1 366 12/12/2024
1.10.0 93,719 11/12/2024
1.10.0-rc.1 104 11/1/2024
1.10.0-beta.1 270 9/30/2024
1.9.0 450,250 6/14/2024
1.9.0-rc.1 15,860 6/7/2024
1.9.0-alpha.1 4,735 5/20/2024
1.8.1 441,149 4/18/2024
1.8.0 30,125 4/3/2024
1.8.0-rc.1 11,382 3/27/2024
1.8.0-beta.1 366 3/14/2024
1.7.0 220,003 12/9/2023
1.7.0-rc.1 7,669 11/30/2023
1.7.0-alpha.1 3,720 10/17/2023
1.6.0 655,082 9/6/2023
1.6.0-rc.1 7,412 8/21/2023
1.6.0-alpha.1 125,062 7/12/2023
1.5.1 418,352 6/26/2023
1.5.0 36,110 6/6/2023 1.5.0 is deprecated.
1.5.0-rc.1 2,181 5/26/2023
1.5.0-alpha.2 196,036 4/1/2023
1.5.0-alpha.1 31,551 3/8/2023
1.4.0 363,179 2/24/2023
1.4.0-rc.4 5,218 2/11/2023
1.4.0-rc.3 3,119 2/2/2023
1.4.0-rc.2 34,431 1/9/2023
1.4.0-rc.1 6,158 12/12/2022
1.4.0-beta.3 3,650 11/7/2022
1.4.0-beta.2 11,414 10/17/2022
1.4.0-beta.1 6,148 9/30/2022
1.4.0-alpha.2 9,629 8/18/2022
1.4.0-alpha.1 4,866 8/3/2022
1.3.2 45,878 12/20/2022
1.3.1 161,868 9/8/2022
1.3.0 260,593 6/3/2022
1.3.0-rc.2 160 6/1/2022
1.3.0-beta.2 13,961 5/17/2022
1.3.0-beta.1 9,871 4/20/2022
1.2.0-rc5 17,517 4/13/2022
1.2.0-rc4 12,690 3/30/2022
1.2.0-rc3 10,152 3/5/2022
1.2.0-rc2 48,143 2/3/2022
1.2.0-rc1 4,040 11/30/2021
1.2.0-beta2.1 1,133 11/19/2021
1.2.0-beta1 4,665 10/8/2021
1.2.0-alpha4 600 9/23/2021
1.2.0-alpha3 684 9/14/2021
1.2.0-alpha2 874 8/25/2021
1.2.0-alpha1 381 7/23/2021
1.1.0 215,466 7/13/2021
1.1.0-rc1 43,010 6/26/2021
1.1.0-beta4 414 6/9/2021
1.1.0-beta3 268 5/12/2021
1.1.0-beta2 13,195 4/23/2021
1.1.0-beta1 1,600 3/19/2021
1.0.1 8,212 2/10/2021
1.0.0-rc4 280 2/9/2021
1.0.0-rc3 255 2/5/2021
1.0.0-rc2 280 1/30/2021
1.0.0-rc1.1 574 11/18/2020
0.8.0-beta.1 251 11/5/2020
0.7.0-beta.1 279 10/16/2020