Show / Hide Table of Contents

Class EntityMetricsTracker

A utility to track metrics for Reactive entities.

Inheritance
System.Object
EntityMetricsTracker
Namespace: Reaqtor.QueryEngine.Metrics
Assembly: Reaqtor.QueryEngine.dll
Syntax
public static class EntityMetricsTracker : Object

Properties

ShouldTrack

Sets whether or not metrics should be tracked for entities.

Declaration
public static bool ShouldTrack { get; set; }
Property Value
Type Description
System.Boolean

Methods

GetMetrics(IReactiveResource)

Get all the metrics for a given entity.

Declaration
public static IReadOnlyDictionary<EntityMetric, TimeSpan> GetMetrics(this IReactiveResource entity)
Parameters
Type Name Description
IReactiveResource entity

The entity.

Returns
Type Description
System.Collections.Generic.IReadOnlyDictionary<EntityMetric, System.TimeSpan>

The set of metrics that have been collected for that entity.

In This Article
Back to top Generated by DocFX