If you have a monotonic counter that is being sampled e.g. every 15 seconds, you can get the instantaneous rate-of-change at each sample time (rather than the average rate per second), by using a query like this:
sum(my_counter{} - my_counter{} offset $__interval) by (grouping)