Class: DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatName
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatName
- Includes:
- BaseEnumModel
- Defined in:
- lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb,
lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb
Overview
APM resource stat name.
Constant Summary collapse
- ERRORS =
"errors".freeze
- ERROR_RATE =
"error_rate".freeze
- HITS =
"hits".freeze
- LATENCY_AVG =
"latency_avg".freeze
- LATENCY_MAX =
"latency_max".freeze
- LATENCY_P50 =
"latency_p50".freeze
- LATENCY_P75 =
"latency_p75".freeze
- LATENCY_P90 =
"latency_p90".freeze
- LATENCY_P95 =
"latency_p95".freeze
- LATENCY_P99 =
"latency_p99".freeze
- LATENCY_DISTRIBUTION =
"latency_distribution".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
35 36 37 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb', line 35 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
42 43 44 45 |
# File 'lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb', line 42 def build_from_hash(value) constantValues = FormulaAndFunctionApmResourceStatName.constants.select { |c| FormulaAndFunctionApmResourceStatName::const_get(c) == value } constantValues.empty? ? DatadogAPIClient::V1::UnparsedObject.new(value) : value end |