Class: DatadogAPIClient::V1::GraphSnapshot
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::GraphSnapshot
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/graph_snapshot.rb
Overview
Object representing a graph snapshot.
Instance Attribute Summary collapse
-
#graph_def ⇒ Object
A JSON document defining the graph.
-
#metric_query ⇒ Object
The metric query.
-
#snapshot_url ⇒ Object
URL of your [graph snapshot](docs.datadoghq.com/metrics/explorer/#snapshot).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#graph_def ⇒ Object
A JSON document defining the graph. graph_def can be used instead of metric_query. The JSON document uses the [grammar defined here](docs.datadoghq.com/graphing/graphing_json/#grammar) and should be formatted to a single line then URL encoded.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/graph_snapshot.rb', line 31 def graph_def @graph_def end |
#metric_query ⇒ Object
The metric query. One of metric_query or graph_def is required.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/graph_snapshot.rb', line 34 def metric_query @metric_query end |
#snapshot_url ⇒ Object
URL of your [graph snapshot](docs.datadoghq.com/metrics/explorer/#snapshot).
37 38 39 |
# File 'lib/datadog_api_client/v1/models/graph_snapshot.rb', line 37 def snapshot_url @snapshot_url end |