Replace deprecated code-placeholders shortcode with placeholders attribute
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>copilot/sub-pr-6866
parent
eac84608b9
commit
91089aef02
|
|
@ -88,11 +88,9 @@ Query log entries are stored in the `_internal` database.
|
|||
3. Run the **query** subcommand with `--database` and `--language` (and optionally `--config`).
|
||||
Global flags such as `--config` must come before the command; query flags such as `--database`, `--language`, and `--token` must come after `query`.
|
||||
|
||||
{{% code-placeholders "DATABASE_TOKEN" %}}
|
||||
|
||||
**List recent successful queries with compute duration above a threshold (for example, 0.6 ms):**
|
||||
|
||||
```sh
|
||||
```sh { placeholders="DATABASE_TOKEN" }
|
||||
influxctl query \
|
||||
--token DATABASE_TOKEN \
|
||||
--database _internal \
|
||||
|
|
@ -103,7 +101,7 @@ influxctl query \
|
|||
|
||||
**Filter by namespace (database) and time range:**
|
||||
|
||||
```sh
|
||||
```sh { placeholders="DATABASE_TOKEN" }
|
||||
influxctl query \
|
||||
--token DATABASE_TOKEN \
|
||||
--database _internal \
|
||||
|
|
@ -111,8 +109,6 @@ influxctl query \
|
|||
'SELECT * FROM query_log WHERE namespace_name = '\''my_database'\'' AND time >= now() - INTERVAL '\''1 day'\'' LIMIT 50'
|
||||
```
|
||||
|
||||
{{% /code-placeholders %}}
|
||||
|
||||
**Example output:**
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue