From 464c5ccdf62a3ebd1f55d7d842aa83626e93094a Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Wed, 4 Feb 2026 19:07:30 +0800 Subject: [PATCH] feat(agent-install): print resolved metrics/log endpoints at completion --- scripts/agent-install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/agent-install.sh b/scripts/agent-install.sh index 1fb632a..4e72fe2 100755 --- a/scripts/agent-install.sh +++ b/scripts/agent-install.sh @@ -419,6 +419,14 @@ verify_installation() { done } +print_endpoint_summary() { + echo + log_success "Resolved ingest endpoints:" + echo " Base URL : ${base_endpoint}" + echo " Metrics endpoint : ${METRICS_ENDPOINT}" + echo " Logs endpoint : ${LOGS_ENDPOINT}" +} + deploy_agent() { log_info "Action=${ACTION}" log_info "Base endpoint=${ENDPOINT}" @@ -429,6 +437,7 @@ deploy_agent() { install_vector verify_installation log_success "Agent deploy/upgrade complete." + print_endpoint_summary } case "${ACTION}" in