etishor / Metrics.NET

The Metrics.NET library provides a way of instrumenting applications with custom metrics (timers, histograms, counters etc) that can be reported in various ways and can provide insights on what is happening inside a running application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nancy Metrics Adapter - Error 503

thomasd3 opened this issue · comments

When using the Nancy Metrics Adapter I have two different behaviors when I want to visualize the graph (http://localhost:2082):
On one computer it runs properly, on another computer, the same executable gives me an error 503. Are there specific files that need to be moved as well? or could it be a permission problem?
The port 2082 is authorized on both computers with: netsh http add urlacl url=http://+:2082/ user=Everyone

This is the code I used:

    Metric.Config
        .WithAllCounters()
        .WithReporting(_ => _.WithTextFileReport(@"d:\Logs\WebRest.log", TimeSpan.FromHours(1)))
        .WithHttpEndpoint("http://localhost:2082/")
        .WithNancy(Pipelines);