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

Bug Found - DQL usable_with field shows wrong fields

Maheedhar_T
Mentor

Hi Team,
As per the latest SaaS release, the documentation says 

Extended meta information on data objects in Grail

The dt.system.data_objects fetch command now includes a new field usable_with field in its output

fetch dt.system.data_objects
 

The usable_with field contains an array of DQL commands for which the data object can be used.

This is pretty exciting it helps keep track of what are the objects in DQL without having to second guess them. However when tried, it shows up sample queries which are pretty off..!!

Maheedhar_T_0-1781844006529.png


I'll keep trying different things available here, but this is a serious problem..!! Without Dynatrace MCP (even sometimes with it) all the LLMs already hallucinate DQL to be in this syntax, now if I use this data to train my LLM it would be worse.!

Thanks,
@Maheedhar_T 



Maheedhar
1 REPLY 1

michael_krall
Dynatrace Participant
Dynatrace Participant

@Maheedhar_T here is how to interpret the information you are getting from fetch dt.system.data_objects:

  • dt.entity.process_group is a view that queries data from the entities table (see query_string) [Note: The entities table is not directly accessible in DQL. Classic entities can only be queried via views such as dt.entity.process_group which filter on specific entity types.]
  • dt.entity.process_group can be used with fetch and describe, e.g. fetch dt.entity.process_group

Featured Posts