STATrt library API
STATrt is a component of the mcolib library responsible for collecting runtime statistics. The collected data can then be exposed externally via a REST API using the RESTrt and EWSLite libraries.
Retrieve the total number of registered runtime statistics counters and histograms.Retrieve the current value of a registered runtime statistics counter.Retrieve and optionally reset aggregated runtime statistics for all active database connections.Retrieve and optionally reset statistics for a specific database connection or aggregated across all connections of a database.Retrieve metadata for a registered runtime statistics counter.Retrieve the internal histogram index associated with a given statistics counter.Add a new value to a statistics histogram.Retrieve a pointer to a specific histogram by its internal index.Initialize a statistics histogram structure to its default state.Retrieve the current value of a registered runtime statistics counter.Register a new runtime statistics counter with an optional histogram.Update the value of a registered runtime statistics counter using a specified operation.Calculate the amount of memory required to store runtime statistics for a database instance.Get and reset disk statistics for the current connection.Retrieve and reset disk I/O statistics for the current database connection.