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

Adding additional information to the HTML page

Open rapoth opened this issue 9 years ago • 3 comments

I have installed Metrics.NET from NuGET so it got added as a DLL. I'm just wondering how I can go about adding some custom information inside the HTML page that gets displayed when I access my process through the visualization interface exposed. I could not find where the index.html file gets stored when I install this through NuGET.

rapoth avatar May 21 '15 18:05 rapoth

In the visualisation folder, there is a "release" version of the https://github.com/etishor/Metrics.NET.FlotVisualization project.

I'll try to provide more info in a few days when i get to a computer.

etishor avatar May 21 '15 19:05 etishor

@etishor Thanks Iulian! Ideally, it would be nice to make certain aspects configurable. For instance, I just started testing Metrics.NET in my application that serves multiple roles (e.g., data collector, request handler etc.) and it would be nice to pass a custom name as configuration parameter to Metrics (that will then be displayed when accessed through the browser) so that when I access this web interface on a certain machine, I know exactly the role of my application on that box.

The only issue I see if that the index.html file is now contained as an embedded resource so I am not completely sure what the correct approach is to achieve this.

rapoth avatar May 26 '15 20:05 rapoth

Hi sorry for the late response. The visualization app is due another iteration as there are a lot of things that have been implemented in the library and are not reflected in the graphic visualization. ATM i'm focused on getting the dev branch stabilized for a new release and after that the visualization might get some love.

etishor avatar Jun 23 '15 08:06 etishor