Commit Graph
2 Commits
Author SHA1 Message Date
LFCanddennis zhuang fe0484bbc6 fix(servers): require authentication for debug endpoints [Backport release/v1.3] (#10603)
fix(servers): require authentication for debug endpoints (#10592)

* fix(servers): require authentication for debug endpoints

The /debug routes are added after the HTTP middleware stack, so they did
not go through the auth layer, and need_auth() only covered /v1/.

Apply the auth middleware to the /debug routes and treat the /debug
namespace as requiring authentication when a user provider is
configured.



* docs: pass credentials to debug endpoints in profiling guides

Let dump.sh read curl credentials from the config file in
GREPTIME_CURL_CONFIG, and document authentication for the /debug
endpoints in the profiling and log level guides.



---------


(cherry picked from commit a7693d52b6)

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
Co-authored-by: dennis zhuang <killme2008@gmail.com>
2026-11-25 14:32:44 +08:00
discord9andCopilot 5287b87925 docs: memory profile scripts (#5922)
* docs: memory profile scripts

* chore: typo

* chore: comment

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: newline eof

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-18 09:28:05 +00:00