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 tables for monitoring statistics of Virtual Machine cpu utilization and disk read/write ops #166

Merged
merged 16 commits into from
Jul 8, 2021

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented Jul 2, 2021

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results

Table: azure_compute_virtual_machine_metric_cpu_utilization


Basic Info

select
  name,
  timestamp,
  minimum,
  maximum,
  average,
  sample_count
from
  azure_compute_virtual_machine_metric_cpu_utilization
order by
  name,
  timestamp;
+----------------------+----------------------+---------+---------+---------------------+--------------+
| name                 | timestamp            | minimum | maximum | average             | sample_count |
+----------------------+----------------------+---------+---------+---------------------+--------------+
| test-virtual-machine | 2021-06-29T11:13:00Z | 0.46    | 0.46    | 0.46                | 1            |
| test-virtual-machine | 2021-06-29T11:18:00Z | 0.35    | 0.75    | 0.45499999999999996 | 10           |
| test-virtual-machine | 2021-06-29T11:23:00Z | 0.35    | 0.51    | 0.43099999999999994 | 10           |
| test-virtual-machine | 2021-06-29T11:28:00Z | 0.35    | 0.61    | 0.44400000000000006 | 10           |
| test-virtual-machine | 2021-06-29T11:33:00Z | 0.32    | 0.5     | 0.39888888888888885 | 9            |
| test-virtual-machine | 2021-06-29T11:38:00Z | 0.32    | 0.48    | 0.397               | 10           |
| test-virtual-machine | 2021-06-29T11:43:00Z | 0.35    | 0.49    | 0.42300000000000004 | 10           |
| test-virtual-machine | 2021-06-29T11:48:00Z | 0.35    | 0.49    | 0.421               | 10           |
| test-virtual-machine | 2021-06-29T11:53:00Z | 0.31    | 0.48    | 0.396               | 10           |
| test-virtual-machine | 2021-06-29T11:58:00Z | 0.32    | 0.46    | 0.398               | 10           |
| test-virtual-machine | 2021-06-29T12:03:00Z | 0.32    | 1.71    | 0.517               | 10           |
| test-virtual-machine | 2021-06-29T12:08:00Z | 0.32    | 0.46    | 0.392               | 10           |
| test-virtual-machine | 2021-06-29T12:13:00Z | 0.32    | 0.47    | 0.4                 | 10           |
| test-virtual-machine | 2021-06-29T12:18:00Z | 0.32    | 0.49    | 0.40499999999999997 | 10           |
| test-virtual-machine | 2021-06-29T12:23:00Z | 0.35    | 0.63    | 0.46299999999999997 | 10           |
| test-virtual-machine | 2021-06-29T12:28:00Z | 0.34    | 0.5     | 0.417               | 10           |
| test-virtual-machine | 2021-06-29T12:33:00Z | 0.32    | 0.48    | 0.39888888888888885 | 9            |
| test-virtual-machine | 2021-06-29T12:38:00Z | 0.32    | 0.46    | 0.396               | 10           |
| test-virtual-machine | 2021-06-29T12:43:00Z | 0.35    | 0.49    | 0.418               | 10           |
| test-virtual-machine | 2021-06-29T12:48:00Z | 0.34    | 0.49    | 0.41600000000000004 | 10           |
| test-virtual-machine | 2021-06-29T12:53:00Z | 0.33    | 0.47    | 0.404               | 10           |
| test-virtual-machine | 2021-06-29T12:58:00Z | 0.31    | 0.49    | 0.404               | 10           |
| test-virtual-machine | 2021-06-29T13:03:00Z | 0.33    | 0.5     | 0.42000000000000004 | 10           |
| test-virtual-machine | 2021-06-29T13:08:00Z | 0.34    | 0.5     | 0.41600000000000004 | 10           |
| test-virtual-machine | 2021-06-29T13:13:00Z | 0.31    | 0.5     | 0.418               | 10           |
| test-virtual-machine | 2021-06-29T13:18:00Z | 0.31    | 0.47    | 0.389               | 10           |
| test-virtual-machine | 2021-06-29T13:23:00Z | 0.35    | 0.5     | 0.426               | 10           |
| test-virtual-machine | 2021-06-29T13:28:00Z | 0.36    | 0.49    | 0.42000000000000004 | 10           |
| test-virtual-machine | 2021-06-29T13:33:00Z | 0.31    | 0.51    | 0.4088888888888889  | 9            |

