Class: DatadogAPIClient::V1::QueryValueWidgetDefinition

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

Overview

Query values display the current value of a given metric, APM, or log query.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



60
61
62
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 60

def additional_properties
  @additional_properties
end

#autoscaleObject

Whether to use auto-scaling or not.



25
26
27
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 25

def autoscale
  @autoscale
end

List of custom links.



28
29
30
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 28

def custom_links
  @custom_links
end

#custom_unitObject

Display a unit of your choice on the widget.



31
32
33
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 31

def custom_unit
  @custom_unit
end

#precisionObject

Number of decimals to show. If not defined, the widget uses the raw value.



34
35
36
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 34

def precision
  @precision
end

#requestsObject

Widget definition.



37
38
39
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 37

def requests
  @requests
end

#text_alignObject

How to align the text on the widget.



40
41
42
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 40

def text_align
  @text_align
end

#timeObject

Time setting for the widget.



43
44
45
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 43

def time
  @time
end

#timeseries_backgroundObject

Set a timeseries on the widget background.



46
47
48
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 46

def timeseries_background
  @timeseries_background
end

#titleObject

Title of your widget.



49
50
51
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 49

def title
  @title
end

#title_alignObject

How to align the text on the widget.



52
53
54
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 52

def title_align
  @title_align
end

#title_sizeObject

Size of the title.



55
56
57
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 55

def title_size
  @title_size
end

#typeObject

Type of the query value widget.



58
59
60
# File 'lib/datadog_api_client/v1/models/query_value_widget_definition.rb', line 58

def type
  @type
end