Skip to main content
Glama
alilxxey

openobserve-community-mcp

get_dashboard

Retrieve dashboard definitions by ID from OpenObserve Community Edition to access and analyze monitoring data visualizations.

Instructions

Get a dashboard definition by id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dashboard_idYes
include_rawNo

Implementation Reference

  • The get_dashboard tool registration and handler implementation. It uses the OpenObserveClient to fetch the dashboard and then transforms the output using build_get_dashboard_result.
    @server.tool()
    def get_dashboard(dashboard_id: str, include_raw: bool = False) -> dict[str, Any]:
        """Get a dashboard definition by id."""
        client = client_provider.get()
        raw = client.get_dashboard(dashboard_id=dashboard_id)
        return build_get_dashboard_result(
            org_id=client.resolve_org_id(),
            dashboard_id=dashboard_id,
            raw=raw,
            include_raw=include_raw,
        )

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/alilxxey/openobserve-community-mcp'

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