Neyro.AppMetrics.Extensions.EventCountersCollector 0.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package Neyro.AppMetrics.Extensions.EventCountersCollector --version 0.0.3
NuGet\Install-Package Neyro.AppMetrics.Extensions.EventCountersCollector -Version 0.0.3
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="Neyro.AppMetrics.Extensions.EventCountersCollector" Version="0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Neyro.AppMetrics.Extensions.EventCountersCollector --version 0.0.3
#r "nuget: Neyro.AppMetrics.Extensions.EventCountersCollector, 0.0.3"
#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.
// Install Neyro.AppMetrics.Extensions.EventCountersCollector as a Cake Addin
#addin nuget:?package=Neyro.AppMetrics.Extensions.EventCountersCollector&version=0.0.3

// Install Neyro.AppMetrics.Extensions.EventCountersCollector as a Cake Tool
#tool nuget:?package=Neyro.AppMetrics.Extensions.EventCountersCollector&version=0.0.3

Neyro.AppMetrics.Extensions.EventCountersCollector

AppMetrics's extension for collect EventCounters data from EventSource's which supports it. E.g. RuntimeEventSource or NpgsqlEventSource

Usage:

Just add EventCountersCollector as HostedService in your AspNetCore app.

services.AddHostedService(sp => new Neyro.AppMetrics.Extensions.EventCountersCollector(
	sp.GetRequiredService<IMetricsRoot>(),
    new Neyro.AppMetrics.Extensions.EventCountersCollectorOptions
    {
		RefreshIntervalSec = 5,
        EnabledSources = new[] { "System.Runtime", "Npgsql" }
    }
));
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 was computed.  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. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.8 78,912 8/2/2021
0.0.7 90,376 11/3/2020
0.0.6 819 11/3/2020
0.0.5 1,123 10/26/2020
0.0.4 14,224 3/30/2020
0.0.3 3,179 9/28/2019

0.0.3 Avoid allocations
0.0.2 Fixed possible collisions on counter names from different sources
0.0.1 First raw preview version of package.