# disableResourceTracking {#disableresourcetracking}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`disableResourceTracking()`

## Arguments {#arguments}

None

## Details {#details}

Use this function to disable resource tracking at runtime. This function can only be called by the administrator on a data node, and it only takes effect when *resourceSamplingInterval*is set to a positive integer. Note that enabling or disabling resource tracking will not affect log retention.

Related function: [enableResourceTracking](../e/enableresourcetracking.md)

