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

  • From: Chris Taylor <christopherdtaylor1994@xxxxxxxxx>
  • To: Nenad Noveljic <nenad.noveljic@xxxxxxxxx>
  • Date: Wed, 29 Mar 2023 09:15:35 -0400

AH - well I was very close then!  Left off the "Tags" portion.  I'll add
that and restart and see what happens.

Thanks so much!

Chris

On Wed, Mar 29, 2023 at 6:28 AM Nenad Noveljic <nenad.noveljic@xxxxxxxxx>
wrote:

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: