Class: Datadog::Statsd::Schema::Analyzer::JSONFormatter
- Inherits:
-
BaseFormatter
- Object
- BaseFormatter
- Datadog::Statsd::Schema::Analyzer::JSONFormatter
- Defined in:
- lib/datadog/statsd/schema/analyzer.rb
Overview
——————————————————————————————————————————————————————————————————————————————————————————————————————————————- JSON Formatter classes ——————————————————————————————————————————————————————————————————————————————————————————————————————————————-
Instance Attribute Summary
Attributes inherited from BaseFormatter
#analysis_result, #color, #metrics_analysis, #stderr, #stdout, #total_possible_custom_metrics, #total_unique_metrics
Instance Method Summary collapse
Methods inherited from BaseFormatter
Constructor Details
This class inherits a constructor from Datadog::Statsd::Schema::Analyzer::BaseFormatter
Instance Method Details
#render ⇒ Object
461 462 463 |
# File 'lib/datadog/statsd/schema/analyzer.rb', line 461 def render JSON.pretty_generate(analysis_result.to_h) end |