Sha256: 00d56ee2df6aa94e2a7d6b8374246266918178ea2bd3a0e6eb2c4e2e26074ea4

Contents?: true

Size: 1.85 KB

Versions: 2

Compression:

Stored size: 1.85 KB

Contents

# DatadogAPIClient::V1::GraphSnapshot

## Properties

| Name             | Type       | Description                                                                                                                                                                                                                                                                         | Notes      |
| ---------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| **graph_def**    | **String** | A JSON document defining the graph. `graph_def` can be used instead of `metric_query`. The JSON document uses the [grammar defined here](https://docs.datadoghq.com/graphing/graphing_json/#grammar) and should be formatted to a single line then URL encoded. | [optional] |
| **metric_query** | **String** | The metric query. One of `metric_query` or `graph_def` is required.                                                                                                                                                                                             | [optional] |
| **snapshot_url** | **String** | URL of your [graph snapshot](https://docs.datadoghq.com/metrics/explorer/#snapshot).                                                                                                                                                                                                | [optional] |

## Example

```ruby
require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::GraphSnapshot.new(
  graph_def: null,
  metric_query: null,
  snapshot_url: https://app.datadoghq.com/s/f12345678/aaa-bbb-ccc
)
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datadog_api_client-1.6.0 docs/v1/GraphSnapshot.md
datadog_api_client-1.5.0 docs/v1/GraphSnapshot.md