Skip to main content

Kotlin Notebook

Try this guide as a Kotlin Notebook with Kandy visualizations — run the cells to see charts and explore the data interactively.
This guide analyzes backend service performance metrics collected over 30 days. Four metrics are tracked: response time (ms), errors per hour, memory usage (MB), and throughput (requests/sec).

Dataset

Step 1: Summary Statistics

Frequency distribution

Step 2: Distribution Shape

Normality tests

Fit a candidate distribution

Step 3: Correlations

Regression

Step 4: Compare Periods

Split the data into two halves and check whether performance changed.
Compare throughput between periods:

Step 5: Normalize and Rank

Compare metrics on a common scale.
Z-score normalization is useful for combining metrics into a composite score: a day with high z-scores across response time, errors, and memory may warrant investigation.
Last modified on April 18, 2026