Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class LoggingMeter

An IMeter implementation for measuring latencies of the various Couchbase Services.

Inheritance
object
LoggingMeter
Implements
IMeter
IDisposable
IEnumerable<HistogramCollectorSet>
IEnumerable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Core.Diagnostics.Metrics
Assembly: Couchbase.NetClient.dll
Syntax
public class LoggingMeter : IMeter, IDisposable, IEnumerable<HistogramCollectorSet>, IEnumerable

Constructors

View Source

LoggingMeter(ILoggerFactory, LoggingMeterOptions)

Declaration
public LoggingMeter(ILoggerFactory loggerFactory, LoggingMeterOptions options)
Parameters
Type Name Description
ILoggerFactory loggerFactory
LoggingMeterOptions options

Methods

View Source

Dispose()

Declaration
public void Dispose()
View Source

ValueRecorder(string, IDictionary<string, string>?)

Creates an IValueRecorder implementation for collecting metrics.

Declaration
public IValueRecorder ValueRecorder(string name, IDictionary<string, string>? tags = null)
Parameters
Type Name Description
string name

The name of the IValueRecorder usually a service name or similar.

IDictionary<string, string> tags

Any tags that are to be associated with the metrics being captured.

Returns
Type Description
IValueRecorder

Implements

IMeter
IDisposable
IEnumerable<T>
IEnumerable
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.