I am using Keycloak 21.0.2 with Metrics SPI.
I would like to obtain the count of login requests per 1 minute, 1 hour, and 1 day individually, instead of aggregating them in the totalLogins parameter. Does anyone have any suggestions on how I can achieve this in my metrics?

For example having:

keycloak_login_attempts_per_minute{realm="myrealm",provider="keycloak",client_id="myclient",} 2.0
keycloak_login_attempts_per_hour{realm="myrealm",provider="keycloak",client_id="myclient",} 2.0
keycloak_login_attempts_per_day{realm="myrealm",provider="keycloak",client_id="myclient",} 2.0
keycloak_logins_per_minute{realm="myrealm",provider="keycloak",client_id="myclient",} 2.0
keycloak_logins_per_hour{realm="myrealm",provider="keycloak",client_id="myclient",} 2.0
keycloak_logins_per_day{realm="myrealm",provider="keycloak",client_id="myclient",} 2.0