Fetch all the available Oracle DB Instances and use them as variable in DB Dashboard

How do I fetch (DQL) all the available Oracle DB Instances(added with custom 2.0 extension) and use them as variable in my DB dashboard

You’ll need to get the entity type that you are using in your custom extension and fetch that.

For reference, here is how you could achieve something similar with the official Oracle DB extension:

fetch `dt.entity.sql:com_dynatrace_extension_sql-oracle_instance`
| fields entity.name

Thank you. this worked perfectly.