Method: Datadog::Core::Telemetry::Component#rate

Defined in:
lib/datadog/core/telemetry/component.rb

#rate(namespace, metric_name, value, tags: {}, common: true) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Tracks rate metric.



199
200
201
# File 'lib/datadog/core/telemetry/component.rb', line 199

def rate(namespace, metric_name, value, tags: {}, common: true)
  @metrics_manager.rate(namespace, metric_name, value, tags: tags, common: common)
end