hertzbeat / web-app
AGENTS.md7.5k starsChanged 17 months agoApache-2.0View on GitHub
This directory contains the active HertzBeat 2.0 frontend: Vite, React 18, Refine 5, Ant Design 5, TanStack Query 5, and React Router 7. Do not restore Next.js or Angular conventions and do not create another frontend project. Use the former Angular web-app as a HertzBeat organization reference: keep API access out of UI, routes explicit, models discoverable, shared components central, and i18n unified. Translate those responsibilities into the React feature layers in architecture.md; do not copy Angular modules, RxJS subscription…
We split this AGENTS.md into the rules it gives an agent
13 rules. About 0 are common, 4 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Use the former Angular web-app as a HertzBeat organization reference: keep API access out of UI, routes explicit, models discoverable, …
- Very specific: line 13
Before editing source, read architecture.md completely and inspect git status --short.
- Very specific: line 25
place transport and runtime schemas in features/<domain>/api.
- Very specific: line 26
place pure domain and URL state in model.
- Very specific: line 27
place React/Refine/TanStack orchestration in controller.
- Very specific: line 28
keep pages thin and components presentational.
- Distinctive: line 30
write the smallest failing test before implementation.
- Distinctive: line 31
run focused verification before broader verification.
- Very specific: line 32
update the ignored root progress.md after each milestone.
- Very specific: line 34
Do not declare a wire or visible workflow complete from green TypeScript and unit tests alone.
- Distinctive: line 40
Use Node 22 and pnpm 10. Run:
- Distinctive: line 58
When an upstream context changes (time range, service, environment, Collector, language, framework, or method), clear dependent evidence …
- Very specific: line 65
Use HertzBeat's rendered shell and global --hb-* tokens as the visual source of truth.
≈ “Common” is an estimate: at least 1 in 5 of the 36,368 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HertzBeat React agent guide
This directory contains the active HertzBeat 2.0 frontend: Vite, React 18, Refine 5, Ant Design 5, TanStack Query 5, and React Router 7. Do not restore Next.js or Angular conventions and do not create another frontend project.
Use the former Angular web-app as a HertzBeat organization reference: keep
API access out of UI, routes explicit, models discoverable, shared components
central, and i18n unified. Translate those responsibilities into the React
feature layers in architecture.md; do not copy Angular modules, RxJS
subscription code, global service growth, any DTOs, or oversized components.
Before editing source, read architecture.md completely and inspect
git status --short. Preserve every existing staged, unstaged, and untracked
change. Do not use reset, stash, clean, or checkout-based rollback.
For every non-trivial change, read the current path end to end before writing: route/page -> controller -> model/API -> backend response contract -> rendered consumer. Current source and the live backend are authoritative; comments, plans, screenshots, Angular, and Horizon are references. If a new local pattern seems necessary, first confirm the surrounding feature does not already own it.
Work one vertical slice at a time:
- place transport and runtime schemas in
features/<domain>/api; - place pure domain and URL state in
model; - place React/Refine/TanStack orchestration in
controller; - keep
pagesthin andcomponentspresentational; - expose cross-feature use only through the feature
index.ts; - write the smallest failing test before implementation;
- run focused verification before broader verification;
- update the ignored root
progress.mdafter each milestone.
Do not declare a wire or visible workflow complete from green TypeScript and unit tests alone. Run it against the real HertzBeat backend and inspect the actual request, response, route transition, and rendered state. If the backend or required data is unavailable, record that proof as a blocker; never invent a payload, fake healthy data, or silently substitute a mock.
Use Node 22 and pnpm 10. Run:
pnpm architecture
pnpm lint
pnpm typecheck
pnpm test
pnpm build
pnpm i18n:check
pnpm budget
pnpm dead-codeVisible UI work additionally requires a production build, real backend, and
in-app Browser verification at a fixed viewport. Keep screenshots and reports
under .tmp; never commit them, progress.md, dist, coverage, logs, test
databases, or local proof data.
When an upstream context changes (time range, service, environment, Collector, language, framework, or method), clear dependent evidence before loading the new scope and show an explicit loading state. Never leave stale values visible under a spinner. Every link or programmatic navigation must resolve through the central route registry, and route parameters consumed on mount need a test for the direct-entry path as well as in-app navigation.
Use HertzBeat's rendered shell and global --hb-* tokens as the visual source
of truth. Horizon informs density, hierarchy, and interaction discipline; it
does not authorize copying its Vue structure, branding, or OAP-specific rules.
Comments document only a public contract or a non-obvious invariant. Do not
paraphrase control flow or leave implementation history in source comments.
Instrumentation is an onboarding workflow. It consumes the Collector v1 catalog/render/detect contract and renders structured guidance. Never copy, rename, download, or package a language SDK or Agent binary into HertzBeat. Token values remain in the minimum in-memory state and never enter URLs, local storage, logs, analytics, snapshots, or persisted progress.
Trending
Steady talk.about the whole repository
Who's talking about apache/hertzbeat
- @vritrasec.bsky.social“An AI-powered next-generation open source real-time observability system. 🔗 …”Bluesky · May 20, 2026 · 2 likes
- A Hacker News story“Apache HertzBeat is a real-time monitoring system”Hacker News · May 31, 2025 · 2 points
- A Hacker News story“Show HN: Apache HertzBeat(incubating) Another Prometheus, Zabbix”Hacker News · Apr 18, 2024 · 2 points
- ePlus-DEV/free-tier-hub“[catalog-candidate] apache-hertzbeat-self-hosted”GitHub · Oct 28, 2026
- jvanderen1/hertzbeat“[fix] Make email notifier optional when spring.mail is not configured”GitHub · Aug 24, 2026
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub, Hacker News and Bluesky (23 times).
On GitHub · 19
- Oct 28, 2026[catalog-candidate] apache-hertzbeat-self-hosted — ePlus-DEV/free-tier-hub0 reactions · 3 comments
- Aug 24, 2026[fix] Make email notifier optional when spring.mail is not configured — jvanderen1/hertzbeat0 reactions · 2 comments
- Apr 21, 2025refactor: parse response by xml path in http collect — coderabbit-test/hertzbeat0 reactions · 14 comments
- Apr 21, 2025[feature] Desensitize sensitive information(new) — coderabbit-test/hertzbeat0 reactions · 4 comments
- Apr 12, 2025请问,是否需要帮忙实现接口 e2e 测试 — actiontech/sqle0 reactions
14 more on GitHub
- Mar 30, 2025Update apache-hertzbeat-default-login.yaml — projectdiscovery/nuclei-templates0 reactions · 2 comments
- Mar 23, 2025Create apache-hertzbeat-detect.yaml — projectdiscovery/nuclei-templates0 reactions
- Mar 8, 2025配置deepseek的api,OpenManus运行失败 — FoundationAgents/OpenManus0 reactions · 4 comments
- Jan 7, 2025Apache hertzbeat 镜像 — DaoCloud/public-image-mirror0 reactions · 2 comments
- Jan 7, 2025Apache hertzbeat 镜像 — DaoCloud/public-image-mirror0 reactions · 1 comment
- Dec 18, 2024HertzBeat — amphitheatre-app/catalog0 reactions
- Oct 9, 2024CVE-2024-42362 Apache Hertzbeat Snake Yaml 反序列化攻击 — qwe-cmd/blog0 reactions
- Sep 25, 2024需要关注的github项目 — xuanyuanaosheng/xuanyuanaosheng.github.io0 reactions · 3 comments
- Aug 31, 2024Template for Apache hertzbeat default login — projectdiscovery/nuclei-templates0 reactions · 2 comments
- Jul 12, 2024请问,是否需要帮忙实现接口 e2e 测试 — actiontech/sqle0 reactions
- Jul 1, 2024wukong nocoding module AviatorScript Inject RCE(AviatorScript后台命令执行) — WuKongOpenSource/Wukong_nocode0 reactions
- Jul 1, 2024提议:增加 E2E 测试 — elunez/eladmin0 reactions · 1 comment
- Jun 27, 2024[Feature]Proposal: add API based end-to-end (aka e2e) testing — koderover/zadigsays it tested it0 reactions
- May 22, 2024[improve] test ci — LiuTianyou/hertzbeat0 reactions · 4 comments
On Hacker News · 2
- May 31, 2025Apache HertzBeat is a real-time monitoring system2 points · 1 comment
- Apr 18, 2024Show HN: Apache HertzBeat(incubating) Another Prometheus, Zabbix2 points · 1 comment
On Bluesky · 2
- May 20, 2026An AI-powered next-generation open source real-time observability system. 🔗 https://github.com/apache/hertzbeat — @vritrasec.bsky.social2 likes and reposts · 1 reply
- Aug 8, 2025Je découvre hertzbeat ça a l'air vraiment pas mal github.com/apache/hertz... Des metrics récoltés sans agent (via ssh) — @mrazelium.eurosky.social0 likes and reposts · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 28,693 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