CPU Over 0.5% average

select
  name,
  timestamp,
  round(minimum::numeric,2) as min_cpu,
  round(maximum::numeric,2) as max_cpu,
  round(average::numeric,2) as avg_cpu,
  sample_count
from
  azure_compute_virtual_machine_metric_cpu_utilization
where average > 80
order by
  name,
  timestamp;
+----------------------+----------------------+---------+---------+---------+--------------+
| name                 | timestamp            | min_cpu | max_cpu | avg_cpu | sample_count |
+----------------------+----------------------+---------+---------+---------+--------------+
| test-virtual-machine | 2021-06-29T12:03:00Z | 0.32    | 1.71    | 0.52    | 10           |
| test-virtual-machine | 2021-06-29T14:03:00Z | 0.35    | 1.10    | 0.58    | 10           |
| test-virtual-machine | 2021-06-29T14:38:00Z | 0.33    | 1.44    | 0.61    | 9            |
| test-virtual-machine | 2021-06-29T17:23:00Z | 0.33    | 0.78    | 0.58    | 10           |
| test-virtual-machine | 2021-06-29T17:28:00Z | 0.56    | 0.80    | 0.66    | 10           |
| test-virtual-machine | 2021-06-29T17:33:00Z | 0.60    | 0.81    | 0.71    | 10           |
| test-virtual-machine | 2021-06-29T17:38:00Z | 0.47    | 0.75    | 0.63    | 9            |
| test-virtual-machine | 2021-06-29T17:43:00Z | 0.54    | 0.76    | 0.67    | 10           |
| test-virtual-machine | 2021-06-29T17:48:00Z | 0.49    | 0.78    | 0.65    | 10           |
| test-virtual-machine | 2021-06-29T17:53:00Z | 0.40    | 0.79    | 0.67    | 10           |
| test-virtual-machine | 2021-06-29T17:58:00Z | 0.61    | 0.81    | 0.71    | 10           |
| test-virtual-machine | 2021-06-29T18:03:00Z | 0.35    | 0.80    | 0.65    | 10           |
| test-virtual-machine | 2021-06-29T19:03:00Z | 0.32    | 15.99   | 2.47    | 10           |
| test-virtual-machine | 2021-06-29T23:13:00Z | 0.30    | 3.23    | 0.83    | 10           |
| test-virtual-machine | 2021-06-30T04:28:00Z | 0.33    | 1.11    | 0.58    | 10           |
| test-virtual-machine | 2021-06-30T04:43:00Z | 0.31    | 3.03    | 0.71    | 10           |
| test-virtual-machine | 2021-06-30T04:48:00Z | 0.33    | 3.12    | 1.72    | 10           |
| test-virtual-machine | 2021-06-30T06:13:00Z | 0.31    | 2.89    | 0.66    | 10           |
| test-virtual-machine | 2021-06-30T06:43:00Z | 0.60    | 0.80    | 0.68    | 10           |
| test-virtual-machine | 2021-06-30T06:48:00Z | 0.63    | 0.82    | 0.73    | 10           |
| test-virtual-machine | 2021-06-30T06:53:00Z | 0.59    | 0.79    | 0.71    | 10           |
| test-virtual-machine | 2021-06-30T06:58:00Z | 0.62    | 0.80    | 0.72    | 10           |
| test-virtual-machine | 2021-06-30T07:03:00Z | 0.61    | 0.77    | 0.70    | 10           |
| test-virtual-machine | 2021-06-30T07:08:00Z | 0.62    | 0.80    | 0.73    | 10           |
| test-virtual-machine | 2021-06-30T07:13:00Z | 0.66    | 0.83    | 0.75    | 10           |
| test-virtual-machine | 2021-06-30T07:18:00Z | 0.37    | 0.85    | 0.52    | 10           |
+----------------------+----------------------+---------+---------+---------+--------------+

