Stevan Tosic
Stevan Tosic

Reputation: 7229

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?

Upvotes: 1

Views: 565

Answers (1)

draav
draav

Reputation: 1953

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

Upvotes: 2

Related Questions