Re: Datadog question - multiple instances in same conf.yaml?

  • From: Nenad Noveljic <nenad.noveljic@xxxxxxxxx>
  • To: christopherdtaylor1994@xxxxxxxxx
  • Date: Wed, 29 Mar 2023 12:27:49 +0200

Hi Chris,

The following should work:

init_config:

instances:
 - server: localhost:1521
   service_name: "<SERVICE_NAME>"
   user: datadog
   password: "<PASSWORD>"
   tags:
     - instance:first
     - my_key:my_value

 - server: localhost:1522
   service_name: "<SERVICE_NAME>"
   user: datadog
   password: "<PASSWORD>"
   tags:
     - instance:second
     - my_key:my_value

Best regards,
Nenad


On Tue, Mar 28, 2023 at 6:20 PM Chris Taylor <
christopherdtaylor1994@xxxxxxxxx> wrote:

Anyone using Datadog to provide metrics here?

If so, I'm curious how you configure multiple services in the conf.yaml
file that are running on the same host and DDog's documentation isn't
helping.

We're running agent version 7.40.1.

If you're running datadog agent and have multiple instances configured in
the yaml file, could you email me back - I'd like to pick your brain a bit.

Thanks!

Chris


Other related posts: