Measure what a log Monitor costs on the small VM
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- rust, sqlite
- Domain
- observability, performance
Research direction
Read ADR 0017 and the count_logs_cost test in the tinyobserve-telemetry-sqlite crate. Run the documented release test on the 1/8 OCPU VM with a day of logs at 100 lines per second; alternatively, cross-build it for x86_64 musl and run it there. Done when ADR 0017 records the VM numbers alongside the M4 results and gives a safe step_secs.
Written by the indexing model from the issue text.
Description
As a homelab operator,
I want to know how long a log Monitor takes to count a Step on the 1/8 OCPU VM,
so that I pick a step_secs and filters that never hit the 10 s read deadline.
Acceptance criteria
- Given the VM with a day of logs at 100 lines per second, when
count_logs_costruns there, then ADR 0017 shows the VM numbers next to the M4 ones.
Success signal: the docs give a safe step_secs for the VM.
Out of scope: making the count faster.
Open questions: None.
Technical notes
From #140: measured only on an Apple M4 (46 ms filtered, 371 ms unfiltered for a 3600 s window over 360k rows). Run cargo test -p tinyobserve-telemetry-sqlite --release -- --ignored --nocapture count_logs_cost on the VM, or cross-build the test binary for x86_64 musl.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 40m
- Merged PRs (30d)
- 91
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jdrouet/tinyobserve
-
area:ops chore priority:low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jdrouet/tinyobserve#267 ·
Maintainers usually reply within 1 day
-
area:ops bug priority:low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jdrouet/tinyobserve#266 ·
Maintainers usually reply within 1 day
-
area:dashboards bug priority:low
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
jdrouet/tinyobserve#263 ·
Maintainers usually reply within 1 day
-
area:dashboards bug priority:low ready
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
jdrouet/tinyobserve#260 · 1 comment ·
Maintainers usually reply within 1 day
-
chore priority:medium
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
jdrouet/tinyobserve#256 · 1 comment ·
Maintainers usually reply within 1 day
All issues in jdrouet/tinyobserve
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
storytold/photocraft#20056 ·
Maintainers usually reply within 1 day
-
accessibility agent-ready area:android bug fleet needs-qa
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
-
A-Packaging C-Bug D-Straightforward S-Needs-Triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
area:doc bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
bherbruck/solvecraft#26051 ·