Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add table gcp_compute_disk_metric_write_ops_hourly. Closes #269 #271

Merged
merged 4 commits into from
Jul 1, 2021

Conversation

rajeshbal65
Copy link
Contributor

@rajeshbal65 rajeshbal65 commented Jun 29, 2021

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results
### Basic info

```sql
select
  name,
  minimum,
  maximum,
  average,
  sample_count
from
  gcp_compute_disk_metric_write_ops_hourly
order by
  name;

+--------+---------+---------+---------+--------------+
| name   | minimum | maximum | average | sample_count |
+--------+---------+---------+---------+--------------+
| disk-1 | 0       | 0       | 0       | 60           |
| disk-1 | 0       | 0       | 0       | 60           |
| disk-1 | 0       | 0       | 0       | 60           |
| disk-1 | 0       | 0       | 0       | 60           |
| disk-1 | 0       | 0       | 0       | 60           |
| disk-1 | 0       | 0       | 0       | 60           |
| disk-1 | 0       | 0       | 0       | 60           |
| disk-1 | 0       | 0       | 0       | 35           |
+--------+---------+---------+---------+--------------+

Intervals averaging over 100 write ops

select
  name,
  round(minimum::numeric,2) as min_write_ops,
  round(maximum::numeric,2) as max_write_ops,
  round(average::numeric,2) as avg_write_ops,
  sample_count
from
  gcp_compute_disk_metric_write_ops_hourly
where average > 10
order by
  name;

+------------+---------------+---------------+---------------+--------------+
| name       | min_write_ops | max_write_ops | avg_write_ops | sample_count |
+------------+---------------+---------------+---------------+--------------+
| instance-1 | 0.00          | 185.00        | 17.56         | 18           |
| instance-1 | 0.00          | 227.00        | 16.78         | 60           |
+------------+---------------+---------------+---------------+--------------+
</details>

@rajeshbal65 rajeshbal65 linked an issue Jun 29, 2021 that may be closed by this pull request
@rajeshbal65 rajeshbal65 linked an issue Jun 29, 2021 that may be closed by this pull request
@rajeshbal65 rajeshbal65 self-assigned this Jun 29, 2021
Copy link

@rajlearner17 rajlearner17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Subhajit97 Subhajit97 requested a review from cbruno10 July 1, 2021 09:27
@cbruno10 cbruno10 merged commit 135a5fb into main Jul 1, 2021
@cbruno10 cbruno10 deleted the issue-269 branch July 1, 2021 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add table gcp_compute_disk_metric_write_ops_hourly
4 participants