Metrics Reference
This page lists the metrics generated by kdb Insights Enterprise. See Monitoring for details on how metrics are captured, stored and presented.
Each component generates a range of metrics. With metrics enabled on a component, kdb info, memory and CPU metrics are generated.
Database
The kdb Insights Database publishes performance metrics regarding the storage and querying of data.
See the following links for details on the metrics available:
Reliable Transport
The Reliable Transport, also known as a kdb Insights Stream, publishes status and performance metrics.
Details on the metrics available are located here.
The metrics are published by default, but can be disabled by setting the environment variable RT_EXPORT_METRICS="0".
Base Infrastructure
The following sections relate the kdb Insights Enterprise base components that manage the configuration and deployment of databases and assemblies.
Package manager
Relates to the management of packages using the kxi pm
command including databases, pipelines, and views created through the UI.
metric name | type | description |
---|---|---|
kxi_pm_http_requests_total |
counter | Total number of requests by method, status and handler |
kxi_pm_http_request_size_bytes |
summary | Size of incoming requests by handler |
kxi_pm_http_response_size_bytes |
summary | Size of outgoing responses by handler |
kxi_pm_http_request_duration |
histogram | Count and time take to make HTTP requests |
kxi_pm_inprogress |
gauge | Number of HTTP requests in progress |
Information service
Each call to the Information Service API endpoint generates metrics.
metric name | type | description |
---|---|---|
kxi_info_details_histogram_seconds |
histogram |
Count and time taken to get details for a specific client ID |
kxi_info_details_failure_total |
counter |
Number of failed calls to get details for a specific client ID |
Operator
The kdb Insights Operator generates metrics on each attempt to interact with the SP Coordinator or Keycloak instance of each namespace.
metric name | type | description |
---|---|---|
kxi_operator_keycloak_errors_total |
counter |
Number of failed requests to Keycloak |
kxi_operator_keycloak_request_seconds |
histogram |
Count and time taken to make requests to Keycloak |
kxi_operator_pipeline_errors_total |
counter |
Number of failed calls to the SP Coordinator |
kxi_operator_pipeline_request_seconds |
histogram |
Count and time taken to make requests to the SP Coordinator |
Component level metrics
License information
Each component records kdb+ license information on startup.
metric name | type | description |
---|---|---|
kdb_info |
gauge |
kdb+ license info, including: expiry date, OS version, process cores, release date, release version |
Memory statistics
Each component records kdb+ memory statistics. Output is taken from .Q.w[]
for the component container.
metric name | type | description |
---|---|---|
memory_usage_bytes |
gauge |
Current memory usage in bytes |
memory_heap_bytes |
gauge |
Memory available in the heap in bytes |
memory_heap_peak_bytes |
gauge |
Maximum heap size so far in bytes |
memory_heap_limit_bytes |
gauge |
Memory limit heap in bytes |
memory_mapped_bytes |
gauge |
Mapped memory in bytes |
memory_physical_bytes |
gauge |
Physical memory available in bytes |
kdb_syms_total |
gauge |
Number of symbols |
kdb_syms_memory_bytes |
gauge |
Memory use of symbols in bytes |