Table: azure_compute_virtual_machine_metric_cpu_utilization_hourly


Basic Info

select
  name,
  timestamp,
  minimum,
  maximum,
  average,
  sample_count
from
  azure_compute_virtual_machine_metric_cpu_utilization_hourly
order by
  name,
  timestamp;
+----------------------+----------------------+---------+---------+---------------------+--------------+
| name                 | timestamp            | minimum | maximum | average             | sample_count |
+----------------------+----------------------+---------+---------+---------------------+--------------+
| test-virtual-machine | 2021-06-29T10:21:00Z | 0.35    | 0.75    | 0.46714285714285714 | 7            |
| test-virtual-machine | 2021-06-29T11:21:00Z | 0.31    | 1.71    | 0.419327731092437   | 119          |
| test-virtual-machine | 2021-06-29T12:21:00Z | 0.31    | 0.63    | 0.41428571428571426 | 119          |
| test-virtual-machine | 2021-06-29T13:21:00Z | 0.31    | 1.1     | 0.42672268907563027 | 119          |
| test-virtual-machine | 2021-06-29T14:21:00Z | 0.31    | 1.44    | 0.4235294117647059  | 119          |
| test-virtual-machine | 2021-06-29T15:21:00Z | 0.31    | 1.04    | 0.413109243697479   | 119          |
| test-virtual-machine | 2021-06-29T16:21:00Z | 0.28    | 0.76    | 0.41705882352941176 | 119          |
| test-virtual-machine | 2021-06-29T17:21:00Z | 0.3     | 0.81    | 0.5984873949579832  | 119          |
| test-virtual-machine | 2021-06-29T18:21:00Z | 0.3     | 15.99   | 0.5911016949152542  | 118          |
| test-virtual-machine | 2021-06-29T19:21:00Z | 0.3     | 0.72    | 0.41411764705882353 | 119          |
| test-virtual-machine | 2021-06-29T20:21:00Z | 0.3     | 0.85    | 0.41563025210084037 | 119          |
| test-virtual-machine | 2021-06-29T21:21:00Z | 0.29    | 0.99    | 0.42100840336134454 | 119          |
| test-virtual-machine | 2021-06-29T22:21:00Z | 0.29    | 3.23    | 0.44537815126050423 | 119          |
| test-virtual-machine | 2021-06-29T23:21:00Z | 0.3     | 0.95    | 0.41445378151260504 | 119          |
| test-virtual-machine | 2021-06-30T00:21:00Z | 0.3     | 0.66    | 0.41882352941176476 | 119          |
| test-virtual-machine | 2021-06-30T01:21:00Z | 0.29    | 0.98    | 0.42201680672268904 | 119          |
| test-virtual-machine | 2021-06-30T02:21:00Z | 0.28    | 0.61    | 0.4209243697478992  | 119          |
| test-virtual-machine | 2021-06-30T03:21:00Z | 0.29    | 1       | 0.42411764705882354 | 119          |
| test-virtual-machine | 2021-06-30T04:21:00Z | 0.3     | 3.12    | 0.566218487394958   | 119          |
| test-virtual-machine | 2021-06-30T05:21:00Z | 0.29    | 2.89    | 0.44672268907563023 | 119          |
| test-virtual-machine | 2021-06-30T06:21:00Z | 0.3     | 0.85    | 0.6077310924369748  | 119          |
| test-virtual-machine | 2021-06-30T07:21:00Z | 0.34    | 0.51    | 0.43125             | 8            |
| test-virtual-machine | 2021-07-01T05:21:00Z | 0.3     | 0.91    | 0.445               | 24           |
+----------------------+----------------------+---------+---------+---------------------+--------------+

CPU Over 0.5% average

select
  name,
  timestamp,
  round(minimum::numeric,2) as min_cpu,
  round(maximum::numeric,2) as max_cpu,
  round(average::numeric,2) as avg_cpu,
  sample_count
from
  azure_compute_virtual_machine_metric_cpu_utilization_hourly
where average > 0.5
order by
  name,
  timestamp;
