DVSignalRef class
A reference to a measured signal.
Constructors
- DVSignalRef.crashRate(String name)
-
Crashed sessions over sessions started, for release
name.const - DVSignalRef.errorBudgetBurn(String name, {Duration window = const Duration(hours: 1), Duration shortWindow = const Duration(minutes: 5)})
-
Service level
name's burn rate, as the lower of its burn overwindowand overshortWindow.const - DVSignalRef.kioskFleetHealth(String name)
-
The share of kiosk fleet
namethat is healthy. Read through a registered reader.const -
DVSignalRef.metric(String name, {Map<
String, String> labels = const <String, String>{}}) -
A counter or gauge in the metrics registry, without the
dartvel_prefix the exposition adds.const - DVSignalRef.queueDepth(String name)
-
Jobs waiting on queue
name. Read through a registered reader.const - DVSignalRef.quotaBreaches(String name)
-
Quota breaches on meter
name. Read through a registered reader.const - DVSignalRef.trace(String name, DVTraceStat stat, {Duration window = const Duration(minutes: 5)})
-
A latency figure over spans named
namethat started in the trailingwindow.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → DVSignalKind
-
final
-
labels
→ Map<
String, String> -
final
- measuresDuration → bool
-
Whether readings are durations rather than numbers.
no setter
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortWindow → Duration?
-
final
- stat → DVTraceStat?
-
final
- window → Duration?
-
final
Methods
-
format(
Object value) → String -
valueas a person reads this signal: a burn rate as6.7×, a latency in milliseconds, a crash rate or fleet health as a percentage, a count or a metric with no more decimals than it needs. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited