init_config:instances:## @param directory - string - required## The directory to monitor. On windows, please make sure you escape back-slashes otherwise the YAML## parser fails (eg. - directory: "C:\\Users\\foo\\Downloads").#- directory:"<DIRECTORY_PATH>"
Ensure that the user running the Agent process (usually datadog-agent) has read access to the directories, subdirectories, and files you configure.
Note: On Windows when you add your directory, use double-backslashes C:\\path\\to\\directory instead of single-backslashes C:\path\to\directory for the check to run. Otherwise, the directory check fails with traceback ending in the error: found unknown escape character in "<string>".