Dealing with HTTPClient metrics
Hi, i currently working on httpclient metrics, goal is fair easy - i just want draw a chart which represents request to external dependency in time - i tried something like this ->
sum by(server_address)(http_client_active_requests)
But in my opinion data does'nt correspond with real traffic. What i make wrong? I collect metrics with multiple apps using prometheus2 Replies
"currently active on the client" so its not the total request per some time
that would explain the graph which the pattern like one request at a time and its done in a short period and repeats
Try http_client_request_duration_seconds_count instead, see if it matches your expectation