This repository has been archived by the owner on Aug 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
observe traffic and expose statistics #243
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
494d7fd
starting to observe
pgte 758cf2a
WIP: stats: observer to stats
pgte 0afd916
stats have transport now
pgte 0f5bfaa
stats: peer list and transport list
pgte 20d6934
stats: stop
pgte 7210efc
trying to set peer info
pgte 0eb8c26
propagating peer info
pgte 84e766b
stats: first tests
pgte fa6e377
stats: transports, protocols and peers
pgte a1d9014
stats: transport-specific stats
pgte 3d0ad42
stats: not relying on the order / existence of tests
pgte 7ee4fc5
stats: peer-specific stats
pgte 6ea2061
setPeerInfo only if there's a peerInfo
pgte e692fa2
stats: tests now are isolated
pgte 905680a
stats: tests: removed console.log
pgte f6db42d
stats: tests not hardcoding the port
pgte ae88175
stats: documented API
pgte 39f01af
removed console log
pgte 84b00f9
stats: emit update event every time stats get updated
pgte eb2cf59
docs: moved stats api place in readme
pgte fb0d209
docs: fixed typo
pgte a2cd482
setting the peer info directly without having to cache the method
pgte 2ed0cf8
docs: consistency for list markdown
pgte 5b3cb3b
docs: dcumented options
pgte 6c0ff32
stats: retaning old peers in case they reconnect
pgte efc7c92
stats: fix: now accounts for transport, and separates protocol-specif…
pgte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm glad you created this module :)