Skip to content

Commit

Permalink
make rate interval variable
Browse files Browse the repository at this point in the history
Signed-off-by: Kamesh Akella <[email protected]>
  • Loading branch information
kami619 committed Dec 4, 2024
1 parent 3fd007e commit 9af9d9b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "irate(keycloak_user_events_total{event=\"client_login\", namespace=\"$namespace\", realm=\"$realm\"}[5m])",
"expr": "irate(keycloak_user_events_total{event=\"client_login\", namespace=\"$namespace\", realm=\"$realm\"}[$__rate_interval])",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"range": true,
Expand Down Expand Up @@ -163,7 +163,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "irate(keycloak_user_events_total{event=\"code_to_token\", namespace=\"$namespace\", realm=\"$realm\"}[5m])",
"expr": "irate(keycloak_user_events_total{event=\"code_to_token\", namespace=\"$namespace\", realm=\"$realm\"}[$__rate_interval])",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"range": true,
Expand Down Expand Up @@ -248,7 +248,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "irate(keycloak_user_events_total{event=\"login\", namespace=\"$namespace\", realm=\"$realm\"}[5m])",
"expr": "irate(keycloak_user_events_total{event=\"login\", namespace=\"$namespace\", realm=\"$realm\"}[$__rate_interval])",
"hide": false,
"intervalFactor": 1,
"legendFormat": "{{pod}}",
Expand Down Expand Up @@ -334,7 +334,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "irate(keycloak_user_events_total{event=\"logout\", namespace=\"$namespace\", realm=\"$realm\"}[5m])",
"expr": "irate(keycloak_user_events_total{event=\"logout\", namespace=\"$namespace\", realm=\"$realm\"}[$__rate_interval])",
"intervalFactor": 1,
"legendFormat": "{{pod}}",
"range": true,
Expand Down

0 comments on commit 9af9d9b

Please sign in to comment.