Couchbase .NET SDK | 3.3.5
Search Results for

    Show / Hide Table of Contents

    Class LoggingMeterOptions

    Options for LoggingMeter(IMeter) instances.

    Inheritance
    Object
    LoggingMeterOptions
    Namespace: Couchbase.Core.Diagnostics.Metrics
    Assembly: Couchbase.NetClient.dll
    Syntax
    public class LoggingMeterOptions : object

    Methods

    | Improve this Doc View Source

    EmitInterval(TimeSpan)

    The interval after which the aggregated trace information is logged.

    Declaration
    public LoggingMeterOptions EmitInterval(TimeSpan emitInterval)
    Parameters
    Type Name Description
    TimeSpan emitInterval
    Returns
    Type Description
    LoggingMeterOptions

    A LoggingMeterOptions instance for chaining.

    Remarks

    Defaults to 600 seconds.

    | Improve this Doc View Source

    Enabled(Boolean)

    Stops the meter from collecting data.

    Declaration
    public LoggingMeterOptions Enabled(bool enabled)
    Parameters
    Type Name Description
    Boolean enabled

    A for stopping or starting collecting.

    Returns
    Type Description
    LoggingMeterOptions

    A LoggingMeterOptions instance for chaining.

    | Improve this Doc View Source

    LoggingMeter(IMeter)

    Declaration
    public LoggingMeterOptions LoggingMeter(IMeter meter)
    Parameters
    Type Name Description
    IMeter meter
    Returns
    Type Description
    LoggingMeterOptions
    | Improve this Doc View Source

    ReportingEnabled(Boolean)

    Stops the meter from reporting on collected data.

    Declaration
    public LoggingMeterOptions ReportingEnabled(bool reportingEnabled)
    Parameters
    Type Name Description
    Boolean reportingEnabled

    A for stopping or starting reporting.

    Returns
    Type Description
    LoggingMeterOptions

    A LoggingMeterOptions instance for chaining.

    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2022 Couchbase, Inc.