Class: DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatName
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::FormulaAndFunctionApmDependencyStatName
- Includes:
- BaseEnumModel
- Defined in:
- lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name.rb,
lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name.rb
Overview
APM statistic.
Constant Summary collapse
- AVG_DURATION =
"avg_duration".freeze
- AVG_ROOT_DURATION =
"avg_root_duration".freeze
- AVG_SPANS_PER_TRACE =
"avg_spans_per_trace".freeze
- ERROR_RATE =
"error_rate".freeze
- PCT_EXEC_TIME =
"pct_exec_time".freeze
- PCT_OF_TRACES =
"pct_of_traces".freeze
- TOTAL_TRACES_COUNT =
"total_traces_count".freeze
Class Method Summary collapse
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Methods included from BaseEnumModel
Class Method Details
.build_from_hash(value) ⇒ String
Builds the enum from string
32 33 34 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name.rb', line 32 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
39 40 41 42 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name.rb', line 39 def build_from_hash(value) constantValues = FormulaAndFunctionApmDependencyStatName.constants.select { |c| FormulaAndFunctionApmDependencyStatName::const_get(c) == value } constantValues.empty? ? DatadogAPIClient::V1::UnparsedObject.new(value) : value end |