Skip to main content
Glama

get_loki_labels

Retrieve all available label names from a Loki datasource to enable precise log filtering and analysis in Grafana.

Instructions

Get all label names available in a Loki datasource

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datasourceUidYesThe Loki datasource UID
startNoStart time (RFC3339 or Unix timestamp)
endNoEnd time (RFC3339 or Unix timestamp)

Latest Blog Posts

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/quanticsoul4772/grafana-mcp'

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