APM K-Lens
K-Lens is a proprietary APM data analysis tool that provides clues into “what went wrong” by comparing thousands of attributes across span events.
The K-Lens data analysis algorithm checks every attribute of the events in the Heatmap, and then figures out if there are major differences in the values for these attributes between the selection area and baseline. The resulting attribute charts are ranked and charts of higher significance are presented at the top.
Using K-Lens
-
Select a region on the Trace Heatmap that you plan to compare against the baseline (all other events in the Heatmap).
Click your device pointer onto one corner of the region, and drag to the opposite corner before de-selecting.
After you select the region to examine, you get the following options in the menu for selecting further analysis.
-
Click Analyze with K-Lens to see the comparisons. See Analyze with K-Lens.
-
Click View spans to see the spans that contribute to the data highlighted on the heatmap. See View Spans.
-
Click Cancel to cancel the selection.
-
Analyze with K-Lens
After you click Analyze with K-Lens, Kloudfuse displays the analysis.
It consists of several horizontal bar charts that compare the data selected with the baseline metrics, based on filtered values.
For example, the following K-Lens report highlights the differences for kf database service hash, kf database service name, span name, service hash, service name, span type, kf platform, span status code, availability zone, db system, db name, service version, peer service, server address, span kind, error, kube namespace, and sample rate.
View Spans
After you click View Spans, Kloudfuse displays the spans that contribute to the selected data, as Traces List. See APM Traces for information on how to use that interface.
Note that you can change the views with this selection to Time Series, Top List, Table, Pie Chart, and even Heatmap.
image::apm-heatmap-span-analysis.svg[spans from heatmap selection].