Summarize and explain queries with Davis CoPilot

  • Latest Dynatrace
  • Tutorial
  • Published Mar 12, 2024

You can use Davis CoPilot in Dashboards and Notebooks to translate DQL into natural language. Davis CoPilot can provide a summary as well as a detailed explanation of any existing DQL queries.

Who this is for

This article is for any users who want to better understand or better DQL queries, or who want to familiarize themselves with DQL.

What you will learn

In this article, you'll learn how to use Davis CoPilot to summarize and explain DQL queries.

Before you begin

Davis CoPilot explanations are session-based and may vary in structure. This means that explanations don’t persist across sessions, so you’ll need to regenerate them after a session ends. While Davis CoPilot often provides line-by-line explanations, it may instead group related lines into meaningful chunks (for example, when multiple lines form a single command or function).

Prior knowledge

Prerequisites

Explain queries with Davis CoPilot in Notebooks

  1. Go to Notebooks Notebooks and open a notebook you can edit.
  2. Select a notebook section that contains a query you want to summarize or explain.
  3. Open the menu and select Explain query with AI. A summary followed by a detailed explanation is generated under the query input field.

An example of Davis CoPilot-generated summary and explanation of the query

Explain queries with Davis CoPilot in Dashboards

  1. Go to Dashboards Dashboards and open a dashboard you can edit.
  2. Select a dashboard that contains a DQL query you want to summarize or explain.
  3. Select Edit to open the edit menu on the right.
  4. In the DQL section of the edit menu, select Explain query with AI. A summary followed by a detailed explanation is generated under Run.

An example of Davis CoPilot-generated explanation and summary of the query in Dashboards

Give feedback

To help us improve Davis CoPilot, you can provide feedback directly from your notebook or dashboard. Under the generated explanation box:

  • Select Thumb up if Davis CoPilot has interpreted the query correctly and has generated an adequate explanation that meets your expectations.
  • Select Thumb down if Davis CoPilot has has incorrectly interpreted the DQL query or generated a query explanation that has failed to meet your expectations. Please provide additional context for us to understand how we can improve this functionality to meet your needs and expectations.

Do not share personal or confidential information in your feedback.

Related tags
Dynatrace Platform