jamesnetherton commented on issue #7682:
URL: https://github.com/apache/camel-quarkus/issues/7682#issuecomment-3242469597

   I added Micrometer to our `microprofile-fault-tolerance` tests just to see 
what metrics get produced.
   
   Here's what I got from `/q/metrics`:
   
   ```
   # TYPE ft_circuitbreaker_calls counter
   # HELP ft_circuitbreaker_calls
   
ft_circuitbreaker_calls_total{circuitBreakerResult="failure",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker"}
 1.0
   
ft_circuitbreaker_calls_total{circuitBreakerResult="circuitBreakerOpen",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker"}
 0.0
   
ft_circuitbreaker_calls_total{circuitBreakerResult="success",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker"}
 1.0
   # TYPE ft_timer_scheduled gauge
   # HELP ft_timer_scheduled
   ft_timer_scheduled{id="1"} 0.0
   # TYPE ft_timeout_executionDuration_seconds summary
   # HELP ft_timeout_executionDuration_seconds
   
ft_timeout_executionDuration_seconds_count{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithDelay"}
 2.0
   
ft_timeout_executionDuration_seconds_sum{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithDelay"}
 0.251534208
   # TYPE ft_timeout_executionDuration_seconds_max gauge
   # HELP ft_timeout_executionDuration_seconds_max
   
ft_timeout_executionDuration_seconds_max{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithDelay"}
 0.251451208
   # TYPE ft_timeout_calls counter
   # HELP ft_timeout_calls
   
ft_timeout_calls_total{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithDelay",timedOut="true"}
 1.0
   
ft_timeout_calls_total{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithDelay",timedOut="false"}
 1.0
   # TYPE ft_circuitbreaker_state_total_seconds gauge
   # HELP ft_circuitbreaker_state_total_seconds
   
ft_circuitbreaker_state_total_seconds{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker",state="halfOpen"}
 0.0095385
   
ft_circuitbreaker_state_total_seconds{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker",state="closed"}
 6.462425749
   
ft_circuitbreaker_state_total_seconds{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker",state="open"}
 1.45334E-4
   # TYPE ft_invocations counter
   # HELP ft_invocations
   
ft_invocations_total{fallback="notDefined",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker",result="valueReturned"}
 1.0
   
ft_invocations_total{fallback="applied",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithFallback",result="exceptionThrown"}
 0.0
   
ft_invocations_total{fallback="notApplied",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithFallback",result="valueReturned"}
 1.0
   
ft_invocations_total{fallback="notDefined",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithDelay",result="valueReturned"}
 1.0
   
ft_invocations_total{fallback="applied",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithFallback",result="valueReturned"}
 1.0
   
ft_invocations_total{fallback="notDefined",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker",result="exceptionThrown"}
 1.0
   
ft_invocations_total{fallback="notApplied",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithFallback",result="exceptionThrown"}
 0.0
   
ft_invocations_total{fallback="notDefined",method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithDelay",result="exceptionThrown"}
 1.0
   # TYPE ft_circuitbreaker_state_current gauge
   # HELP ft_circuitbreaker_state_current
   
ft_circuitbreaker_state_current{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker",state="halfOpen"}
 0.0
   
ft_circuitbreaker_state_current{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker",state="closed"}
 1.0
   
ft_circuitbreaker_state_current{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker",state="open"}
 0.0
   # TYPE ft_circuitbreaker_opened counter
   # HELP ft_circuitbreaker_opened
   
ft_circuitbreaker_opened_total{method="org.apache.camel.quarkus.component.microprofile.it.faulttolerance.GreetingBean.greetWithCircuitBreaker"}
 1.0
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to