title: Micrometer Reactor Netty Http Client Metrics vs Http Client Metrics
body: <p>When building a Reactor Netty application I get two similar metrics. But what's actually the difference between them?</p>
  <p><code>http_client_requests_seconds</code> vs. <code>reactor_netty_http_client_response_time_seconds</code></p>
  <p>I can't figure out what the differences are in how/where they measure the response time. It's not consistent which one measures longer time.</p>
  <p>Http Client metrics mesures longer time</p>
  <pre><code>reactor_netty_http_client_response_time_seconds_count{method=&quot;POST&quot;,remote_address=&quot;localhost:8184&quot;,status=&quot;200&quot;,uri=&quot;/api/endpoint&quot;,} 2.0
  reactor_netty_http_client_response_time_seconds_sum{method=&quot;POST&quot;,remote_address=&quot;localhost:8184&quot;,status=&quot;200&quot;,uri=&quot;/api/endpoint&quot;,} 0.048153964
  
  http_client_requests_seconds_count{clientName=&quot;localhost&quot;,method=&quot;POST&quot;,outcome=&quot;SUCCESS&quot;,status=&quot;200&quot;,uri=&quot;/api/endpoint&quot;,} 2.0
  http_client_requests_seconds_sum{clientName=&quot;localhost&quot;,method=&quot;POST&quot;,outcome=&quot;SUCCESS&quot;,status=&quot;200&quot;,uri=&quot;/api/endpoint&quot;,} 0.167178945
  </code></pre>
  <p>Reactor Netty metrics mesures longer time</p>
  <pre><code>http_client_requests_seconds_count{clientName=&quot;localhost&quot;,method=&quot;POST&quot;,outcome=&quot;SUCCESS&quot;,status=&quot;200&quot;,uri=&quot;/api/another&quot;,} 2.0
  http_client_requests_seconds_sum{clientName=&quot;localhost&quot;,method=&quot;POST&quot;,outcome=&quot;SUCCESS&quot;,status=&quot;200&quot;,uri=&quot;/api/another&quot;,} 0.049176211
  
  reactor_netty_http_client_response_time_seconds_count{method=&quot;POST&quot;,remote_address=&quot;localhost:8184&quot;,status=&quot;200&quot;,uri=&quot;/api/another&quot;,} 2.0
  reactor_netty_http_client_response_time_seconds_sum{method=&quot;POST&quot;,remote_address=&quot;localhost:8184&quot;,status=&quot;200&quot;,uri=&quot;/api/another&quot;,} 0.046602377
  </code></pre>