series_metadata
Retrieve label-set metadata for a PromQL selector, with optional time range, to identify matching series and handle partial results when truncated.
Instructions
[READ] Series (label-set) metadata for a PromQL selector.
Args: match: A PromQL series selector (e.g. 'up{job="node"}'). start: Optional range start (RFC-3339 or unix timestamp). end: Optional range end (RFC-3339 or unix timestamp). target: Prometheus target name from config; omit for the default.
Returns an envelope with returned/limit/truncated. If
truncated is true the result is partial — narrow the selector or raise
the limit rather than treating it as complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| match | Yes | ||
| start | No | ||
| target | No |