In spring-boot metrics ( with micromter and prometheous ) I can get no of log events for each threshold as follows. This shows aggregation for each log level for whole application time. I want similar custom metrics but aggregate over defined time period. Ex: I have unique ID for operation and I want no of such operation happens over 5