Module: Riffer::Metrics::Null
Overview
No-op metrics backend, used when the OpenTelemetry metrics API is unavailable or metrics are disabled.
Instance Method Summary collapse
-
#record_histogram(name, value, unit:, description:, attributes:) ⇒ Object
Ignores the measurement; there is no meter without the OTEL metrics API.
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 |