Com.RFranco.Iris.NancyMetrics
0.0.1-beta
See the version list below for details.
dotnet add package Com.RFranco.Iris.NancyMetrics --version 0.0.1-beta
NuGet\Install-Package Com.RFranco.Iris.NancyMetrics -Version 0.0.1-beta
<PackageReference Include="Com.RFranco.Iris.NancyMetrics" Version="0.0.1-beta" />
paket add Com.RFranco.Iris.NancyMetrics --version 0.0.1-beta
#r "nuget: Com.RFranco.Iris.NancyMetrics, 0.0.1-beta"
// Install Com.RFranco.Iris.NancyMetrics as a Cake Addin #addin nuget:?package=Com.RFranco.Iris.NancyMetrics&version=0.0.1-beta&prerelease // Install Com.RFranco.Iris.NancyMetrics as a Cake Tool #tool nuget:?package=Com.RFranco.Iris.NancyMetrics&version=0.0.1-beta&prerelease
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>();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5
- log4net (>= 2.0.8)
- Nancy (>= 1.4.5)
- prometheus-net (>= 1.3.5)
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.2.6 | 459 | 5/6/2021 |
0.2.5 | 977 | 12/12/2019 |
0.2.4 | 501 | 12/12/2019 |
0.2.3 | 486 | 12/11/2019 |
0.2.2 | 506 | 12/11/2019 |
0.2.1 | 478 | 11/20/2019 |
0.2.0 | 486 | 11/19/2019 |
0.1.5 | 363 | 5/6/2021 |
0.1.4 | 4,254 | 12/12/2019 |
0.1.3 | 462 | 12/12/2019 |
0.1.2 | 499 | 12/11/2019 |
0.1.1 | 474 | 12/11/2019 |
0.1.0 | 483 | 11/20/2019 |
0.0.5 | 523 | 11/11/2019 |
0.0.4 | 485 | 11/11/2019 |
0.0.3 | 482 | 11/11/2019 |
0.0.2 | 502 | 11/11/2019 |
0.0.2-beta | 366 | 11/4/2019 |
0.0.1 | 507 | 11/7/2019 |
0.0.1-beta | 472 | 4/11/2019 |