Sha256: 351a6a9bf3e64bd63e2d9e28e833a9e411a792482e4b4774dd27c4400ffb9941

Contents?: true

Size: 1.97 KB

Versions: 3

Compression:

Stored size: 1.97 KB

Contents

# DatadogAPIClient::V1::MetricsQueryMetadata

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **aggr** | **String** | Aggregation type. | [optional][readonly] |
| **display_name** | **String** | Display name of the metric. | [optional][readonly] |
| **_end** | **Integer** | End of the time window, milliseconds since Unix epoch. | [optional][readonly] |
| **expression** | **String** | Metric expression. | [optional][readonly] |
| **interval** | **Integer** | Number of seconds between data samples. | [optional][readonly] |
| **length** | **Integer** | Number of data samples. | [optional][readonly] |
| **metric** | **String** | Metric name. | [optional][readonly] |
| **pointlist** | **Array<Array>** | List of points of the time series. | [optional][readonly] |
| **query_index** | **Integer** | The index of the series' query within the request. | [optional][readonly] |
| **scope** | **String** | Metric scope, comma separated list of tags. | [optional][readonly] |
| **start** | **Integer** | Start of the time window, milliseconds since Unix epoch. | [optional][readonly] |
| **tag_set** | **Array<String>** | Unique tags identifying this series. | [optional][readonly] |
| **unit** | [**Array<MetricsQueryUnit>**](MetricsQueryUnit.md) | Detailed information about the metric unit. First element describes the \"primary unit\" (for example, `bytes` in `bytes per second`), second describes the \"per unit\" (for example, `second` in `bytes per second`). | [optional][readonly] |

## Example

```ruby
require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::MetricsQueryMetadata.new(
  aggr: avg,
  display_name: system.cpu.idle,
  _end: null,
  expression: system.cpu.idle{host:foo,env:test},
  interval: null,
  length: null,
  metric: system.cpu.idle,
  pointlist: null,
  query_index: null,
  scope: host:foo,env:test,
  start: null,
  tag_set: null,
  unit: null
)
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datadog_api_client-1.4.0 docs/v1/MetricsQueryMetadata.md
datadog_api_client-1.3.0 docs/v1/MetricsQueryMetadata.md
datadog_api_client-1.2.0 docs/v1/MetricsQueryMetadata.md