# HTTP Duration in Traefik seems very low

**URL:** <https://community.traefik.io/t/http-duration-in-traefik-seems-very-low/20570>\
**Category:** Traefik v2\
**Tags:** metrics\
**Created:** [November 24, 2023, 4:46pm UTC](https://community.traefik.io/t/http-duration-in-traefik-seems-very-low/20570 "2023-11-24T16:46:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlbanAndrieu](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/albanandrieu/32/7888_2.png) [@AlbanAndrieu](https://community.traefik.io/u/AlbanAndrieu)\
**Post date:** [November 24, 2023, 4:46pm UTC](https://community.traefik.io/t/http-duration-in-traefik-seems-very-low/20570/1 "2023-11-24T16:46:46Z")

</div>

Hi,

I need advice to understand the average response time given by Traefik metrics (Prometheus)

I have created a simple FASTApi project, with an /health a /ping and hello world and response time given by Traefik is around 11 milliseconds.

With a browser or curl it is more around 45 ms.  
curl -w "@curl-format.txt" -o /dev/null -s "[http://fastapi-sample.service.gra.dev.consul/v1/ping](http://fastapi-sample.service.gra.dev.consul/v1/ping)"  
time\_namelookup: 0.018462s  
time\_connect: 0.027073s  
time\_appconnect: 0.000000s  
time\_pretransfer: 0.027103s  
time\_redirect: 0.000000s  
time\_starttransfer: 0.047565s  
----------  
time\_total: 0.047613s

I can see in Traefik logs "duration": 0.010641353000000001 (in nanoseconds) so 10.64 ms

Traefik prometheus configuration is the default  
[metrics.prometheus]  
entryPoint = "metrics"  
addRoutersLabels = true  
# buckets = [0.1,0.3,1.2,5.0]  
As the lower bucket is 0.1 I assume that leverage will never go lower than 10ms

I have also seen other requests like Apache /server-status be at 4ms

Is it fair to have such a low duration given by Traefik?  
Why Traefik do not give me the same response time as my browser or Curl?

Thank you in advance for enlightening my ignorance.
