Sha256: ad740e1740efd69e1990af1b8925af4fb26267845e9bbe651df23755f2bf56bb

Contents?: true

Size: 1.72 KB

Versions: 3

Compression:

Stored size: 1.72 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] |
| **scope** | **String** | Metric scope, comma separated list of tags. | [optional][readonly] |
| **start** | **Integer** | Start of the time window, milliseconds since Unix epoch. | [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,
  scope: host:foo,env:test,
  start: null,
  unit: null
)
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datadog_api_client-1.1.0 docs/v1/MetricsQueryMetadata.md
datadog_api_client-1.0.0 docs/v1/MetricsQueryMetadata.md
datadog_api_client-1.0.0.beta.3 docs/v1/MetricsQueryMetadata.md