Replace deprecated code-placeholders shortcode with placeholders attribute

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
copilot/sub-pr-6866
copilot-swe-agent[bot] 2026-02-25 14:06:35 +00:00
parent eac84608b9
commit 91089aef02
1 changed files with 2 additions and 6 deletions

View File

@ -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:**
```