Vixen
02b45cc4
csharp
public readonly record struct RealmHealth

One sample of what a shard is costing. Doc 27 § Health.

Read the guide page for this →

Remarks

⚠ None of these numbers is a second measurement system. Every one of them is already an instrument in Vixen.Net.Telemetry and doc 13; the heartbeat is a sample of the meter, so a shard's health and its traces cannot disagree about what its tick cost.

Fields and properties (7)

  • public ShardId Shard

    Which shard.

  • public ShardState State

    Where it is in its life.

  • public int Population

    How many players are on it.

  • public double TickP99Milliseconds

    The tail, which is the number that matters.

  • public double TickMeanMilliseconds

    The middle, which is the number that flatters.

  • public int Blocked

    How many players a drain could not move — doc 27 § Drain's escalation input.

  • public DateTimeOffset SampledAt

    When.

Methods (2)

  • public RealmHealth(ShardId Shard, ShardState State, int Population, double TickP99Milliseconds, double TickMeanMilliseconds, int Blocked, DateTimeOffset SampledAt)

    One sample of what a shard is costing. Doc 27 § Health.

  • public override string ToString()

    Returns the fully qualified type name of this instance.

Used by (3)

  • RealmClusterVixen.Live.Realm.Cluster
  • RealmHostVixen.Live.Realm
  • RealmHostTestsVixen.Live.Realm.Tests