Class NodeMetric
Represents an individual node metric.
Inheritance
System.Object
NodeMetric
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Dse.Metrics
Assembly: Dse.dll
Syntax
public sealed class NodeMetric : IEquatable<NodeMetric>, IEquatable<IMetric>, IMetric
Fields
AllNodeMetrics
A collection with all node metrics including Timers.
Declaration
public static readonly IEnumerable<NodeMetric> AllNodeMetrics
Field Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<NodeMetric> |
DefaultNodeMetrics
A collection with all node metrics except Timers.
Declaration
public static readonly IEnumerable<NodeMetric> DefaultNodeMetrics
Field Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<NodeMetric> |
Properties
Name
Metric name. For example, OpenConnections returns "pool.open-connections".
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(IMetric)
Declaration
public bool Equals(IMetric other)
Parameters
Type | Name | Description |
---|---|---|
IMetric | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(NodeMetric)
Declaration
public bool Equals(NodeMetric other)
Parameters
Type | Name | Description |
---|---|---|
NodeMetric | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>
System.IEquatable<T>