+----------------------+----------------------+---------+---------+---------+--------------+
| name                 | timestamp            | min_cpu | max_cpu | avg_cpu | sample_count |
+----------------------+----------------------+---------+---------+---------+--------------+
| test-virtual-machine | 2021-06-29T17:21:00Z | 0.30    | 0.81    | 0.60    | 119          |
| test-virtual-machine | 2021-06-29T18:21:00Z | 0.30    | 15.99   | 0.59    | 118          |
| test-virtual-machine | 2021-06-30T04:21:00Z | 0.30    | 3.12    | 0.57    | 119          |
| test-virtual-machine | 2021-06-30T06:21:00Z | 0.30    | 0.85    | 0.61    | 119          |
+----------------------+----------------------+---------+---------+---------+--------------+

Table: azure_compute_virtual_machine_metric_cpu_utilization_daily


Basic Info

select
  name,
  timestamp,
  minimum,
  maximum,
  average,
  sample_count
from
  azure_compute_virtual_machine_metric_cpu_utilization_daily
order by
  name,
  timestamp;
+----------------------+----------------------+---------+---------+---------------------+--------------+
| name                 | timestamp            | minimum | maximum | average             | sample_count |
+----------------------+----------------------+---------+---------+---------------------+--------------+
| test-virtual-machine | 2021-06-29T10:26:00Z | 0.28    | 15.99   | 0.45593149540517963 | 2394         |
| test-virtual-machine | 2021-06-30T10:26:00Z | 0.3     | 0.91    | 0.445               | 24           |
+----------------------+----------------------+---------+---------+---------------------+--------------+

CPU Over 0.4% average

select
  name,
  timestamp,
  round(minimum::numeric,2) as min_cpu,
  round(maximum::numeric,2) as max_cpu,
  round(average::numeric,2) as avg_cpu,
  sample_count
from
  azure_compute_virtual_machine_metric_cpu_utilization_daily
where average > 0.4
order by
  name,
  timestamp;
+----------------------+----------------------+---------+---------+---------+--------------+
| name                 | timestamp            | min_cpu | max_cpu | avg_cpu | sample_count |
+----------------------+----------------------+---------+---------+---------+--------------+
| test-virtual-machine | 2021-06-29T10:26:00Z | 0.28    | 15.99   | 0.46    | 2394         |
| test-virtual-machine | 2021-06-30T10:26:00Z | 0.30    | 0.91    | 0.45    | 24           |
+----------------------+----------------------+---------+---------+---------+--------------+

Table: azure_compute_disk_metric_read_ops

Basic Info

select
  name,
  timestamp,
  minimum,
  maximum,
  average,
  sample_count
from
  azure_compute_disk_metric_read_ops
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+---------+---------+---------+--------------+
| name                                                           | timestamp            | minimum | maximum | average | sample_count |
+----------------------------------------------------------------+----------------------+---------+---------+---------+--------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:29:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:34:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:39:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:44:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:49:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:54:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:59:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:04:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:09:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:14:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:19:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:24:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:29:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:34:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:39:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:44:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:49:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:54:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:59:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T12:04:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T12:09:00Z | 0       | 0       | 0       | 0            |

Operations Over 1 Bytes average

select
  name,
  timestamp,
  round(minimum::numeric,2) as min_read_ops,
  round(maximum::numeric,2) as max_read_ops,
  round(average::numeric,2) as avg_read_ops,
  sample_count
from
  azure_compute_disk_metric_read_ops
where average > 1
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+
| name                                                           | timestamp            | min_read_ops | max_read_ops | avg_read_ops | sample_count |
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-29T12:04:00Z | 2.00         | 2.00         | 2.00         | 1            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-29T18:59:00Z | 1.60         | 1.60         | 1.60         | 1            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-29T23:59:00Z | 2.00         | 2.00         | 2.00         | 1            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-30T06:14:00Z | 2.80         | 2.80         | 2.80         | 1            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-07-01T06:09:00Z | 1.20         | 1.20         | 1.20         | 1            |
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+

Table: azure_compute_disk_metric_read_ops_hourly


Basic Info

select
  name,
  timestamp,
  minimum,
  maximum,
  average,
  sample_count
