Diagnostics example

Accessing diagnostics information

You can access the diagnostics information for the Kanzi Connect Server running on your local computer by going to one of these addresses using Google Chrome:

http://localhost:8080/diagnostics/index.html
https://localhost:8843/diagnostics/index.html

HTTPS does not hold a valid SSL certificate, so you must accept the security exception.

Diagnostics dashboard

When you use Google Chrome to go to http://localhost:8080/diagnostics/index.html or https://localhost:8843/diagnostics/index.html, you see the Diagnostics dashboard that shows graphs with diagnostic data:

  • The Average client latency graph shows the average latency for all connected clients. If no clients are connected, the line stays at the bottom (0).

  • The Server throughput kbps graph shows the amount of application-level data that passes through the Kanzi Connect Server.

  • The HTTP Requests per second graph shows the amount of HTTP requests made for the Kanzi Connect Server each second.

The diagnostics data is retrieved using HTTP, so when the diagnostics page is active, there is always some HTTP traffic.

../_images/diagnostics_graph.png

Getting different perspectives to the diagnostics information

To see a different perspective to the diagnostics information, select one of the options from the bottom of the screen:

  • Dashboard

  • Clients

  • Services

  • Contents

  • Log

  • Variables

For example, the client perspective lists all currently connected clients and information collected from them.

../_images/diagnostics_client.png

Customizing the diagnostics web page

The example diagnostics web page is built using Angular.js and you can customize it to show different information. You can find the diagnostics web page sources in the <KanziConnectInstallation>/ContentPack/diagnostics directory.