Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

put the per connection socket count and ip on the normal out #602

Merged
merged 2 commits into from
Jul 1, 2022

Conversation

ldemailly
Copy link
Member

@ldemailly ldemailly commented Jun 30, 2022

put the per connection socket count and ip on the normal out so it shows up in web too. also export socket count per connection to json

fixes #601

looks like this:

# Socket and IP used for each connection:
[0]   2 socket used, resolved to 127.0.0.1:8080
[1]   2 socket used, resolved to 127.0.0.1:8080
[2]   3 socket used, resolved to 127.0.0.1:8080
[3]   2 socket used, resolved to 127.0.0.1:8080
[4]   4 socket used, resolved to 127.0.0.1:8080
[5]   5 socket used, resolved to 127.0.0.1:8080
[6]   2 socket used, resolved to 127.0.0.1:8080
[7]   2 socket used, resolved to 127.0.0.1:8080
[8]   2 socket used, resolved to 127.0.0.1:8080
[9]   3 socket used, resolved to 127.0.0.1:8080
Sockets used: 27 (for perfect keepalive, would be 10)

and json

  "Sockets": [
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    1
  ],
  "SocketCount": 11,

…ows up in web too. also export socket count per connection to json
@codecov
Copy link

codecov bot commented Jun 30, 2022

Codecov Report

Merging #602 (84ab831) into master (a5d0f12) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@          Coverage Diff           @@
##           master    #602   +/-   ##
======================================
  Coverage    87.9%   87.9%           
======================================
  Files          26      26           
  Lines        3609    3611    +2     
======================================
+ Hits         3173    3175    +2     
  Misses        294     294           
  Partials      142     142           
Impacted Files Coverage Δ
fhttp/httprunner.go 86.4% <100.0%> (+0.2%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5d0f12...84ab831. Read the comment docs.

@ldemailly ldemailly merged commit 61f1fba into master Jul 1, 2022
@ldemailly ldemailly deleted the more_ui_out branch July 1, 2022 02:48
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.

output some of the info log to stdout instead (so it shows in web ui triggers)
2 participants