Module: Riffer::Metrics::NoOp

Extended by:
NoOp
Included in:
NoOp
Defined in:
lib/riffer/metrics/no_op.rb

Overview

No-op metrics backend, used when the OpenTelemetry metrics API is unavailable or metrics are disabled.

Instance Method Summary collapse

Instance Method Details

#record_histogram(name, value, unit:, description:, attributes:) ⇒ Object

Ignores the measurement; there is no meter without the OTEL metrics API. – : (String, Numeric, unit: String?, description: String?, attributes: Hash[String, untyped]?) -> void



12
13
# File 'lib/riffer/metrics/no_op.rb', line 12

def record_histogram(name, value, unit:, description:, attributes:)
end