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 |
---|---|---|
ILogger |
loggerFactory | |
Logging |
options |
Methods
| Edit this page View SourceDispose()
Declaration
public void Dispose()
ValueRecorder(string, IDictionary<string, string>?)
Creates an IValue
Declaration
public IValueRecorder ValueRecorder(string name, IDictionary<string, string>? tags = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the IValue |
IDictionary<string, string> | tags | Any tags that are to be associated with the metrics being captured. |
Returns
Type | Description |
---|---|
IValue |