Exception: Datadog::Statsd::Schema::InvalidMetricTypeError

Inherits:
SchemaError
  • Object
show all
Defined in:
lib/datadog/statsd/schema/errors.rb

Overview

Raised when a metric is called with the wrong type

Examples:

# This would raise InvalidMetricTypeError if 'response_time' is defined as a histogram
emitter.increment('response_time')  # Should be emitter.histogram('response_time')

Since:

  • 0.1.0

Instance Attribute Summary

Attributes inherited from SchemaError

#metric, #namespace, #tag

Method Summary

Methods inherited from SchemaError

#initialize

Constructor Details

This class inherits a constructor from Datadog::Statsd::Schema::SchemaError