From d3f0a8e5657c321ed27e12a5699bf53a37832d87 Mon Sep 17 00:00:00 2001 From: gaspardmoindrot Date: Thu, 22 Jun 2023 19:12:43 +0000 Subject: [PATCH] =?UTF-8?q?[RELENG-7422]=20=F0=9F=93=9D=20Add=20documentat?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../collected-reported-metrics.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/metrics-analysis-prometheus/collected-reported-metrics.md b/docs/metrics-analysis-prometheus/collected-reported-metrics.md index fd1fabc..9f7f3e7 100644 --- a/docs/metrics-analysis-prometheus/collected-reported-metrics.md +++ b/docs/metrics-analysis-prometheus/collected-reported-metrics.md @@ -84,10 +84,20 @@ for AWS (when creating an EC2 instance) and on the [Google Cloud website](https://cloud.google.com/compute/vm-instance-pricing) for GCP. -We aim to obtain a result that is close to reality, within a range of -approximately +/- 5%, for data visualization purposes. Key points to consider for retrieving cost information: +!!! note "Cost for self-hosted runners are approximate" + + When retrieving the cost of each key point, + calculating the exact cost per minute might not be possible + as it depends on the cloud provider billing policy + and each individual CI workload: + + - Internal cloud provider/lab with dedicated hardware. + - Cloud provider billing policy for virtual machines is per hour or day only. + - Price of instance varies during the day, week or month. + - CI job that uploads a large amount of data. + - RAM and CPU Costs : provided cost per minute for RAM and CPU expenses, can be found in the documentation of the respective cloud provider. - Storage Costs : provided cost per minute for storage expenses, can