Class LoggingMeter
An IMeter implementation for measuring latencies of the various Couchbase Services.
Inherited Members
Namespace: Couchbase.Core.Diagnostics.Metrics
Assembly: Couchbase.NetClient.dll
Syntax
public class LoggingMeter : IMeter, IDisposable, IEnumerable<HistogramCollectorSet>, IEnumerable
Constructors
| Edit this page View SourceLoggingMeter(ILoggerFactory, LoggingMeterOptions)
Declaration
public LoggingMeter(ILoggerFactory loggerFactory, LoggingMeterOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ILoggerFactory | loggerFactory | |
| LoggingMeterOptions | options |
Methods
| Edit this page View SourceDispose()
Declaration
public void Dispose()
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 |