vfm / syseleven-exporter-chart

A Helm Chart to deploy the greate SysEleven Exporter in Kubernetes.
MIT License
3 stars 3 forks source link

S3-volume data not showing correct in grafana #10

Closed rdxmb closed 4 months ago

rdxmb commented 1 year ago

The grafana dashboards for Used S3 Space shows in my case:

Screenshot_20221208_164345

This seems kind of strange to me for, for the value is much too high.

Example:

The syseleven-exporter in my case has the following output:

syseleven_s3_space_used_bytes{project="daXXXX73",region="fes"} 6.2857238342e+10

So I added the region and project to the query, which still shows the wrong data.

image

Only if I remove the sum from the query, the values are shown the right way in the panel.

image

As I am quite new with PromQL (coming from InfluxQL), I am not sure how to fix this to have one TimeSeries per region/project and the right values.

Can somebody help me, so I will add this to my next PR. Thanks.

rdxmb commented 1 year ago

Oh, I see that I have different exporters writing to my prometheus. So, the values are added. However, what is the way to remove sum in my query and group by region here?

syseleven_s3_space_used_bytes{project="daXXXX73"} by (region) seems not to by a valid query

rdxmb commented 4 months ago

fixed with https://github.com/syseleven/syseleven-exporter/pull/34