Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Interface IMeter

An interface for developing classes for collecting and measuring metrics.

Inherited Members
IDisposable.Dispose()
Namespace: Couchbase.Core.Diagnostics.Metrics
Assembly: Couchbase.NetClient.dll
Syntax
public interface IMeter : IDisposable

Methods

View Source

ValueRecorder(string, IDictionary<string, string>)

Creates an IValueRecorder implementation for collecting metrics.

Declaration
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
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.