Edit

Share via


OrleansPerfCounterTelemetryConsumer Class

Definition

Telemetry consumer that writes metrics to predefined performance counters.

public class OrleansPerfCounterTelemetryConsumer : Orleans.Runtime.IMetricTelemetryConsumer
type OrleansPerfCounterTelemetryConsumer = class
    interface IMetricTelemetryConsumer
    interface ITelemetryConsumer
Public Class OrleansPerfCounterTelemetryConsumer
Implements IMetricTelemetryConsumer
Inheritance
OrleansPerfCounterTelemetryConsumer
Implements

Constructors

OrleansPerfCounterTelemetryConsumer()

Default constructor

OrleansPerfCounterTelemetryConsumer(ILoggerFactory)

Default constructor

Methods

AreWindowsPerfCountersAvailable()

Checks to see if windows perf counters as supported by OS.

AreWindowsPerfCountersAvailable(ILogger)

Checks to see if windows perf counters as supported by OS.

Close()

Close telemetry consumer

DecrementMetric(String, Double)

Decrement metric by value

DecrementMetric(String)

Decrement metric

Flush()

Write all pending metrics

IncrementMetric(String, Double)

Increment metric by value.

IncrementMetric(String)

Increment metric.

TrackMetric(String, Double, IDictionary<String,String>)

Track metric value

TrackMetric(String, TimeSpan, IDictionary<String,String>)

Track metric value

Applies to