Skip to content

Commit 03c1e57

Browse files
committed
Rename docs to website
1 parent 0e2e429 commit 03c1e57

20 files changed

+9
-0
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/docs/query-editor.md renamed to website/docs/query-editor.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,12 @@ Sets the text to send as a request body.
5555
- **Syntax highlighting** sets the active syntax for the editor. This is only for visual purposes and doesn't change the actual request.
5656

5757
> **Note:** Due to limitations in modern browsers, Grafana ignores the request body if the HTTP method is set to GET.
58+
59+
## Macros
60+
61+
Use macros in your query string and JSON Path queries to add dashboard context to your queries.
62+
63+
| Macro | Description |
64+
|----------------------|---------------------------------------------------------------------------|
65+
| `$__unixEpochFrom()` | Start of the dashboard time interval as a Unix timestamp, i.e. 1494410783 |
66+
| `$__unixEpochTo()` | End of the dashboard time interval as a Unix timestamp, i.e. 1494410783 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)