prometheus_get_runtime_info
Retrieve Prometheus runtime information including goroutine count, time series count, and storage retention policy to diagnose performance issues or verify configuration.
Instructions
Get Prometheus runtime information.
Wraps GET /api/v1/status/runtimeinfo. Returns operational data:
goroutine count, time series count, storage retention policy,
start time, corruption count, and config reload status.
Examples:
- Use when: "Why is Prometheus slow?" → check goroutine count
and time series count.
- Use when: "What's the retention policy?" → check storage_retention.
- Don't use when: You want the Prometheus version
(call prometheus_get_build_info).
Returns:
dict with start_time / goroutine_count / time_series_count /
storage_retention / corruptionCount / reloadConfigSuccess /
lastConfigTime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_time | Yes | ||
| lastConfigTime | Yes | ||
| corruptionCount | Yes | ||
| goroutine_count | Yes | ||
| storage_retention | Yes | ||
| time_series_count | Yes | ||
| reloadConfigSuccess | Yes |