C
C#3mo ago
mer

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 prometheus
No description
2 Replies
Cracker
Cracker3mo ago
No description
Cracker
Cracker3mo ago
"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
Want results from more Discord servers?
Add your server