Provides an interface for metrics recording. The implementer is expected to use an observability
framework, e.g. OpenTelemetry. There should be only one instance of MetricsRecorder per client,
all the methods in this class are expected to be called from multiple threads, hence the
implementation must be thread safe.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe provided content details the \u003ccode\u003eMetricsRecorder\u003c/code\u003e interface, which is designed for recording various metrics related to RPC attempts and operations within a Java environment.\u003c/p\u003e\n"],["\u003cp\u003eThis interface includes methods for recording the count and latency of RPC attempts, as well as the count and total latency of operations, supporting metrics such as \u003ccode\u003erecordAttemptCount\u003c/code\u003e, \u003ccode\u003erecordAttemptLatency\u003c/code\u003e, \u003ccode\u003erecordOperationCount\u003c/code\u003e, and \u003ccode\u003erecordOperationLatency\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMetricsRecorder\u003c/code\u003e interface is thread-safe and is intended to be implemented using an observability framework like OpenTelemetry, with each client expected to have a single instance of it.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content also includes a comprehensive list of previous versions of the library, from version 2.63.1 (latest) down to 2.7.1, highlighting that the current version is 2.60.0.\u003c/p\u003e\n"],["\u003cp\u003eThis library is currently in the pre-GA stage, meaning it may have limited support, be subject to incompatible changes, and is governed by the Pre-GA Offerings Terms.\u003c/p\u003e\n"]]],[],null,[]]