Class: DatadogAPIClient::V1::WidgetMarker
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::WidgetMarker
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/widget_marker.rb
Overview
Markers allow you to add visual conditional formatting for your graphs.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#display_type ⇒ Object
Combination of: - A severity error, warning, ok, or info - A line type: dashed, solid, or bold In this case of a Distribution widget, this can be set to be ‘x_axis_percentile`.
-
#label ⇒ Object
Label to display over the marker.
-
#time ⇒ Object
Timestamp for the widget.
-
#value ⇒ Object
readonly
Value to apply.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/widget_marker.rb', line 40 def additional_properties @additional_properties end |
#display_type ⇒ Object
Combination of:
- A severity error, warning, ok, or info
- A line type: dashed, solid, or bold
In this case of a Distribution widget, this can be set to be ‘x_axis_percentile`.
29 30 31 |
# File 'lib/datadog_api_client/v1/models/widget_marker.rb', line 29 def display_type @display_type end |
#label ⇒ Object
Label to display over the marker.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/widget_marker.rb', line 32 def label @label end |
#time ⇒ Object
Timestamp for the widget.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/widget_marker.rb', line 35 def time @time end |
#value ⇒ Object
Value to apply. Can be a single value y = 15 or a range of values 0 < y < 10.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/widget_marker.rb', line 38 def value @value end |