DQL
Questions about Dynatrace Query Language
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to get Extension Configurations via DQL?

JoseT
Visitor

Basically as described.
Is it possible?
We can get their ids by using 

fetch `dt.entity.extensions:configuration`

but not their contents.
It would be immensely quicker to do it via DQL (and safer!), instead of having to resort to API calls.
Thank you.

2 REPLIES 2

t_pawlak
Leader

Hi,
As far as I know, not via DQL alone.
You can query the extension configuration entities/IDs in DQL, but the actual monitoring configuration content is exposed through the Extensions 2.0 API, not directly through DQL.

In practice, the supported way is to use the configuration ID you get from fetch dt.entity.extensions:configuration and then call:
GET /api/v2/extensions/{extensionName}/...
here documentation:
Extensions 2.0 API 

That endpoint returns the configuration payload in the value field.
So today the answer seems to be: IDs in DQL yes, full contents in DQL no.

Hello, I understand.
Thanks for confirming.

Featured Posts