-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Added metrics to liteprotocoltester (#3002)
* Added metrics to tests Fix liteprotocoltester docker files with libnegentropy COPY docker compose with waku-sim simulation now having test performance dashboard and localhost:3033 Mention dashboard in Readme * Update apps/liteprotocoltester/statistics.nim Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com> * indent fix, more stable finding of service/bootstrap nodes, pre-set for TWN --------- Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
- Loading branch information
1 parent
19feb6b
commit 8baf627
Showing
20 changed files
with
1,240 additions
and
6,169 deletions.
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
35 changes: 0 additions & 35 deletions
35
apps/liteprotocoltester/Dockerfile.liteprotocoltester.copy
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## Example showing how a resource restricted client may | ||
## subscribe to messages without relay | ||
|
||
import metrics | ||
|
||
export metrics | ||
|
||
declarePublicGauge lpt_receiver_sender_peer_count, "count of sender peers" | ||
|
||
declarePublicCounter lpt_receiver_received_messages_count, | ||
"number of messages received per peer", ["peer"] | ||
|
||
declarePublicCounter lpt_receiver_received_bytes, | ||
"number of received bytes per peer", ["peer"] | ||
|
||
declarePublicGauge lpt_receiver_missing_messages_count, | ||
"number of missing messages per peer", ["peer"] | ||
|
||
declarePublicCounter lpt_receiver_duplicate_messages_count, | ||
"number of duplicate messages per peer", ["peer"] | ||
|
||
declarePublicGauge lpt_receiver_distinct_duplicate_messages_count, | ||
"number of distinct duplicate messages per peer", ["peer"] | ||
|
||
declarePublicCounter lpt_publisher_sent_messages_count, "number of messages published" | ||
|
||
declarePublicCounter lpt_publisher_failed_messages_count, | ||
"number of messages failed to publish per failure cause", ["cause"] | ||
|
||
declarePublicCounter lpt_publisher_sent_bytes, "number of total bytes sent" |
Oops, something went wrong.