Exception: Datadog::Statsd::Schema::UnknownMetricError

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

Overview

Raised when a metric is used that doesn’t exist in the schema

Examples:

# This would raise UnknownMetricError if 'unknown_metric' is not defined in the schema
emitter.increment('unknown_metric')

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