cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error while adding monitoring configuration for SQL Data source extension

susmita_k
Guide

After deploying the SQL Data source extension successfully, we are trying to add monitoring configuration. and we see below error :

Failed to assign monitoring configuration to ActiveGate. Reason: Error in YAML or JSON configuration.

We are not able to see any further details/logs or events. Any help is really appreciated.

 

 

8 REPLIES 8

mmevanson
Participant

I would love to know how to fix this.  Anyone know yet?

Matt Evanson - CloudEngineer / Observability

For something like this the specific extension YAML would need to be reviewed. All that can be told from that error is that something is wrong. There are some scenarios that aren't detected on the initial validation step but are when the data source actually tries to run it.

If you aren't using it, I suggest using the VS Code Add On for developing extensions which in addition to validating the schema for you will also help to identify some of these cases that only surface at this stage sooner.

I got this message with a SQL Data Source extension for log ingest. I'm using the VS Code add-on and can't find the cause of this error. 
Is there a log (activatable debug log ?) on the ActiveGate that could give more details about the "something is wrong" ?

Gerard

You can run the diagnostic log for the active gate group which you configured for the monitoring configuration. That log normally provides more information about the error. 

Hi @susmita_k and @mmevanson ,

Have you assign a group to Active Gate? Dynatrace uses a group to instruct the extension where it should run. And I would create a new group instead of using default group. 

I would also check that there isn´t any connectivity issues with Active Gate.

Hope it helps.

Regards,

Elena.

Hi @susmita_k and @mmevanson 

We have found that the Custom Extension Creator App adds a type count/gauge to the YAML.

When we used the  VS Code Add On for developing extensions as per @JamesKitson  and removed the type from each metric it worked and ran perfectly. We did this when we created it in the Creator and then loaded it up into Managed so not sure if it is doing it on SaaS as well. 

brett_schubach1_0-1730448577464.png

Regards,

Brett

Peter_Youssef
Champion

Peter_Youssef
Champion

Hi @susmita_k 

You can also verify if the extension is located properly in the target AG directories:

KR,

Peter.

Featured Posts