from
  azure_compute_disk_metric_read_ops_hourly
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+---------------------+---------------------+---------------------+---------------------+
| name                                                           | timestamp            | minimum             | maximum             | average             | sample_count        |
+----------------------------------------------------------------+----------------------+---------------------+---------------------+---------------------+---------------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:32:00Z | 0                   | 0                   | 0                   | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:32:00Z | 0                   | 0                   | 0                   | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T12:32:00Z | 0                   | 0                   | 0                   | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T13:32:00Z | 0                   | 0                   | 0                   | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T14:32:00Z | 0                   | 0                   | 0                   | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T15:32:00Z | 0                   | 0                   | 0                   | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T16:32:00Z | 0                   | 0                   | 0                   | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T17:32:00Z | 0                   | 0                   | 0                   | 0                   |

Operations Over 0.2 Bytes average

select
  name,
  timestamp,
  round(minimum::numeric,2) as min_read_ops,
  round(maximum::numeric,2) as max_read_ops,
  round(average::numeric,2) as avg_read_ops,
  sample_count
from
  azure_compute_disk_metric_read_ops_hourly
where average > 0.2
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+
| name                                                           | timestamp            | min_read_ops | max_read_ops | avg_read_ops | sample_count |
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-30T05:32:00Z | 0.23         | 0.23         | 0.23         | 0.95         |
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+

Table: azure_compute_disk_metric_read_ops_daily


Basic Info

select
  name,
  timestamp,
  minimum,
  maximum,
  average,
  sample_count
from
  azure_compute_disk_metric_read_ops_daily
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
| name                                                           | timestamp            | minimum              | maximum              | average              | sample_count         |
+----------------------------------------------------------------+----------------------+----------------------+----------------------+----------------------+----------------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-03T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-04T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-05T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-06T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-07T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-08T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-09T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-10T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-11T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-12T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-13T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-14T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-15T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-16T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-17T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-18T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-19T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-20T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-21T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-22T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-23T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-24T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-25T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-26T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-27T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-28T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-29T10:35:00Z | 0.03263888888888889  | 0.03263888888888889  | 0.03263888888888889  | 0.7777777777777778   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-30T10:35:00Z | 0.004166666666666667 | 0.004166666666666667 | 0.004166666666666667 | 0.006944444444444444 |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-07-01T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-07-02T10:35:00Z | 0                    | 0                    | 0                    | 0                    |
+----------------------------------------------------------------+----------------------+----------------------+----------------------+----------------------+----------------------+

Operations Over 0.03 Bytes average

select
  name,
  timestamp,
  round(minimum::numeric,2) as min_read_ops,
  round(maximum::numeric,2) as max_read_ops,
  round(average::numeric,2) as avg_read_ops,
  sample_count
from
  azure_compute_disk_metric_read_ops_daily
where average > 0.03
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------------+
| name                                                           | timestamp            | min_read_ops | max_read_ops | avg_read_ops | sample_count       |
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-29T10:35:00Z | 0.03         | 0.03         | 0.03         | 0.7777777777777778 |
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------------+

Table: azure_compute_disk_metric_write_ops


Basic Info

select
  name,
  timestamp,
  minimum,
  maximum,
  average,
  sample_count
from
  azure_compute_disk_metric_write_ops
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+---------+---------+---------+--------------+
| name                                                           | timestamp            | minimum | maximum | average | sample_count |
+----------------------------------------------------------------+----------------------+---------+---------+---------+--------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:38:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:43:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:48:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:53:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:58:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:03:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:08:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:13:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:18:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:23:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:28:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:33:00Z | 0       | 0       | 0       | 0            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:38:00Z | 0       | 0       | 0       | 0            |

Operations Over 2 Bytes average

select
  name,
  timestamp,
  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
  azure_compute_disk_metric_write_ops
where average > 2
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+
| name                                                           | timestamp            | min_write_ops | max_write_ops | avg_write_ops | sample_count |
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-29T18:03:00Z | 2.20         | 2.20         | 2.20         | 1            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-30T04:48:00Z | 2.60         | 2.60         | 2.60         | 1            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-30T06:53:00Z | 2.20         | 2.20         | 2.20         | 1            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-30T07:03:00Z | 2.20         | 2.20         | 2.20         | 1            |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-30T07:08:00Z | 2.40         | 2.40         | 2.40         | 1            |
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+

