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

From: Chris Taylor <christopherdtaylor1994_at_gmail.com>
Date: Wed, 29 Mar 2023 09:15:35 -0400
Message-ID: <CAP79kiQOwsgS4B6qQSJ=Siu5iPRV7LF5PTyiKSkYDYpmyt9nPw_at_mail.gmail.com>



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_at_gmail.com> 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_at_gmail.com> 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
>>
>>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Mar 29 2023 - 15:15:35 CEST

Original text of this message