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

feat(iroh-cli): add doctor plot #2206

Merged
merged 3 commits into from
May 13, 2024
Merged

feat(iroh-cli): add doctor plot #2206

merged 3 commits into from
May 13, 2024

Conversation

Arqu
Copy link
Collaborator

@Arqu Arqu commented Apr 17, 2024

Description

Allows for quick plotting of prometheus style metrics. By default it looks at http://localhost:9090 but can be configured.
When the plotter app is active you can freeze the state by pressing f or quit by pressing q.
A magic metric named random can be used for demo purposes and simply generates a 1-100 value on every tick.

Sample usage:
iroh doctor plot magicsock_relay_home_change_total,iroh_requests_total_total,random

Still got some cleanup to do and some sanity checking so we don't blow up in some cases.

Screenshot 2024-04-18 at 00 27 01

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

@Arqu Arqu added the metrics extracting quantified mesurements from iroh label Apr 17, 2024
@Arqu Arqu self-assigned this Apr 17, 2024
@ramfox ramfox added this to the v0.16.0 milestone May 10, 2024
@b5 b5 marked this pull request as ready for review May 10, 2024 14:43
@dignifiedquire dignifiedquire added this pull request to the merge queue May 13, 2024
@dignifiedquire dignifiedquire changed the title feat: doctor plot feat(iroh-cli): doctor plot May 13, 2024
@dignifiedquire dignifiedquire changed the title feat(iroh-cli): doctor plot feat(iroh-cli): add doctor plot May 13, 2024
Merged via the queue into main with commit 4f1d8b0 May 13, 2024
24 checks passed
@Arqu Arqu deleted the arqu/doctor_metrics branch May 13, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metrics extracting quantified mesurements from iroh
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants