My challange is that i want to display request count from a total counter using Prometheus, the number that is displayed should take in account that the counter might been reset due to deployment etc.
Using something like increase function for this would work, now comes my problem i want the time vector to be the time range the date time picker is so if i choice “today so far”, “last 7day” or last “1hour” the value should be for just that time window.
was thinking like a query like: sum(increase(service_total_request_counter{job=“service_genric_stuff_SE”}[$__timeFilter])) by (job)
but this does not work its just gives me
coulde someone please help me i do now know what im doing wrong and it seems like it should be fairly simple query, but here i am.