CockpitPerformancePluginStats class final

Bounded statistics for one explicitly registered performance plugin.

The event list remains the source of truth. This projection lets compact consumers inspect attribution and cost without loading every event.

Constructors

CockpitPerformancePluginStats({required String id, required String state, String? version, String? reason, required int eventCount, required int spanCount, required int instantCount, required int counterCount, int dropped = 0, int invalid = 0, int truncated = 0, int durationUs = 0, int maxDurationUs = 0, Map<String, int> categories = const <String, int>{}})
CockpitPerformancePluginStats.fromJson(Object? value)
factory

Properties

categories Map<String, int>
final
counterCount int
final
dropped int
final
durationUs int
final
eventCount int
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
instantCount int
final
invalid int
final
maxDurationUs int
final
reason String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spanCount int
final
state String
final
truncated int
final
version String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited