feat(topup-log): add NODE_NAME env var for audit logs
Introduce NODE_NAME environment variable to identify node identity in top-up audit logs, improving readability over auto-detected container internal IPs in Docker/K8s deployments. Surface node_name in admin expanded log rows and add it as a commented example to docker-compose.yml.
This commit is contained in:
@@ -740,6 +740,12 @@ export const useLogsData = () => {
|
||||
value: adminInfo.server_ip,
|
||||
});
|
||||
}
|
||||
if (adminInfo.node_name) {
|
||||
expandDataLocal.push({
|
||||
key: t('节点名称'),
|
||||
value: adminInfo.node_name,
|
||||
});
|
||||
}
|
||||
if (adminInfo.version) {
|
||||
expandDataLocal.push({
|
||||
key: t('系统版本'),
|
||||
|
||||
Reference in New Issue
Block a user