NetMetric.Abstractions
1.0.1-preview
Prefix Reserved
dotnet add package NetMetric.Abstractions --version 1.0.1-preview
NuGet\Install-Package NetMetric.Abstractions -Version 1.0.1-preview
<PackageReference Include="NetMetric.Abstractions" Version="1.0.1-preview" />
<PackageVersion Include="NetMetric.Abstractions" Version="1.0.1-preview" />
<PackageReference Include="NetMetric.Abstractions" />
paket add NetMetric.Abstractions --version 1.0.1-preview
#r "nuget: NetMetric.Abstractions, 1.0.1-preview"
#:package NetMetric.Abstractions@1.0.1-preview
#addin nuget:?package=NetMetric.Abstractions&version=1.0.1-preview&prerelease
#tool nuget:?package=NetMetric.Abstractions&version=1.0.1-preview&prerelease
A high-performance, flexible, tag-based metrics collection library for .NET applications.
Documentation
Get started quickly by reviewing the official documentation.
NuGet Packages
The following NuGet packages are officially supported:
Core Packages
System Metrics Extensions
- NetMetric.CPU
- NetMetric.CPU.DependencyInjection
- NetMetric.DNS
- NetMetric.DNS.DependencyInjection
- NetMetric.GC
- NetMetric.GC.DependencyInjection
- NetMetric.Memory
- NetMetric.Memory.DependencyInjection
- NetMetric.Network
- NetMetric.Network.DependencyInjection
- NetMetric.Process
- NetMetric.Process.Abstractions
- NetMetric.Process.DependencyInjection
- NetMetric.SystemIO
- NetMetric.SystemIO.Linux
- NetMetric.SystemIO.MacOS
- NetMetric.SystemIO.Windows
- NetMetric.SystemIO.Abstractions
- NetMetric.SystemIO.DependencyInjection
- NetMetric.Timer
- NetMetric.Timer.DependencyInjection
- NetMetric.Timer.AspNetCore
- NetMetric.Timer.AspNetCore.DependencyInjection
- NetMetric.Timer.Http
- NetMetric.Timer.Http.DependencyInjection
Adapter Packages
- NetMetric.AspNetCore
- NetMetric.AspNetCore.DependencyInjection
- NetMetric.Grpc
- NetMetric.Grpc.DependencyInjection
- NetMetric.HttpClient
- NetMetric.HttpClient.DependencyInjection
- NetMetric.IIS
- NetMetric.IIS.DependencyInjection
- NetMetric.Kestrel
- NetMetric.Kestrel.DependencyInjection
- NetMetric.Quic
- NetMetric.Quic.DependencyInjection
- NetMetric.SignalR
- NetMetric.SignalR.Abstractions
- NetMetric.SignalR.DependencyInjection
Cloud Packages
- NetMetric.AWS
- NetMetric.AWS.Abstractions
- NetMetric.AWS.DependencyInjection
- NetMetric.Azure
- NetMetric.Azure.Abstractions
- NetMetric.Azure.DependencyInjection
- NetMetric.Certificates
- NetMetric.Certificates.Abstractions
- NetMetric.Certificates.DependencyInjection
Database Packages
- NetMetric.Db
- NetMetric.Db.Abstractions
- NetMetric.Db.DependencyInjection
- NetMetric.Db.EntityFrameworkCore
- NetMetric.Db.Npgsql
- NetMetric.Db.SqlClient
Exporter Packages
- NetMetric.Export.AzureMonitor
- NetMetric.Export.AzureMonitor.Abstractions
- NetMetric.Export.AzureMonitor.DependencyInjection
- NetMetric.Export.CloudWatch
- NetMetric.Export.CloudWatch.DependencyInjection
- NetMetric.Export.Elastic
- NetMetric.Export.Elastic.Abstractions
- NetMetric.Export.Elastic.DependencyInjection
- NetMetric.Export.EventCounters
- NetMetric.Export.EventCounters.DependencyInjection
- NetMetric.Export.InfluxDB
- NetMetric.Export.InfluxDB.DependencyInjection
- NetMetric.Export.JsonConsole
- NetMetric.Export.JsonConsole.Abstractions
- NetMetric.Export.JsonConsole.DependencyInjection
- NetMetric.Export.OpenTelemetry
- NetMetric.Export.Prometheus
- NetMetric.Export.Prometheus.AspNetCore
- NetMetric.Export.Stackdriver
- NetMetric.Export.Stackdriver.DependencyInjection
- NetMetric.Export
- NetMetric.Export.DependencyInjection
- NetMetric.OpenTelemetryBridge
- NetMetric.OpenTelemetryBridge.Abstractions
- NetMetric.OpenTelemetryBridge.DependencyInjection
Messaging Packages
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- No dependencies.
NuGet packages (58)
Showing the top 5 NuGet packages that depend on NetMetric.Abstractions:
| Package | Downloads |
|---|---|
|
NetMetric.Kafka
Kafka metrics module for NetMetric. Collects high-resolution statistics from Confluent.Kafka clients (producer/consumer) via Statistics event, including latency, throughput, retry/error counters, and consumer lag. Includes support for dependency injection, cardinality control, and DI-safe snapshot sources. |
|
|
NetMetric.IIS
IIS in-process hosting metrics for .NET. Includes an EventListener that maps IIS/ASP.NET Core Module events to counters and gauges (connections, requests, error reasons, listener faults), plus a hosted service that enables collection on Windows unless disabled via environment variable. |
|
|
NetMetric.Memory
NetMetric.Memory is a cross-platform .NET metrics module that captures memory-related telemetry for processes, system memory, and .NET GC activity. It supports detailed multi-gauge metrics from sources including process memory usage (working set, private bytes, managed heap), OS-level memory (total, used, cached, buffers), and garbage collection stats (collection counts, per-second rates, heap size, fragmentation). The module is compatible with Linux (including cgroup v2 for containers), Windows, and macOS, and it offers built-in error and cancellation tagging for resilient metric export pipelines. Configurable via `MemoryModuleOptions`, it allows for lightweight or verbose metric collection modes. Ideal for observability pipelines and exporters integrating with Prometheus, OpenTelemetry, or custom diagnostics infrastructure. |
|
|
NetMetric.Kafka.DependencyInjection
Dependency injection extensions for NetMetric's Kafka module. Includes KafkaModule registration, statistics sink wiring for Confluent.Kafka clients, and support for IMetricFactory and IKafkaStatsSource. Enables seamless Kafka metrics integration into .NET applications. |
|
|
NetMetric.Process.Abstractions
NetMetric.Process.Abstractions defines interfaces for collecting process-level metrics in .NET applications. It includes contracts for accessing process information, CPU and memory usage, uptime, and custom probes. This package is part of the NetMetric observability framework and is intended for use in modular metric collection and testing scenarios. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1-preview | 193 | 9/3/2025 |
| 1.0.0-preview | 171 | 9/3/2025 |