Skip to content

docs(real-time-events): rework the Real-Time Events section - #2410

Merged
bruno-andrade-azion merged 5 commits into
release/new-azion-docsfrom
feature/new-docs-real-time-event
Oct 2, 2026
Merged

bruno-andrade-azion merged 5 commits into
release/new-azion-docsfrom
feature/new-docs-real-time-event

Conversation

@bruno-andrade-azion

Copy link
Copy Markdown
Contributor

Summary

  • Real-Time Events had 3 pages per language for a Platform Resource that ~185 pages link as their observability answer. It now has 15: the overview and quickstart rebuilt, and six pages that own what the overview was holding — a 125-row variable reference, a limits table, and a kind-mixed body.
  • The guides hub showed 5 rows with an empty Type column and hid 4 guides that carried no product tag at all. It now lists 11, each typed, including 3 new worked-query guides.
  • Fixes two guides that shipped values a reader cannot use: one wrote the same filter argument as statusIn: "403" and statusIn: [403] in adjacent queries, the other shipped two response bodies that are not valid JSON behind an Authorization: 123 header.

How to test

  1. pnpm build:local — 1791 pages, frontmatter validator clean.
  2. pnpm lint:navcheck — passes.
  3. Open /en/documentation/platform/real-time-events/ and confirm the sidebar shows 10 rows: Overview, Quickstart, How it works, Guides and tutorials, Reference (Data sources + GraphQL API fields), Limits, Best practices, Troubleshooting, Glossary, Management.
  4. Open /en/documentation/platform/real-time-events/guides/ and confirm 11 rows, each with a value in the Type column.
  5. Switch any page to pt-br and back — every one of the 19 namespaces pairs.
  6. Confirm /en/documentation/platform/real-time-events/first-steps/ and /en/documentation/guides/platform/observability/analyze-navigation-data/ are gone from dist/; both have redirect rows.

Notes

Permalink changes, both with redirects in cicd/massive-redirect/:

  • …/real-time-events/first-steps/ → …/real-time-events/quickstart/ (en only; the pt-br permalink was already primeiros-passos and did not move). One older row that pointed at the retired URL was rechained in the same change, so no reader traverses two hops.
  • …/real-time-events/#data-sources → …/real-time-events/data-sources/, written out per language because a fragment target is not localized automatically.

Every internal link to both was rewritten, not merely redirected — including 4 absolute https://www.azion.com/… URLs in the migration guides that a relative-path sweep misses.

One guide retired: analyze-navigation-data asserted that Real-Time Events provides an Edge Pulse data source. The data-source list has eight entries and none is Edge Pulse, the GraphQL field reference has ten datasets and none is Edge Pulse, and its own variables link pointed at a non-existent anchor. Its content already lives on the Edge Pulse page. Deleted with a redirect, and its 6 inbound links retargeted.

Real-Time Events is a Platform Resource, not an Observe product. azion-kb:company-definitions/product-naming.md still lists it under Observe products and needs correcting — any skill run reading it for this resource's class gets the wrong answer.

Four variables were documented in Portuguese and never in English, in any version: Proxy Status on HTTP Requests, and Source on Image Processor, Edge DNS and Data Stream. Both languages now carry them, at 129 rows each. Worth confirming they are still real.

Not done, and not claimed: the benchmark baseline was never taken, so there is no coverage-gain figure for this rework. The style gate (.claude/hooks/docs_gate.py) does not exist in this checkout and was not run.

Known gap: the CSV export guide cannot say whether the download covers the visible page or the whole result set, and the download control in Console has no label. Both are recorded as owed.

The guide asserted that Real-Time Events provides an Edge Pulse data
source. No source supports it: the data-source list has eight entries and
none is Edge Pulse, the GraphQL field reference has ten datasets and none
is Edge Pulse, and the page's own link to the variable list pointed at an
anchor that does not exist.

Everything it carried already lives on the Edge Pulse page: the five
collected-data categories and the JavaScript tag. The six pages that
linked it now point there, two of them through absolute URLs a relative
sweep would have missed.
Real-Time Events had three pages for a resource that every other section
links as its observability answer. The overview carried three kinds in one
file: an overview, a 125-row variable reference, and a limits table.

It is now an overview, a quickstart, and six pages that own what the
overview was holding. The overview keeps its permalink and namespace,
which roughly 185 pages link, and drops the Implementation section and a
Preview tag that General Availability made stale in November 2025.

Real-Time Events is a Platform Resource, not an Observe product. The
knowledge base still says otherwise and needs correcting.

The quickstart moves from first-steps to quickstart and takes Console and
API tabs. Its redirect rechains an older row that pointed at the retired
URL, so no reader traverses two hops.
…orked-query guides

Eight guides rewritten. Seven opened with a How to title, none carried a
kind, so the hub's Type column was blank on every row, and four of them
were tagged with no product at all and therefore listed by no hub
anywhere.

Two defects were shipping values a reader cannot use. One guide wrote the
same filter argument as statusIn: "403" and statusIn: [403] in adjacent
queries, so whichever a reader copied had even odds of failing; only the
list form survives. Another shipped two response bodies that are not valid
JSON, fenced as bash, behind an Authorization: 123 header.

The three new guides carry the worked queries the section had nowhere to
put. The Examples slot is Functions-only here, so they ship as guides, in
the shape the WAF example pages use.
… section

Twenty pages, every namespace paired. The Portuguese side carried nine
defects that were invisible from English and would have survived a
straight translation: a guide sending readers to Data Stream for the
Real-Time Events variable reference, another carrying both statusIn forms,
a first-person "nos", a missing sentence that left a page linking the
variable reference nowhere, four reversed rulings on the Grafana query
guide, "edge applicatiom", and stray artifacts at three file ends.

Translation also found four variables documented in Portuguese and never
in English, in any version: Proxy Status on HTTP Requests, and Source on
Image Processor, Edge DNS and Data Stream. Both languages now carry them,
at 129 rows each.
The Real-Time Metrics rework landed on the base and overlaps this one in
five files.

The Grafana install guide is the substantive conflict: both reworks
rewrote it. Real-Time Metrics renamed it, gave it a label override and
made itself the owning product, so its version is taken whole and the two
Real-Time Events guides that linked it by the old title are updated.

The redirect files both grew by appending, and a plain union produced ten
rows with one `from` and two targets, because each side rechained rows the
other left alone. Resolved by keeping the terminal target per source: zero
duplicate sources, and the rechain for the quickstart move survives.
@bruno-andrade-azion
bruno-andrade-azion merged commit b7a88a0 into release/new-azion-docs Oct 2, 2026
5 of 7 checks passed
@bruno-andrade-azion
bruno-andrade-azion deleted the feature/new-docs-real-time-event branch October 2, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants