Here, we will repeat the same procedure that we went through for adding a panel for the preceding circuit breaker metric, but instead, we will specify the values for the retry metrics:
- In the query field, specify rate(resilience4j_retry_calls[30s]). Since the retry metric is a counter, its value will only go up. An ever-increasing metric is rather uninteresting to monitor. The rate function is used to convert the retry metric into a rate per second metric. The time window specified, that is, 30 s, is used by the rate function to calculate the average values of the rate.
- For the legend, specify {{application}}.{{namespace}} ({{kind}}). Just like the output for the preceding Prometheus endpoint, we ...