Thread Usage

In some situations it might be easier to produce the input data manually instead of using the companion function, as in the following query:

logscale
rename(class, as=source)
| rename(thread, as=target)
| groupBy([source, target], function=count(as=weight))

In this scenario, the widget visualizes which classes use which threads in a service. The class and thread fields must be renamed to match the expected input: this is done by using the groupBy() function. To produce weight fields, make sure that the function used in groupBy() names its result as weight.