Skip to content

Document native histograms, and fix the README for v7 - #284

Open
rluong003 wants to merge 1 commit into
masterfrom
richard.luong/tally-native-histogram-drops
Open

rluong003 wants to merge 1 commit into
masterfrom
richard.luong/tally-native-histogram-drops

Conversation

@rluong003

@rluong003 rluong003 commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Intent

Added Native Histogram documentation to the README

@CLAassistant

CLAassistant commented Oct 8, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@rluong003 rluong003 changed the title Surface dropped native histograms Surface dropped native histograms, and fix the README for v7 Oct 8, 2026
The README predates both the native histogram work and the module rename.

Renaming the module to /v7 (#281) never touched it, so the install line and
every import example still pointed at the v-less path: a reader following
them on v7 would silently get v4.

Native histograms were undocumented entirely, and the interface listings the
README pastes verbatim had drifted -- StatsReporter was missing
ReportNativeHistogram and Scope was missing both native histogram methods.
Those listings are now exact copies of reporter.go and types.go again.

The new section covers what a native histogram buys over a bucketed one, why
that forces a serialized payload, and that tally defines neither the encoding
nor a reporter that understands it. It says plainly that no bundled reporter
can transmit them, and that a scope with no NativeHistogramFactory counts
values without ever reporting them and gives no sign that it is doing so.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@rluong003
rluong003 force-pushed the richard.luong/tally-native-histogram-drops branch from 4526404 to 5ca91c1 Compare October 8, 2026 20:42
@rluong003 rluong003 changed the title Surface dropped native histograms, and fix the README for v7 Document native histograms, and fix the README for v7 Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants