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.Timer.AspNetCore
NetMetric.Timer.AspNetCore provides middleware and extension methods for measuring HTTP request durations in ASP.NET Core applications. It enables seamless integration of ITimerSink-based instrumentation for capturing server-side timing metrics such as route, status code, and request method, helping teams gain visibility into web application performance. |
|
NetMetric.Export.InfluxDB.DependencyInjection
Adds dependency injection support for NetMetric's InfluxDB exporter. Automatically registers exporter, options, validation, and named HttpClient for v2 write API. Ensures correct MetricOptions wiring with support for composite exporters. |
|
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
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.Export.EventCounters.DependencyInjection
Provides dependency injection extensions to register NetMetric EventCounters exporters. Enables publishing metrics via .NET EventSource counters, supporting tools like dotnet-counters, Visual Studio, and PerfView. Follows the options pattern with idempotent and composable registration. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.1-preview | 109 | 9/3/2025 |
1.0.0-preview | 111 | 9/3/2025 |