Module: OpenTelemetry::Metrics::Instruments

Defined in:
lib/opentelemetry/metrics/instruments.rb

Overview

The user-facing metrics API supports producing diagnostic measurements using three basic kinds of instrument. “Metrics” are the thing being produced – mathematical, statistical summaries of certain observable behavior in the program. “Instruments” are the devices used by the program to record observations about their behavior. Therefore, we use “metric instrument” to refer to a program object, allocated through the API, used for recording metrics. There are three distinct instruments in the Metrics API, commonly known as Counters, Observers, and Measures.

Defined Under Namespace

Classes: FloatCounter, FloatMeasure, IntegerCounter, IntegerMeasure