Skip to content

Conversation

@kissghosts
Copy link

@kissghosts kissghosts commented Oct 27, 2025

Add Custom Datasource Query Tool with Raw Data Support

Key Changes:

  1. Datasource Query Implementation: Added a general query tool that directly calls Grafana's /api/ds/query endpoint using HTTP requests
    • returns the complete monitoring data including meta info, actual metrics, and time series data (compatibility with all Grafana-supported datasource types)
    • Added more comprehensive descriptions for better tool discoverability
    • Not use the official Grafana OpenAPI client: QueryMetricsWithExpressionsWithParams method in grafana-openapi-client-go only returns metadata information without the actual monitoring data.
  2. Update parameter handling for searching datasource panel queries: the original one only supports Prometheus-style queries

@kissghosts kissghosts requested a review from a team as a code owner October 27, 2025 03:47
@CLAassistant
Copy link

CLAassistant commented Oct 27, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants