admin.groupSetTelemetryMetering( config as element(configuration), group-id as xs.unsignedLong, value as String ) as element(configuration)
This function sets the level of metering data sent to telemetry. This is also the maximum level of information that will be sent.
http://marklogic.com/xdmp/privileges/admin/group
http://marklogic.com/xdmp/privileges/admin/group/{id}
const admin = require('/MarkLogic/admin.xqy'); const config = admin.getConfiguration() const spec = admin.groupSetTelemetryMetering(config, xdmp.group(),"raw") admin.saveConfiguration(spec)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.