Class NodeMetrics
The snapshot of current sampled health metrics for any monitored process.
Collected and gossipped at regular intervals for dynamic cluster management strategies.
Equality of NodeMetrics is based on its address.
Assembly: Akka.Cluster.Metrics.dll
Syntax
public sealed class NodeMetrics : IEquatable<NodeMetrics>
Constructors
|
Improve this Doc
View Source
NodeMetrics(Address, Int64, IEnumerable<NodeMetrics.Types.Metric>)
Declaration
public NodeMetrics(Address address, long timestamp, IEnumerable<NodeMetrics.Types.Metric> metrics)
Parameters
Properties
|
Improve this Doc
View Source
Address
Declaration
public Address Address { get; }
Property Value
|
Improve this Doc
View Source
Metrics
Declaration
public ImmutableHashSet<NodeMetrics.Types.Metric> Metrics { get; }
Property Value
|
Improve this Doc
View Source
Timestamp
Declaration
public long Timestamp { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(NodeMetrics)
Declaration
public bool Equals(NodeMetrics other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
Merge(NodeMetrics)
Returns the most recent data.
Declaration
public NodeMetrics Merge(NodeMetrics that)
Parameters
Returns
|
Improve this Doc
View Source
Metric(String)
Declaration
public Option<NodeMetrics.Types.Metric> Metric(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
SameAs(NodeMetrics)
Returns true if
that
address is the same as this
Declaration
public bool SameAs(NodeMetrics that)
Parameters
Returns
|
Improve this Doc
View Source
Update(NodeMetrics)
Declaration
public NodeMetrics Update(NodeMetrics that)
Parameters
Returns
Implements
Extension Methods