yyyCode commented on issue #994:
URL: https://github.com/apache/hertzbeat/issues/994#issuecomment-5119268567

   Hi, I'd like to work on this issue. Please assign it to me.
   
   **Plan**
   
   Apache Superset exposes several unauthenticated endpoints (defined in 
`superset/views/health.py`) that are ideal for monitoring:
   
   - `/health` (also `/healthcheck`, `/ping`) — returns plain text `OK`
   - `/version` — returns JSON with `version_string`, `version_sha`, 
`build_number`
   
   I plan to add an HTTP-based monitoring template (no new collector code 
needed), following the existing pattern used by templates like 
`app-airflow.yml`:
   
   - `hertzbeat-manager/src/main/resources/define/app-superset.yml` with two 
metric sets:
     - `health` (priority 0, availability) — collects `responseTime` and 
`statusCode` via `parseType: website`
     - `version` (priority 1) — collects version info via `parseType: jsonPath`
   - Help docs: `home/docs/help/superset.md` (EN) and the zh-cn i18n counterpart
   - Register the doc in `home/sidebars.json`
   
   Looking forward to your feedback on the approach.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to