Class: DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatsQueryDefinition
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatsQueryDefinition
- Defined in:
- lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb
Overview
A formula and functions APM dependency stats query.
Instance Attribute Summary collapse
-
#data_source ⇒ Object
Returns the value of attribute data_source.
-
#env ⇒ Object
APM environment.
-
#is_upstream ⇒ Object
Determines whether stats for upstream or downstream dependencies should be queried.
-
#name ⇒ Object
Name of query to use in formulas.
-
#operation_name ⇒ Object
Name of operation on service.
-
#primary_tag_name ⇒ Object
The name of the second primary tag used within APM; required when ‘primary_tag_value` is specified.
-
#primary_tag_value ⇒ Object
Filter APM data by the second primary tag.
-
#resource_name ⇒ Object
APM resource.
-
#service ⇒ Object
APM service.
-
#stat ⇒ Object
Returns the value of attribute stat.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ FormulaAndFunctionApmDependencyStatsQueryDefinition
constructor
Initializes the object.
Constructor Details
#initialize(attributes = {}) ⇒ FormulaAndFunctionApmDependencyStatsQueryDefinition
Initializes the object
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 103 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatsQueryDefinition` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatsQueryDefinition`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'data_source') self.data_source = attributes[:'data_source'] end if attributes.key?(:'env') self.env = attributes[:'env'] end if attributes.key?(:'is_upstream') self.is_upstream = attributes[:'is_upstream'] end if attributes.key?(:'name') self.name = attributes[:'name'] end if attributes.key?(:'operation_name') self.operation_name = attributes[:'operation_name'] end if attributes.key?(:'primary_tag_name') self.primary_tag_name = attributes[:'primary_tag_name'] end if attributes.key?(:'primary_tag_value') self.primary_tag_value = attributes[:'primary_tag_value'] end if attributes.key?(:'resource_name') self.resource_name = attributes[:'resource_name'] end if attributes.key?(:'service') self.service = attributes[:'service'] end if attributes.key?(:'stat') self.stat = attributes[:'stat'] end end |
Instance Attribute Details
#data_source ⇒ Object
Returns the value of attribute data_source.
26 27 28 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 26 def data_source @data_source end |
#env ⇒ Object
APM environment.
29 30 31 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 29 def env @env end |
#is_upstream ⇒ Object
Determines whether stats for upstream or downstream dependencies should be queried.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 32 def is_upstream @is_upstream end |
#name ⇒ Object
Name of query to use in formulas.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 35 def name @name end |
#operation_name ⇒ Object
Name of operation on service.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 38 def operation_name @operation_name end |
#primary_tag_name ⇒ Object
The name of the second primary tag used within APM; required when ‘primary_tag_value` is specified. See docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 41 def primary_tag_name @primary_tag_name end |
#primary_tag_value ⇒ Object
Filter APM data by the second primary tag. ‘primary_tag_name` must also be specified.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 44 def primary_tag_value @primary_tag_value end |
#resource_name ⇒ Object
APM resource.
47 48 49 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 47 def resource_name @resource_name end |
#service ⇒ Object
APM service.
50 51 52 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 50 def service @service end |
#stat ⇒ Object
Returns the value of attribute stat.
52 53 54 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb', line 52 def stat @stat end |