Skip to content

docs(metrics): add METRICS_CHANGELOG.md#6730

Open
warku123 wants to merge 1 commit intotronprotocol:developfrom
warku123:feat/metrics-changelog
Open

docs(metrics): add METRICS_CHANGELOG.md#6730
warku123 wants to merge 1 commit intotronprotocol:developfrom
warku123:feat/metrics-changelog

Conversation

@warku123
Copy link
Copy Markdown
Contributor

@warku123 warku123 commented Apr 29, 2026

What does this PR do?

Adds a top-level METRICS_CHANGELOG.md to track Prometheus metric additions, changes, and removals in java-tron. The first version section (4.8.2) records the two metrics introduced in #6624 (tron:block_transaction_count, tron:sr_set_change). A Pre-4.8.2 Baseline section follows with a one-time snapshot of all metrics already emitted prior to this file, organized by module (Core / Net / API / DB / System / JVM), so the document is useful as a quick reference rather than appearing empty. A References section at the bottom links to the official metrics documentation, the tron-docker operator overview, and the reference Grafana dashboard.

Why are these changes required?

There is currently no centralized place for node operators and dashboard maintainers to discover metric changes — they have to scan individual PRs or release notes. During review of #6624, @halibobo1205 suggested introducing a METRICS_CHANGELOG.md so future metric PRs have a standard place to record changes; this PR is the follow-up that creates that file. The format aligns with the existing java-tron GitHub Releases convention (bold version headers, module subsections), and visually with sister tronprotocol changelogs (tronweb, tronbox).

This PR has been tested by:

  • Unit Tests: N/A — documentation-only change
  • Manual Testing: N/A — documentation-only change

Follow up

Update tron-docker metric_monitor/README.md with the two new metrics from #6624.

Extra details

Add a single discovery point for Prometheus metric additions, changes,
and removals so node operators and dashboard maintainers do not need to
scan individual pull requests. Sectioning mirrors java-tron GitHub
Releases (Notice / New Features / ... grouped by module) for
consistency with the rest of the repository.

The 4.8.2 section records the two metrics introduced in tronprotocol#6624
(`tron:block_transaction_count`, `tron:sr_set_change`) and a
Pre-4.8.2 baseline snapshot of all metrics emitted prior to this file,
so the document doubles as a quick reference catalog. Per-version
provenance for baseline entries is not tracked; the file points at
git log on common/src/main/java/org/tron/common/prometheus/ for that.
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.

1 participant