Skip to main content
Glama

Grafana MCP Server

by levalhq

list_loki_label_names

Retrieve all available label names from Loki log data within a specified time range to identify and filter log entries effectively.

Instructions

Lists all available label names (keys) found in logs within a specified Loki datasource and time range

Input Schema

NameRequiredDescriptionDefault
datasourceUidYesThe UID of the datasource to query
endRfc3339NoThe end time of the query in RFC3339 format
startRfc3339NoThe start time of the query in RFC3339 format

Input Schema (JSON Schema)

{ "properties": { "datasourceUid": { "description": "The UID of the datasource to query", "type": "string" }, "endRfc3339": { "description": "The end time of the query in RFC3339 format", "type": "string" }, "startRfc3339": { "description": "The start time of the query in RFC3339 format", "type": "string" } }, "required": [ "datasourceUid" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/levalhq/mcp-grafana'

If you have feedback or need assistance with the MCP directory API, please join our Discord server