VOOZH about

URL: https://www.nuget.org/packages/OpenTelemetry.Instrumentation.Process/

⇱ NuGet Gallery | OpenTelemetry.Instrumentation.Process 1.15.1-beta.1




👁 Image
OpenTelemetry.Instrumentation.Process 1.15.1-beta.1

Prefix Reserved
This is a prerelease version of OpenTelemetry.Instrumentation.Process.
dotnet add package OpenTelemetry.Instrumentation.Process --version 1.15.1-beta.1
 
 
NuGet\Install-Package OpenTelemetry.Instrumentation.Process -Version 1.15.1-beta.1
 
 
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.Instrumentation.Process" Version="1.15.1-beta.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenTelemetry.Instrumentation.Process" Version="1.15.1-beta.1" />
 
Directory.Packages.props
<PackageReference Include="OpenTelemetry.Instrumentation.Process" />
 
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.Instrumentation.Process --version 1.15.1-beta.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OpenTelemetry.Instrumentation.Process, 1.15.1-beta.1"
 
 
#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.
#:package OpenTelemetry.Instrumentation.Process@1.15.1-beta.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OpenTelemetry.Instrumentation.Process&version=1.15.1-beta.1&prerelease
 
Install as a Cake Addin
#tool nuget:?package=OpenTelemetry.Instrumentation.Process&version=1.15.1-beta.1&prerelease
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Process Instrumentation for OpenTelemetry .NET

Status
Stability Beta
Code Owners @Yun-Ting

👁 NuGet version badge
👁 NuGet download count badge
👁 codecov.io

This is an Instrumentation Library, which instruments .NET and collects telemetry about process behavior.

The process metric instruments being implemented are following OpenTelemetry metrics semantic conventions.

Steps to enable OpenTelemetry.Instrumentation.Process

Step 1: Install package

Add a reference to OpenTelemetry.Instrumentation.Process package.

dotnet add package --prerelease OpenTelemetry.Instrumentation.Process

Add a reference to OpenTelemetry.Exporter.Prometheus.HttpListener package.

dotnet add package --prerelease OpenTelemetry.Exporter.Prometheus.HttpListener

Step 2: Enable Process instrumentation

Process instrumentation should be enabled at application startup using the AddProcessInstrumentation extension on MeterProviderBuilder:

using var meterProvider = Sdk.CreateMeterProviderBuilder()
 .AddProcessInstrumentation()
 .AddPrometheusHttpListener()
 .Build();

Refer to Program.cs for a complete demo. This examples sets up the OpenTelemetry Prometheus exporter, which requires adding the package OpenTelemetry.Exporter.Prometheus.HttpListener to the application.

Additionally, this document shows how to use Prometheus and Grafana to build a dashboard for your application. This is the Grafana dashboard template which has all the metrics currently supported by this package; plus an additional aggregated metric CPU utilization calculated with the raw metrics, CPU time and CPU count.

Please follow the instructions in this document to import a Grafana dashboard by uploading the JSON template file.

Metrics

process.memory.usage

The amount of physical memory allocated for this process.

Units Instrument Type Value Type
By ObservableUpDownCounter Double

The API used to retrieve the value is:

  • Process.WorkingSet64: Gets the amount of physical memory, in bytes, allocated for the associated process.

process.memory.virtual

The amount of committed virtual memory for this process. One way to think of this is all the address space this process can read from without triggering an access violation; this includes memory backed solely by RAM, by a swapfile/pagefile and by other mapped files on disk.

Units Instrument Type Value Type
By ObservableUpDownCounter Double

The API used to retrieve the value is:

process.cpu.time

Total CPU seconds broken down by states.

Units Instrument Type Value Type Attribute Key(s) Attribute Values
s ObservableCounter Double process.cpu.state user, system

The APIs used to retrieve the values are:

process.cpu.count

The number of processors (CPU cores) available to the current process.

Units Instrument Type Value Type
{processors} ObservableUpDownCounter Int32

The API used to retrieve the value is System.Environment.ProcessorCount.

This metric is under discussion and not part of the Process Metrics Spec at this time.

process.thread.count

Process threads count.

Units Instrument Type Value Type
{thread} ObservableUpDownCounter Int32

The API used to retrieve the value is:

  • Process.Threads: Gets the set of threads that are running in the associated process.

