-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add emulation
test plan
#4
Conversation
Regarding recording gossipsub metrics: |
1123108
to
d37112c
Compare
d37112c
to
92f4b8c
Compare
Co-authored-by: Divma <[email protected]>
Co-authored-by: Divma <[email protected]>
Co-authored-by: Divma <[email protected]>
Co-authored-by: Divma <[email protected]>
because the lock file can be automatically generated
no longer need to change working-directory since the plans are members of workspace
Trying to enable the
|
This comment was marked as outdated.
This comment was marked as outdated.
* invalid_messages_per_topic * accepted_messages_per_topic * ignored_messages_per_topic * rejected_messages_per_topic * topic_iwant_msgs
This is helpful when we want to sort metrics by something not timestamp(e.g. instance_name).
Add Grafana container with preconfigured datasources and dashboards
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.
This is solid progress. Lets merge down and make adjustments in future PRs
How to run
Test parameters available
READMEs
In this PR, the following READMEs have been updated/added.
What the emulation does
Note: Attackers connect to a single publisher (victim).
Dashboards
Please run
docker-compose up
and browse http://localhost:13000/dashboards.Gossipsub Metrics
The metrics of gossipsub are recorded once the emulation has been completed. All of the metrics on libp2p-gossipsub are available in this dashboard.
Variables for this dashboard:
run_id
: The run_id for the test run you want to see.topic
: The gossipsub topic, currently it's fixed toemulate
.instance_name
: Some panels in this dashboard need an instance name to be specified. (e.g. score_per_mesh histogram)Peer Scores
The peer scores are recorded periodically (every second) while the emulation is running.
Variables for this dashboard:
run_id
: The run_id for the test run you want to see.instance_name
: It's default toAll
, you can select specific instances.Remaining work
Protobuf support prometheus/client_rust#83. -> Doneprometheus-client
: Finishlibp2p-gossipsub
: Make a change to enable the protobuf support.Create Grafana dashboard-> Done