Search code examples
analyticsmetricsdatadoginfrastructure

DataDog directory - listen multiple directories at one host


I need to know is there a possibility to listen to two directories at the same time on one host.

Directory (datadog.com)

I used an example document system.disk.directory - Configuration example for initial setup. One directory is fine, but I need to listen to two directories.

init_config:

instances:
  - directory: /first/directory/path/
    filegauges: true

  # second one is ignored?
  - directory: /second/directory/path/
    filegauges: true

Is this even possible?


Solution

  • Yes that will work fine with the syntax you're using. You can add as many instances to that array as you want