Process flow
The real-time runtime metrics collection process flow shows how the real-time runtime metrics collection data is processed and sent for data analysis.

-
Real-time runtime metrics collection runs on the z/TPF system to collect data. Real-time runtime metrics collection runs continuously based on the time intervals that are defined by using the ZRTMC command. z/TPF system monitoring for Java™ applications determines the intervals that JVM data is collected and sends the data to real-time runtime metrics collection. For more information, see Data collection intervals.
You can also use the ZRTMC command to start and stop real-time runtime metrics collection.
- The real-time runtime metrics collection data is sent in binary format from the z/TPF system to the tpfrtmc offline utility by using the high-speed connector. Because the high-speed connector is used, you can configure the z/TPF system to send data to multiple instances of the tpfrtmc offline utility, for example, to have a fallback tpfrtmc offline utility.
- The tpfrtmc offline utility processes the binary data from
step 2. The tpfrtmc offline utility reduces the
data and formats the results in a highly consumable JSON format. The processed data is sent to
Apache Kafka.
A single instance of the tpfrtmc offline utility can
process continuous data collection (CDC), system-wide JVM monitoring, and
user-defined metrics data from multiple z/TPF processors simultaneously. For more information, see
the maxconn field in the cdc, jvm, and udm section fields in the Runtime metrics collection properties file.
A single instance of the tpfrtmc offline utility can accept name-value pair collection data from only a single z/TPF processor.
- Apache Kafka functions as the communication mechanism of the data for your database, monitors, and analysis package. You can configure the Apache Kafka topics for different types of data by using the runtime metrics collection properties file.
- Connect your tools to Apache Kafka to display, analyze, or preserve the data.
For a sample analytics pipeline, see z/TPF real-time insights dashboard starter kit.