Class: DatadogAPIClient::V1::DistributionWidgetDefinition

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

Overview

The Distribution visualization is another way of showing metrics aggregated across one or several tags, such as hosts. Unlike the heat map, a distribution graph’s x-axis is quantity rather than time.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



65
66
67
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 65

def additional_properties
  @additional_properties
end

A list of custom links.



27
28
29
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 27

def custom_links
  @custom_links
end

#legend_sizeObject

(Deprecated) The widget legend was replaced by a tooltip and sidebar.



30
31
32
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 30

def legend_size
  @legend_size
end

#markersObject

List of markers.



33
34
35
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 33

def markers
  @markers
end

#requestsObject

Array of one request object to display in the widget.

See the dedicated [Request JSON schema documentation](docs.datadoghq.com/dashboards/graphing_json/request_json)

to learn how to build the `REQUEST_SCHEMA`.


39
40
41
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 39

def requests
  @requests
end

#show_legendObject

(Deprecated) The widget legend was replaced by a tooltip and sidebar.



42
43
44
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 42

def show_legend
  @show_legend
end

#timeObject

Time setting for the widget.



45
46
47
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 45

def time
  @time
end

#titleObject

Title of the widget.



48
49
50
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 48

def title
  @title
end

#title_alignObject

How to align the text on the widget.



51
52
53
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 51

def title_align
  @title_align
end

#title_sizeObject

Size of the title.



54
55
56
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 54

def title_size
  @title_size
end

#typeObject

Type of the distribution widget.



57
58
59
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 57

def type
  @type
end

#xaxisObject

X Axis controls for the distribution widget.



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

def xaxis
  @xaxis
end

#yaxisObject

Y Axis controls for the distribution widget.



63
64
65
# File 'lib/datadog_api_client/v1/models/distribution_widget_definition.rb', line 63

def yaxis
  @yaxis
end