References

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

NuGet packages (108)

Showing the top 5 NuGet packages that depend on OpenTelemetry.Instrumentation.Process:

Package Downloads
OpenTelemetry.AutoInstrumentation.Runtime.Managed

Managed components used by the OpenTelemetry.AutoInstrumentation project.

Grafana.OpenTelemetry.Base

Minimal Grafana distribution of OpenTelemetry .NET

Elastic.OpenTelemetry

OpenTelemetry extensions for Elastic Observability.

Beamable.Microservice.Runtime

The Beamable.Microservice.Runtime package contains the code required for running C# Microservices.

Soneta.Products.Test

Składnik programu Soneta. Program obsługi firmy: kadry-płace, księgowość, handel, magazyn, CRM, BI ...

GitHub repositories (18)

Showing the top 18 popular GitHub repositories that depend on OpenTelemetry.Instrumentation.Process:

Repository Stars
microsoft/dotnet-podcasts
.NET reference application shown at .NET Conf featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Orleans, Playwright, and more!
exceptionless/Exceptionless
Exceptionless application
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 10 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 21, React 19, Vue 3.5, BFF with YARP, NextJs 16, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ...
Azure/azure-functions-host
The host/runtime that powers Azure Functions
GZTimeWalker/GZCTF
The GZ::CTF project, an open source CTF platform.
meysamhadeli/booking-microservices
A practical microservices with the latest technologies and architectures like Vertical Slice Architecture, Event Sourcing, CQRS, DDD, gRpc, MongoDB, RabbitMq, Masstransit, and Aspire in .Net 10.
mehdihadeli/food-delivery-microservices
🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
NikiforovAll/keycloak-authorization-services-dotnet
Authentication and Authorization with Keycloak and ASP.NET Core 🔐
nkdAgility/azure-devops-migration-tools
Azure DevOps Migration Tools allow you to migrate Teams, Backlogs, Work Items, Tasks, Test Cases, and Plans & Suits from one Project to another in Azure DevOps / TFS both within the same Organisation, and between Organisations.
meysamhadeli/booking-modular-monolith
A practical Modular Monolith architecture with the latest technologies and architecture like Vertical Slice Architecture, Event Driven Architecture, CQRS, DDD, gRpc, Masstransit, and Aspire in .Net 10.
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
TuralSuleymani/the-real-DDD-CQRS-CleanArchitecture
A real-world example of a shopping basket API built with C#, showcasing Domain-Driven Design (DDD), Clean Architecture, and CQRS patterns. Includes features like basket management, discount application, and event-driven design with Kafka.
IvanJosipovic/KubeUI
Kubernetes User Interface
mehdihadeli/vertical-slice-api-template
🍰 An asp.net core template based on .Net 9, Vertical Slice Architecture, CQRS, Minimal APIs, OpenTelemetry, API Versioning and OpenAPI.
microsoft/Agents-for-net
This repository is for active development of the Microsoft 365 Agent SDK components for .NET
SapiensAnatis/Dawnshard
Server emulator for Dragalia Lost
FritzAndFriends/TagzApp
An application that discovers content on social media for hashtags
BigBang1112/gbx-net
General purpose library for Gbx files - data from Nadeo games like Trackmania or Shootmania, written in C#/.NET. It supports high performance serialization and deserialization of 400+ Gbx classes.
Version Downloads Last Updated
1.15.1-beta.1 1,239,676 4/21/2026
1.15.0-beta.1 2,174,505 1/21/2026
1.14.0-beta.2 2,415,073 11/14/2025
1.14.0-beta.1 113,540 11/13/2025
1.13.0-beta.1 446,652 10/22/2025
1.12.0-beta.1 6,187,765 5/5/2025
1.11.0-beta.2 3,541,002 3/5/2025
1.11.0-beta.1 1,281,625 1/27/2025
1.10.0-beta.1 2,168,817 12/9/2024
0.5.0-beta.7 6,952,732 9/25/2024
0.5.0-beta.6 5,859,683 6/18/2024
0.5.0-beta.5 5,011,153 4/5/2024
0.5.0-beta.4 6,343,745 1/4/2024
0.5.0-beta.3 6,092,887 6/9/2023
0.5.0-beta.2 1,648,367 2/28/2023
0.5.0-beta.1 139,458 2/17/2023
Loading failed