Show / Hide Table of Contents

    Interface IMetric

    Defines a metric that can be captured and recorded via Phobos

    Namespace:Phobos.Monitoring.Metrics
    Assembly:Phobos.Monitoring.dll
    Syntax
    public interface IMetric

    Properties

    AllNames

    Optional. If this metric is being denormalized or reported across multiple measures from within Phobos, we can list all of the alternate names used here.

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

    Typically defined using a dot notation, such as "akka.actor.logging.errors" etc.

    MetricType

    The type of metric supported by this system

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

    Name

    The name of the metric being monitored.

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

    Typically defined using a dot notation, such as "akka.actor.logging.errors" etc.

    SampleRate

    The sample rate used to collect this metric. A sample rate of 0.1d will record only 10% of all collected events. A sample rate of 1.0d will record 100% of all collected events. Defaults to 1.0d.

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