Metrics.NET icon indicating copy to clipboard operation
Metrics.NET copied to clipboard

Nancy Metrics Adapter - Error 503

Open thomasd3 opened this issue 10 years ago • 0 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);

thomasd3 avatar Dec 17 '15 16:12 thomasd3