Closed rdxmb closed 4 months 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
The grafana dashboards for Used S3 Space shows in my case:
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.
Only if I remove the
sum
from the query, the values are shown the right way in the panel.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.