log_volume_analysis
Rank the highest-volume Loki log streams under a selector, flag high-churn labels as cardinality-explosion risks, and provide retention hints from index stats.
Instructions
[READ][analysis] Top streams by volume + high-cardinality (high-churn) label warnings.
Ranks the highest-volume streams under the selector, flags labels with many distinct values as cardinality-explosion risks, and adds a retention hint from Loki index stats when available.
Args: selector: A Loki stream selector to scope the analysis (e.g. '{namespace="prod"}'). hours: Lookback window in hours (capped at the tool's max lookback). loki_target: Loki target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| selector | Yes | ||
| loki_target | No |