Class: DatadogAPIClient::V2::SpansMetricCreateData

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/spans_metric_create_data.rb

Overview

The new span-based metric properties.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#attributesObject

The object describing the Datadog span-based metric to create.



25
26
27
# File 'lib/datadog_api_client/v2/models/spans_metric_create_data.rb', line 25

def attributes
  @attributes
end

#idObject

The name of the span-based metric.



28
29
30
# File 'lib/datadog_api_client/v2/models/spans_metric_create_data.rb', line 28

def id
  @id
end

#typeObject

The type of resource. The value should always be spans_metrics.



31
32
33
# File 'lib/datadog_api_client/v2/models/spans_metric_create_data.rb', line 31

def type
  @type
end