You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,31 @@ This is an MCP server to allow LLMs to interact with a running Prometheus instan
9
9
| --- | --- |
10
10
|`alertmanagers`| Get overview of Prometheus Alertmanager discovery |
11
11
|`build_info`| Get Prometheus build information |
12
-
|`execute_query`| Execute an instant query against the Prometheus datasource |
12
+
|`config`| Get Prometheus configuration |
13
+
|`exemplars_query`| Performs a query for exemplars by the given query and time range |
13
14
|`flags`| Get runtime flags |
15
+
|`label_names`| Returns the unique label names present in the block in sorted order by given time range and matchers |
16
+
|`label_values`| Performs a query for the values of the given label, time range and matchers |
14
17
|`list_alerts`| List all active alerts |
15
18
|`list_rules`| List all alerting and recording rules that are loaded |
16
19
|`list_targets`| Get overview of Prometheus target discovery |
20
+
|`metric_metadata`| Returns metadata about metrics currently scraped by the metric name |
21
+
|`query`| Execute an instant query against the Prometheus datasource |
22
+
|`range_query`| Execute a range query against the Prometheus datasource |
17
23
|`runtime_info`| Get Prometheus runtime information |
24
+
|`series`| Finds series by label matchers |
25
+
|`targets_metadata`| Returns metadata about metrics currently scraped by the target |
18
26
|`tsdb_stats`| Get usage and cardinality statistics from the TSDB |
19
27
|`wal_replay_status`| Get current WAL replay status |
20
28
29
+
__NOTE:__ For the time being, the [TSDB Admin API endpoints](https://prometheus.io/docs/prometheus/latest/querying/api/#tsdb-admin-apis) aren't implemented. Both because of the potential for damage, as well as the fact that these endpoints are not enabled unless prometheus is started with an additional flag. Implementation requires more thought/consideration.
30
+
31
+
| Tool Name | Description |
32
+
| --- | --- |
33
+
|`clean_tombstones`| Removes the deleted data from disk and cleans up the existing tombstones |
34
+
|`delete_series`| deletes data for a selection of series in a time range |
35
+
|`snapshot`| creates a snapshot of all current data into snapshots/<datetime>-<rand> under the TSDB's data directory and returns the directory as response |
0 commit comments