# Pre-made Grafana Dashboard

You can import this existing dashboard to your Grafana account: <https://grafana.com/grafana/dashboards/21070-warpstream-agent-dashboard/>

Example of a `prometheus.yml` file that you can use as a datasource with an agent running locally:

```
global:
  scrape_interval: 15s
  evaluation_interval: 15s

scrape_configs:
  - job_name: prometheus
    static_configs:
      - targets: ['localhost:9090']

  - job_name: warpstream
    static_configs:
      - targets: ['localhost:8080']
        labels:
          cluster: 'warpstream'
          namespace: 'warpstream'
          container: 'agent'
          job: 'warpstream/warpstream-agent'
```


---

# 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.warpstream.com/warpstream/agent-setup/monitor-the-warpstream-agents/pre-made-grafana-dashboard.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.
