Show / Hide Table of Contents

    Class Metric

    Abstract base class for all IMetric implementations.

    Inheritance
    System.Object
    Metric
    Namespace:Phobos.Monitoring.Metrics
    Assembly:Phobos.Monitoring.dll
    Syntax
    public abstract class Metric : IMetric

    Fields

    DefaultSampleRate

    The default sample rate

    Declaration
    public const double DefaultSampleRate = 1
    Field Value
    Type Description
    System.Double

    MaxSampleRate

    The maximum sample rate of 100%.

    Declaration
    public const double MaxSampleRate = 1
    Field Value
    Type Description
    System.Double

    ZeroSampleRate

    A sample rate of 0.

    Declaration
    public const double ZeroSampleRate = 0
    Field Value
    Type Description
    System.Double

    Properties

    AllNames

    Declaration
    public IReadOnlyList<string> AllNames { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<System.String>

    AppName

    Used to identify specific nodes in a networked application, so instance-specific metrics can be recorded.

    Declaration
    public string AppName { get; }
    Property Value
    Type Description
    System.String

    MetricType

    Declaration
    public MetricType MetricType { get; }
    Property Value
    Type Description
    MetricType

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    SampleRate

    Declaration
    public double SampleRate { get; }
    Property Value
    Type Description
    System.Double
    Back to top Copyright © 2015-2018 Petabridge®