Boavizta / cloud-scanner

📡 Get Boavizta impact data for your aws cloud account usage.
GNU Affero General Public License v3.0
32 stars 7 forks source link

Add Error margin in the metrics output / exporter #557

Open damienfernandes opened 2 months ago

damienfernandes commented 2 months ago

Problem

In prometheus, we don't scrape error margin for collected impacts values.

Solution

To be able to explicit result, I will be interesting to add error margin and be able to display it in grafana. Absolut Unvertainty will be calculated with rawdata bloc (min, max, value) for every impacts

Alternatives

Investigate if we add new metrics or we change value metrics to scrape Value ± Absolute Uncertainty

Additional context or elements

Absolute Uncertainty

damienfernandes commented 2 months ago

@demeringo To provide scientific rigor when presenting experimental results 🧪

demeringo commented 2 months ago

I fully agree that returning the uncertaincy is important.

I think we need to do 3 things:

demeringo commented 1 month ago

@damienfernandes I realize that this issue, seems realy related to cloud scanner (not strickly boavizta API which already returns uncertaincy figures).

Do you agree ? I yes I can transfer the issue to cloud-scanner repository.