Skip to content

Add counter/histogram to record total number of requests and latency metrics in NH#1

Merged
qqustc merged 10 commits intomasterfrom
record-latency
Jun 22, 2020
Merged

Add counter/histogram to record total number of requests and latency metrics in NH#1
qqustc merged 10 commits intomasterfrom
record-latency

Conversation

@qqustc
Copy link
Copy Markdown
Owner

@qqustc qqustc commented Jun 22, 2020

Add the following counter/histogram in benchmark_client_impl :

  • total_req_sent - counter, total number of requests sent from Nighthawk
  • latency_on_success_req_us - histogram, Latency (in Microseconds) histogram of successful request with code 2xx
  • latency_on_error_req_us - histogram, Latency (in Microseconds) histogram of successful request with code other than 2xx

Testing: unit tests
Docs Changes: Add docs/root/statistics.md

@qqustc qqustc merged commit dc7c7f2 into master Jun 22, 2020
qqustc added a commit that referenced this pull request Jun 22, 2020
…metrics in NH (#1)

* Create statistics.md

* Update benchmark_client_impl.cc

* Update benchmark_client_impl.h

* Update stream_decoder.cc

* Update stream_decoder.h

* Update BUILD

* Update benchmark_http_client_test.cc

* Update test_integration_basics.py

* Update stream_decoder_test.cc

* local commit 1
Signed-off-by: qqustc <qqin@google.com>

Commit from master
Signed-off-by: qqustc <qqustc@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant