Add an option to hammer to pipe metrics to file

Open
#891 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
go
Domain
cli, observability

Research direction

Start by locating the hammer UI mode and the code that prints metrics to the terminal. Trace how its options are defined and how metrics are emitted, then determine how a configurable log destination and interval should fit there. Done means metrics can be written to a file at the selected interval while existing terminal output continues to work.

Written by the indexing model from the issue text.

Description

enhancement

Description

Currently hammer UI mode prints metrics to terminal, which cannot be pipe to file (i.e. via tee). It will be great to add an option to pipe the metrics to a log (and at a configurable interval). This allows to users to build dashboards easily from the log without installing vidulization packages (e.g., Prometheus/Grafana)

Dominant language
Go
Stars
37
Forks
18
Avg merge
19h 22m
Merged PRs (30d)
15

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from transparency-dev/tesseract

All issues in transparency-dev/tesseract

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.