Discover labels
log10x_discover_labelsList Log10x metric labels or fetch distinct values for one label before filtering, preventing guessed names like namespace when the real label is k8s_namespace.
Instructions
List the labels Log10x metrics can be filtered or grouped by. Call at the start of a session, or before calling any tool that takes a label/filter argument — stops the model from guessing label names like "namespace" when the real name is "k8s_namespace". Pass a label name to get its distinct values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | If set, return distinct values for this label (e.g., "tenx_user_service" returns every service). If omitted, return the full label name list. | |
| limit | No | Max values to return when a label is specified. | |
| environment | No | Environment nickname (for multi-env setups). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| tool | Yes | ||
| view | No | summary | |
| images | No | ||
| actions | No | ||
| summary | Yes | ||
| warnings | No | ||
| truncated | No | ||
| next_cursor | No | ||
| render_hint | No | ||
| generated_at | Yes | ||
| schema_epoch | Yes | ||
| schema_version | Yes |