class Telemetry::Instrument::Thread
ErrorsCollection

class Telemetry::Instrument::Thread

Instrument for collecting Thread data

class Telemetry::Instrument::Thread { }

Note: This class is a Rakudo-specific feature and not standard Raku.

Objects of this class are generally not created by themselves, but rather through making a snapshot.

This class provides the following data points (in alphabetical order):

  • tad

The number of threads that ended with an exception (threads-aborted).

  • tcd

The number of threads that completed without any problem (threads-completed).

  • thid

Highest OS thread ID seen (thread-highest-id).

  • tjd

The number of threads that were joined (threads-joined).

  • tsd

The number of threads that were started (threads-started).

  • tyd

The number of times a thread was yielded (threads-yielded).