17 May 2024 10:28 PM
Hi,
I am creating an extension 2.0 using .yaml
And in it there are SQL queries
But i wanna execute them on different endpoints
Let's say
Query 1 needs to be executed on endpoint 1
And query 2 to be executed on endpoint 2
I configured the endpoints in Dynatrace as shown below ,
Now how can I specify for each query where to be executed
Solved! Go to Solution.
19 May 2024 10:33 AM
Hi @rmkni
Just wonder why not to split into 2 separated configurations?
Yos
21 May 2024 10:33 AM
Hello @rmkni ,
You can package your queries per "feature sets":
https://docs.dynatrace.com/docs/shortlink/extensions-concepts#feature-sets
Feature sets are categories into which you organize the data collected by the extension. Imagine an SNMP extension monitoring your network devices and collecting metrics related to NIC status, transport layer, and SNMP traps. This is reflected by metrics organization into related feature sets. Using a single extension, you can now customize your monitoring to limit a particular feature set to selected devices of your choice or identify ActiveGates with connectivity suited to devices capable of providing data specific to a feature set. It's all centrally managed from a single place, using a single API call. All metrics that aren't categorized into any feature set are considered to be default and are always reported.
Feature set 1 :
query 1
query 2
Feature set 2 :
query 3
query 4
Afterward, you can configure different configuration endpoints :
1 configuration entpoint with a list of servers to execute feature Set 1
1 configuration entpoint with a list of servers to execute feature Set 2
An exemple with oracle extension :
Regards, Aurélien