Viewing Realm Probes
This page describes the metrics within the Realm Service Probes.

Use Case
Lets give a situation where an admin user is experiencing latency or problems in communication regarding the IIS and they want to verify and validate if the systems are operating properly.
Accessing the Realm Service Metrics

🚧To view the Realm Service Metrics, please follow the steps below:
Go to the System → Probes page.
Select Realm Service from the Show Probes From dropdown.
Wait for the metrics to load.
You should see a view similar to below

Realm Service Breakdown
.NET Thread Pool

Breakdown of .Net Thread Pool Metrics
This section of the probes describes the current characteristics of the .NET thread pool. Since the technology used is vastly of the .NET framework, the Admin Portal can provide metrics pertaining to threads that are in use. In other words, processes on the Admin Portal which may still be performed that could be still in use, stuck, or just not being released after being used.
🛠️The .NET Pool metric (on the left) defines background workers that are busy
📝The .NET I/O Threads metric (on the right) describes threads that are performing reading and writing operations within the IIS.
💼In the case of the above image, the system is not doing very much and is mostly at idle.
📝This is a characteristic for a machine that is not seeing much activity.
🖥️On a machine that was being used more frequently, this number would fluctuate and depend on:
🔨the how the system was implemented,
👥how many people were using the system, and
👀how much activity the system was seeing.
Thread Pool

Breakdown of the Thread Pool Metrics
This section of the probes describes the primary SanteDB thread pool performance monitor.
These metrics illustrate characteristics such as:
🔢How many threads are available to do work?
🧵How many threads of the thread pool are currently busy doing operations?
⌛How many operations are waiting to be performed by the thread pool?
💼In the case of the above image, the system is not doing very much and is mostly at idle.
📝This is a characteristic for a machine that is not seeing much activity.
🖥️On a machine that was being used more frequently, this number would fluctuate and depend on:
🔨the how the system was implemented,
👥how many people were using the system, and
👀how much activity the system was seeing.
HTTP Workers

Breakdown of HTTP Worker Metrics
This section of the probes describes the servers ability to process HTTP requests.
These metrics illustrate characteristics such as:
🧵How many threads are allocated to processing HTTP requests?
🛠️How many threads that are working already to process HTTP requests?
⌛How many HTTP requests are queued and waiting to be executed?
🗣️This is useful in accessing and validating if devices are communicating actively and appropriately... or if the system seems to be halted with communicating with other devices
Memory Cache Services

Breakdown of Memory Cache Service Metrics
This section of the probes describes statistics about registered memory caching services.
These metrics illustrate characteristics such as:
🫙How many objects of data are being cached for re-use by other services, devices, and clients?
🗒️How many objects of Ad-Hoc data are being cached for re-use by other services, devices, and clients?
This pertains to reporting data.
👤How many objects related to user sessions are being cached for re-use
This pertains to logged in sessions.
🔍How many objects related to Queries of data that are being cached for re-use?
This pertains to lookups and other data queries.
🔃This is useful when accessing and validating if the infrastructure is adequate for the load demanded by the users and other services of the system.
Postgres Client Metrics

Breakdown of Postgres Client Metrics
This section of the probes describes metrics for the client database connections to postgres.
In other words, this reflects metrics based upon the database server itself, and not the database that is primarily used for the IIS database. Think of this as the Postgres SQL Server as a whole.
These metrics illustrate characteristics such as:
🗒️How many connections are read-only?
read-only means connections which only have the ability to read information from the IIS databases
This is useful in seeing how many active connections are being consumed by client, applications, and services with the Realm Server to the database
📝How many connections are read-write?
read-write means connections which have the ability to write to and read from the IIS databases
This is useful in seeing how many active connections are being consumed by client, applications, and services with the Realm Server to the database
🎬How many active statements are present?
active-statements mean queries or inserts that are currently be addressed by the Realm Server to the database.
⌛How many connections are waiting for a database record or table lock?
This metric is useful in diagnosing if data cannot be retrieved, or the data being communicated with the Realm Server becomes slow or halted.
Sometimes, data can be locked due to processes that fail to unlock database records, tables, and other database assets.
⌚What is the average execution time for the reading from or writing to the IIS database?
This metric is useful in identifying how slow operations with the database are in relation to the majority of users or services in the system.
ICDR Database Client Metrics

Breakdown of ICDR Database Client Metrics
This section of the probes describes _metrics for client database connections to the database where the actual data for the iCDR is stored. In this case, the database name is ucf_ims.
In other words, this reflects metrics based upon the database which holds all records for the IIS. Think of this as where data goes to live within the system.
These metrics illustrate characteristics such as:
🗒️How many connections are read-only?
read-only means connections which only have the ability to read information from the IIS databases.
This is useful in seeing how many active connections are being consumed by client, applications, and services with the Realm Server to the database
📝How many connections are read-write?
read-write means connections which have the ability to write to and read from the IIS databases
This is useful in seeing how many active connections are being consumed by client, applications, and services with the Realm Server to the database
🎬How many active statements are present?
active-statements mean queries or inserts that are currently be addressed by the Realm Server to the database.
⌛How many connections are waiting for a database record or table lock?
This metric is useful in diagnosing if data cannot be retrieved, or the data being communicated with the Realm Server becomes slow or halted.
Sometimes, data can be locked due to processes that fail to unlock database records, tables, and other database assets.
⌚What is the average execution time for the reading from or writing to the IIS database?
This metric is useful in identifying how slow operations with the database are in relation to the majority of users or services in the system.
Last updated