Com.RFranco.Iris.NancyMetrics 0.0.1-beta

Library providing prometheus metrics instrumentation to a NancyFx application.

This is a prerelease version of Com.RFranco.Iris.NancyMetrics.
There is a newer version of this package available.
See the version list below for details.
Install-Package Com.RFranco.Iris.NancyMetrics -Version 0.0.1-beta
dotnet add package Com.RFranco.Iris.NancyMetrics --version 0.0.1-beta
<PackageReference Include="Com.RFranco.Iris.NancyMetrics" Version="0.0.1-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Com.RFranco.Iris.NancyMetrics --version 0.0.1-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NancyMetrics

Prometheus metrics instrumentation for NancyFx

Why NancyMetrics

Its needed to improve the observability of the NancyFx-based components. Using this library, the NancyFx service publishs a /metrics endpoint from where retrieve the metrics related to the service and know the contextual status of the service.

How To Use NancyMetrics

When your Nancy application uses an IoC container with auto-registration support, all you have to do is adding a reference to the NancyMetrics Nuget project in order to add the /metrics endpoint to your NancyFx application.

If the /metrics endpoint are still unavailable after adding a reference to NancyMetrics in your project, you might have to explicitly register the Nancy module in your IoC container from your custom Nancy bootstrapper. For example, using Ninject:

container.Bind<NancyModule>().To<MetricsModule>();
container.Bind<INancyServiceStatsCollector>().To<NancyServiceStatsCollector>();

NancyMetrics

Prometheus metrics instrumentation for NancyFx

Why NancyMetrics

Its needed to improve the observability of the NancyFx-based components. Using this library, the NancyFx service publishs a /metrics endpoint from where retrieve the metrics related to the service and know the contextual status of the service.

How To Use NancyMetrics

When your Nancy application uses an IoC container with auto-registration support, all you have to do is adding a reference to the NancyMetrics Nuget project in order to add the /metrics endpoint to your NancyFx application.

If the /metrics endpoint are still unavailable after adding a reference to NancyMetrics in your project, you might have to explicitly register the Nancy module in your IoC container from your custom Nancy bootstrapper. For example, using Ninject:

container.Bind<NancyModule>().To<MetricsModule>();
container.Bind<INancyServiceStatsCollector>().To<NancyServiceStatsCollector>();

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.2.5 98 12/12/2019
0.2.4 98 12/12/2019
0.2.3 90 12/11/2019
0.2.2 99 12/11/2019
0.2.1 92 11/20/2019
0.2.0 87 11/19/2019
0.1.4 95 12/12/2019
0.1.3 87 12/12/2019
0.1.2 88 12/11/2019
0.1.1 93 12/11/2019
0.1.0 88 11/20/2019
0.0.5 114 11/11/2019
0.0.4 83 11/11/2019
0.0.3 86 11/11/2019
0.0.2 96 11/11/2019
0.0.2-beta 85 11/4/2019
0.0.1 85 11/7/2019
0.0.1-beta 184 4/11/2019
Show less