Module: Riffer::Metrics::Null

Extended by:
Null
Included in:
Null
Defined in:
lib/riffer/metrics/null.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/null.rb', line 12

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