Class: DatadogAPIClient::V2::GovernanceInsightAttributes

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

Overview

The attributes of a governance insight.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



81
82
83
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 81

def additional_properties
  @additional_properties
end

#audit_queryObject

An audit log query used to compute an insight value.



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

def audit_query
  @audit_query
end

#best_practiceObject

The best practice associated with an insight. Populated with the first active best practice matched to the insight; null when no best practice is attached.



29
30
31
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 29

def best_practice
  @best_practice
end

A relative link to the product surface where the insight can be acted upon.



32
33
34
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 32

def deep_link
  @deep_link
end

#descriptionObject

A human-readable description of what the insight measures.



35
36
37
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 35

def description
  @description
end

#display_nameObject

Human-readable name of the insight.



38
39
40
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 38

def display_name
  @display_name
end

#event_queryObject

An event query used to compute an insight value.



41
42
43
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 41

def event_query
  @event_query
end

#metric_queryObject

A metric query used to compute an insight value.



44
45
46
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 44

def metric_query
  @metric_query
end

#old_valueObject

The value of the insight over the previous comparison window. null when values were not requested or could not be computed.



48
49
50
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 48

def old_value
  @old_value
end

#percentage_queryObject

A percentage query that computes an insight value as a ratio of two metric queries.



51
52
53
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 51

def percentage_query
  @percentage_query
end

#productObject

The product the insight belongs to.



54
55
56
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 54

def product
  @product
end

#query_configObject

Query execution context that allows the frontend to execute insight queries directly.



57
58
59
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 57

def query_config
  @query_config
end

#sort_orderObject

The relative order in which the insight should be displayed.



60
61
62
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 60

def sort_order
  @sort_order
end

#stateObject

The state of the insight. A critical insight receives extra UI treatment to draw attention to it.



64
65
66
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 64

def state
  @state
end

#sub_productObject

The sub-product the insight belongs to, if any.



67
68
69
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 67

def sub_product
  @sub_product
end

#time_rangeObject

The time range the insight value is computed over, if applicable.



70
71
72
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 70

def time_range
  @time_range
end

#unit_nameObject

The unit that the insight's value is measured in.



73
74
75
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 73

def unit_name
  @unit_name
end

#usage_queryObject

A usage query used to compute an insight value.



76
77
78
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 76

def usage_query
  @usage_query
end

#valueObject

The current value of the insight. null when values were not requested or could not be computed.



79
80
81
# File 'lib/datadog_api_client/v2/models/governance_insight_attributes.rb', line 79

def value
  @value
end