Skip to main content
Glama

Grafana MCP Server

by levalhq

fetch_pyroscope_profile

Retrieve performance profiling data from Pyroscope for specified time ranges and criteria to analyze application performance and identify bottlenecks.

Instructions

Fetches a profile from a Pyroscope data source for a given time range

Input Schema

NameRequiredDescriptionDefault
data_source_uidYesThe UID of the datasource to query
end_rfc_3339NoEnd time in RFC3339 format
matchersNoPrometheus-style matchers
max_node_depthNoMaximum depth of nodes in the profile
profile_typeYesProfile type to fetch
start_rfc_3339NoStart time in RFC3339 format

Input Schema (JSON Schema)

{ "properties": { "data_source_uid": { "description": "The UID of the datasource to query", "type": "string" }, "end_rfc_3339": { "description": "End time in RFC3339 format", "type": "string" }, "matchers": { "description": "Prometheus-style matchers", "type": "string" }, "max_node_depth": { "description": "Maximum depth of nodes in the profile", "type": "number" }, "profile_type": { "description": "Profile type to fetch", "type": "string" }, "start_rfc_3339": { "description": "Start time in RFC3339 format", "type": "string" } }, "required": [ "data_source_uid", "profile_type" ], "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