Exception: Datadog::Statsd::Schema::InvalidTagError

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

Overview

Raised when a tag is used that doesn’t exist in the schema or is not allowed for the metric

Examples:

# This would raise InvalidTagError if 'invalid_tag' is not allowed for the metric
emitter.increment('valid_metric', tags: { invalid_tag: 'value' })

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