ngallegos / service-insight

Basic Blazor web app implementation of Particular's Service Insight tool that doesn't require a windows machine to run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Service Insight Web

This is a Blazor app that can be used in place of the windows-only Particular.net NServiceBus visualization tool for those with mac or linux machines.

The api endpoints used were discovered by the doing a GET on a running service control instance's root (http://{your-service-control-domain}:{your-service-control-port}/api/), which returns a payload with many of the api endpoints used by service insight, and by referencing the official service insight source code.

Running the app

Make sure you have dotnet 6 (or higher) installed

You will need an instance of service control running so you can update the appsettings.json file to point to its api endpoint. Ideally you have some messages to view or this app won't show much.

Once you've updated the appsettings file with all the service control environments you want to view, run the app:

dotnet run --project ServiceInsight.Web

If a browser doesn't open automatically, navigate to http://localhost:5114 in your browser of choice.

Known limitations

  • Viewing the logs when inspecting a message is not available
  • The saga view outgoing messages don't seem to always line up with what Particular's tool shows
  • Retrying a failed message has not been implemented
  • All context actions (right clicking, hovering, etc...) on any element are not available like they are in the native windows app, most notably extra information on the various graphs and charts.

It could benefit from some better styling for usability. For example:

  • The message properties table in the lower right is very crammed and hard to look at.
  • The message explorer pane doesn't restrict itself to the window size and viewing headers in particular makes you scroll the whole page instead of just the pane its supposed to show up in.

In spite of these limitations, the current state of the app has made it more than sufficient for my use cases while diagnosing and inspecting messages on a non-windows machine

Credits

Lead Developer - Nicholas Gallegos

Particular Software for creating the original Service Insight tool, for making the service insight source code available for reference, and for generally making excellent products.

License

RPL-1.5

About

Basic Blazor web app implementation of Particular's Service Insight tool that doesn't require a windows machine to run


Languages

Language:HTML 68.9%Language:C# 25.4%Language:CSS 5.7%