Sha256: f876643ec836f065151bed2f3c9ce51d68f187c4a7c87e7a6e5421a055e6fd73

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

# Athenian::DeploymentMetricsRequest

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **_for** | [**Array<ForSetDeployments>**](ForSetDeployments.md) | Sets of filters for which to calculate the metrics. The aggregation is `AND` between individual properties like `repositories` or `with`. The aggregation is `OR` inside each property. |  |
| **metrics** | [**Array<DeploymentMetricID>**](DeploymentMetricID.md) | Requested metric identifiers. |  |
| **date_from** | **Date** | Date from when to start measuring the metrics. |  |
| **date_to** | **Date** | Date until which to measure the metrics. |  |
| **timezone** | **Integer** | Local time zone offset in minutes, used to adjust `date_from` and `date_to`. | [optional] |
| **granularities** | **Array<String>** | The splits of the specified time range. |  |
| **quantiles** | **Array<Float>** | Cut the distributions at certain quantiles. The default values are [0, 1] which means no cutting. | [optional] |
| **account** | **Integer** | Session account ID. |  |

## Example

```ruby
require 'athenian'

instance = Athenian::DeploymentMetricsRequest.new(
  _for: null,
  metrics: null,
  date_from: null,
  date_to: null,
  timezone: null,
  granularities: null,
  quantiles: [0,0.95],
  account: null
)
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
athenian-2.1.86 docs/DeploymentMetricsRequest.md
athenian-2.1.85 docs/DeploymentMetricsRequest.md
athenian-2.1.81 docs/DeploymentMetricsRequest.md