list_prometheus_metric_names
Retrieve and filter metric names from a Prometheus datasource using regex patterns to identify specific monitoring metrics for analysis.
Instructions
List metric names in a Prometheus datasource. Retrieves all metric names and filters them using regex.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
datasourceUid | Yes | The UID of the datasource to query | |
limit | No | The maximum number of results to return | |
page | No | The page number to return | |
regex | No | The regex to match against the metric names |
Input Schema (JSON Schema)
{
"properties": {
"datasourceUid": {
"description": "The UID of the datasource to query",
"type": "string"
},
"limit": {
"description": "The maximum number of results to return",
"type": "number"
},
"page": {
"description": "The page number to return",
"type": "number"
},
"regex": {
"description": "The regex to match against the metric names",
"type": "string"
}
},
"required": [
"datasourceUid"
],
"type": "object"
}