# Query

Khi bạn tạo mới một Widget, ngoài việc chọn loại biểu đồ muốn vẽ thì bạn cần bắt buộc chọn/ nhập thông tin query (truy vấn) để từ đó chúng tôi có thể hiển thị biểu đồ theo dữ liệu mà bạn mong muốn. Query cần thiết lập khi khởi tạo Widget bao gồm:

* [Metric query](/vng-cloud-document/vn/vmonitor/dashboards/dashboard/query/metric-query.md)
* [Log Query](/vng-cloud-document/vn/vmonitor/dashboards/dashboard/query/log-query.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vn/vmonitor/dashboards/dashboard/query.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