Table: azure_compute_disk_metric_write_ops_hourly


Basic Info

select
  name,
  timestamp,
  minimum,
  maximum,
  average,
  sample_count
from
  azure_compute_disk_metric_write_ops_hourly
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+----------------------+----------------------+----------------------+---------------------+
| name                                                           | timestamp            | minimum              | maximum              | average              | sample_count        |
+----------------------------------------------------------------+----------------------+----------------------+----------------------+----------------------+---------------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:42:00Z | 0                    | 0                    | 0                    | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T11:42:00Z | 0                    | 0                    | 0                    | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T12:42:00Z | 0                    | 0                    | 0                    | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T13:42:00Z | 0                    | 0                    | 0                    | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T14:42:00Z | 0                    | 0                    | 0                    | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T15:42:00Z | 0                    | 0                    | 0                    | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T16:42:00Z | 0                    | 0                    | 0                    | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T17:42:00Z | 0                    | 0                    | 0                    | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T18:42:00Z | 0                    | 0                    | 0                    | 0                   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T19:42:00Z | 0                    | 0                    | 0                    | 0                   |

Operations Over 1 Bytes average

select
  name,
  timestamp,
  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
  azure_compute_disk_metric_write_ops_hourly
where average > 1
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+
| name                                                           | timestamp            | min_write_ops | max_write_ops | avg_write_ops | sample_count |
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-30T06:42:00Z | 1.32         | 1.32         | 1.32         | 0.7          |
+----------------------------------------------------------------+----------------------+--------------+--------------+--------------+--------------+

Table: azure_compute_disk_metric_write_ops_daily


Basic Info

select
  name,
  timestamp,
  minimum,
  maximum,
  average,
  sample_count
from
  azure_compute_disk_metric_write_ops_daily
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+-----------------------+-----------------------+-----------------------+----------------------+
| name                                                           | timestamp            | minimum               | maximum               | average               | sample_count         |
+----------------------------------------------------------------+----------------------+-----------------------+-----------------------+-----------------------+----------------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-02T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-03T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-04T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-05T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-06T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-07T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-08T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-09T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-10T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-11T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-12T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-13T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-14T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-15T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-16T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-17T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-18T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-19T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-20T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-21T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-22T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-23T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-24T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-25T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-26T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-27T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-28T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-29T10:44:00Z | 0.22569444444444445   | 0.22569444444444445   | 0.22569444444444445   | 0.6590277777777778   |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-30T10:44:00Z | 0.0006944444444444445 | 0.0006944444444444445 | 0.0006944444444444445 | 0.006944444444444444 |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-07-01T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-07-02T10:44:00Z | 0                     | 0                     | 0                     | 0                    |
+----------------------------------------------------------------+----------------------+-----------------------+-----------------------+-----------------------+----------------------+

Operations Over 0.2 Bytes average

select
  name,
  timestamp,
  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
  azure_compute_disk_metric_write_ops_daily
where average > 0.2
order by
  name,
  timestamp;
+----------------------------------------------------------------+----------------------+---------------+---------------+---------------+--------------------+
| name                                                           | timestamp            | min_write_ops | max_write_ops | avg_write_ops | sample_count       |
+----------------------------------------------------------------+----------------------+---------------+---------------+---------------+--------------------+
| test-virtual-machine_OsDisk_1_6bc46cb1da104e2d8958089727f488b8 | 2021-06-29T10:44:00Z | 0.23          | 0.23          | 0.23          | 0.6590277777777778 |
+----------------------------------------------------------------+----------------------+---------------+---------------+---------------+--------------------+

Copy link
Contributor

@Subhajit97 Subhajit97 left a comment

Choose a reason for hiding this comment

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

@ParthaI Check comments, and update the table descriptions.
Also check description provided in docs.

Copy link
Contributor

@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 6, 2021 07:12
@cbruno10 cbruno10 merged commit 472846b into main Jul 8, 2021
@cbruno10 cbruno10 deleted the issue-147 branch July 8, 2021 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment