From 9ec12a74707f7f4ede2c1688263b51ed99289767 Mon Sep 17 00:00:00 2001 From: Kaveh Vahedipour Date: Thu, 7 Jun 2018 16:23:52 +0200 Subject: [PATCH] agents' replicated log added to report (#5554) --- js/client/modules/@arangodb/inspector.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/client/modules/@arangodb/inspector.js b/js/client/modules/@arangodb/inspector.js index a61b1cd67e..a26eb36942 100644 --- a/js/client/modules/@arangodb/inspector.js +++ b/js/client/modules/@arangodb/inspector.js @@ -584,12 +584,13 @@ function getServerData(arango) { } } - const version = arango.GET('_api/version'); // version api + const version = arango.GET('_api/version?details=true'); // version api const log = arango.GET('_admin/log'); // log api const statistics = arango.GET('_admin/statistics'); // log api - var agencyConfig; + var agencyConfig, agencyState; if (server.startsWith("AGNT")) { agencyConfig = arango.GET('_api/agency/config'); + agencyState = arango.GET('_api/agency/config'); } const status = arango.GET('_admin/status'); const time = require('internal').time(); @@ -646,6 +647,7 @@ function getServerData(arango) { if (agencyConfig !== undefined) { report[server].config = agencyConfig; + report[server].state = agencyState; } if (top !== undefined) { report[server].top = top;