You can request the MDEX Engine Statistics page for the Dgraph with the URL listed below.
http://DgraphServerNameOrIP:DgraphPort/admin?op=stats
For example, if your Dgraph is running on your local machine and listening on port 8000, specify this:
http://localhost:8000/admin?op=stats
You can determine the host and port on the EAC Admin Console of Endeca Workbench by opening the MDEX Engine component or by exploring your Deployment Template AppConfig.xml file.
To reset the statistics, make the following request:
http://DgraphServerNameOrIP:DgraphPort/admin?op=statsreset
To view the statistics information for a single request, clear statistics, issue a request and inspect statistics again.
The statistics page information is valid as long as the MDEX Engine keeps running; it is cleared upon the MDEX Engine restart.
The source data for the Dgraph statistics is stored in XML. By default, the MDEX Engine Statistics page is rendered into HTML through an Endeca XSLT stylesheet, stats.xslt, that is installed in the ENDECA_MDEX_ROOT/conf/dtd/xform directory.
If your browser supports XSLT transformations (for example, Internet Explorer 6 and later), you can view the statistics as transformed by stats.xslt, or you can modify the shipped stats.xslt stylesheet to provide a different transformation of the data.
If your browser does not support XSLT transformations, or if you want to see the raw XML, rename or remove ENDECA_MDEX_ROOT/conf/dtd/xform/stats.xslt.
To ensure that the statistics page displays properly in your browser, Javascript must be enabled, as part of the settings for the browser. (If your browser’s security setting is set to high, this may disable Javascript.)