Table of Contents

Class MetricNames

Namespace
Apache.Ignite
Assembly
Apache.Ignite.dll

Ignite.NET client metrics.

CLI usage example:
dotnet-counters monitor --counters Apache.Ignite,System.Runtime --process-id PID
See https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-counters for details.

Code usage example:
var meterListener = new MeterListener();

meterListener.InstrumentPublished = (instrument, listener) => { if (instrument.Meter.Name == MetricNames.MeterName) { listener.EnableMeasurementEvents(instrument); Console.WriteLine($"Instrument enabled: {instrument.Name}"); } };

meterListener.SetMeasurementEventCallback<long>((instrument, measurement, tags, state) => Console.WriteLine($"{instrument.Name}: {measurement}"));

meterListener.SetMeasurementEventCallback<int>((instrument, measurement, tags, state) => Console.WriteLine($"{instrument.Name}: {measurement}"));

meterListener.Start();

See https://learn.microsoft.com/en-us/dotnet/core/diagnostics/metrics for details.
public static class MetricNames
Inheritance
MetricNames
Inherited Members

Fields

All

All metric names.

public static readonly IReadOnlyCollection<string> All

Field Value

IReadOnlyCollection<string>

BytesReceived

Total number of bytes received.

public const string BytesReceived = "bytes-received"

Field Value

string

BytesSent

Total number of bytes sent.

public const string BytesSent = "bytes-sent"

Field Value

string

ConnectionsActive

Total number of currently active connections.

public const string ConnectionsActive = "connections-active"

Field Value

string

ConnectionsEstablished

Total number of connections established (unlike ConnectionsActive, this metric only goes up).

public const string ConnectionsEstablished = "connections-established"

Field Value

string

ConnectionsLost

Total number of connections lost.

public const string ConnectionsLost = "connections-lost"

Field Value

string

ConnectionsLostTimeout

Total number of connections lost due to a timeout.

public const string ConnectionsLostTimeout = "connections-lost-timeout"

Field Value

string

ContinuousQueryEventsReceived

Total number of continuous query events (rows) received.

public const string ContinuousQueryEventsReceived = "continuous-query-events-received"

Field Value

string

ContinuousQueryRequestsSent

Total number of continuous query requests sent.

public const string ContinuousQueryRequestsSent = "continuous-query-requests-sent"

Field Value

string

HandshakesFailed

Total number of failed handshakes (due to version mismatch, auth failure, or other problems).

public const string HandshakesFailed = "handshakes-failed"

Field Value

string

HandshakesFailedTimeout

Total number of failed handshakes due to a network timeout.

public const string HandshakesFailedTimeout = "handshakes-failed-timeout"

Field Value

string

MeterName

Meter name.

public const string MeterName = "Apache.Ignite"

Field Value

string

MeterVersion

Meter version.

public const string MeterVersion = "3.0.0"

Field Value

string

RequestsActive

Currently active requests (requests being sent to the socket or waiting for response).

public const string RequestsActive = "requests-active"

Field Value

string

RequestsCompleted

Total number of requests completed (response received).

public const string RequestsCompleted = "requests-completed"

Field Value

string

RequestsFailed

Total number of failed requests (completed with error or failed to send).

public const string RequestsFailed = "requests-failed"

Field Value

string

RequestsRetried

Total number of retried requests.

public const string RequestsRetried = "requests-retried"

Field Value

string

RequestsSent

Total number of requests sent.

public const string RequestsSent = "requests-sent"

Field Value

string

StreamerBatchesActive

Total number of active (in-memory) data streamer batches.

public const string StreamerBatchesActive = "streamer-batches-active"

Field Value

string

StreamerBatchesSent

Total number of data streamer batches sent.

public const string StreamerBatchesSent = "streamer-batches-sent"

Field Value

string

StreamerItemsQueued

Total number of queued data streamer items (rows).

public const string StreamerItemsQueued = "streamer-items-queued"

Field Value

string

StreamerItemsSent

Total number of data streamer items sent.

public const string StreamerItemsSent = "streamer-items-sent"

Field Value

string