Sha256: 6e91afeac3b06447d3aa7a9b3600fd30d235fc1bc0efe3a3c08c438d6b5318db
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
# Athenian::CalculatedDeploymentMetric ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **_for** | [**ForSetDeployments**](ForSetDeployments.md) | | | | **metrics** | [**Array<DeploymentMetricID>**](DeploymentMetricID.md) | | | | **granularity** | **String** | How often the metrics are reported. The value must satisfy the following regular expression: /^all|(([1-9]\\d* )?(aligned )?(day|week|month|year))$/. \"all\" produces a single interval [`date_from`, `date_to`]. \"aligned week/month/year\" produces intervals cut by calendar week/month/year borders, for example, when `date_from` is `2020-01-15` and `date_to` is `2020-03-10`, the intervals will be `2020-01-15` - `2020-02-01` - `2020-03-01` - `2020-03-10`. | | | **values** | [**Array<CalculatedLinearMetricValues>**](CalculatedLinearMetricValues.md) | The sequence steps from `date_from` till `date_to` by `granularity`. | | ## Example ```ruby require 'athenian' instance = Athenian::CalculatedDeploymentMetric.new( _for: null, metrics: null, granularity: 2 week, values: null ) ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
athenian-2.1.86 | docs/CalculatedDeploymentMetric.md |
athenian-2.1.85 | docs/CalculatedDeploymentMetric.md |
athenian-2.1.81 | docs/CalculatedDeploymentMetric.md |