Sha256: 8618f3f322bf434e83e8905499c7169eceb484316736eacd7a4d651e0c1aacf0

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 KB

Contents

# DatadogAPIClient::V1::Series

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **host** | **String** | The name of the host that produced the metric. | [optional] |
| **interval** | **Integer** | If the type of the metric is rate or count, define the corresponding interval. | [optional] |
| **metric** | **String** | The name of the timeseries. |  |
| **points** | **Array<Array>** | Points relating to a metric. All points must be tuples with timestamp and a scalar value (cannot be a string). Timestamps should be in POSIX time in seconds, and cannot be more than ten minutes in the future or more than one hour in the past. |  |
| **tags** | **Array<String>** | A list of tags associated with the metric. | [optional] |
| **type** | **String** | The type of the metric either `count`, `gauge`, or `rate`. | [optional][default to 'gauge'] |

## Example

```ruby
require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::Series.new(
  host: test.example.com,
  interval: 20,
  metric: system.load.1,
  points: [[1575317847,0.5]],
  tags: ["environment:test"],
  type: rate
)
```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datadog_api_client-1.3.0 docs/v1/Series.md
datadog_api_client-1.2.0 docs/v1/Series.md
datadog_api_client-1.1.0 docs/v1/Series.md
datadog_api_client-1.0.0 docs/v1/Series.md
datadog_api_client-1.0.0.beta.3 docs/v1/Series.md