wu-sheng opened a new pull request, #230:
URL: https://github.com/apache/skywalking-cli/pull/230
### What
Adds two flags to `swctl admin inspect entities`:
- `--value-column` — the metric's value column (e.g. `value`, `value_`,
`double_value`)
- `--value-type` — value data type (`LONG` / `INT` / `DOUBLE` / `LABELED`)
Both are passed through as query params to `GET /inspect/entities` and are
**required only when the metric is not defined on the target OAP** — i.e. a
metric persisted by *another* OAP that this node never loaded the
OAL/MAL/runtime-rule for.
### Why
SkyWalking OAP's inspect API was extended so `/inspect/entities` can inspect
a metric persisted by any OAP, even one the queried node does not define
locally. Since the value column/type cannot be recovered from the metric name
in that case, the caller supplies them. This change lets `swctl` drive that
foreign-metric path (otherwise the new capability is only reachable via raw
curl).
For a locally-defined metric the flags are ignored, so existing usage is
unchanged.
### Example
```
swctl admin inspect entities --metric meter_foo --value-column value
--value-type LONG \
--start "2026-06-23 0840" --end "2026-06-23 0900" --step MINUTE
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]