Menu
Open source
Visualize GraphQL with Infinity
Visualize data from your GraphQL APIs using infinity data source plugin
📊 Overview
With the infinity datasource, you can also scrap data from any GraphQL endpoints. This works exactly same way as JSON api. Instead of using GET
method used by JSON
api, this uses POST
method with a body.
Give it a try using Grafana Play
With Grafana Play, you can explore and see how it works, learning from practical examples to accelerate your development. This feature can be seen on Infinity plugin GraphQL demo.
For example, consider the below GraphQL Endpoint. This returns list of countries and their calling codes.
With our plugin, we are going to list the above data as table with country name and calling code(1st calling code).
As shown in the above image, you need to specify the URL and fields you need. Next to the URL, you can see advanced options (expand icon) where you can enter your query as shown below
graphql
{
countries {
name
continent {
name
}
}
}
Make sure to choose POST
method when using the graphql
api.
Was this page helpful?
Related documentation
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video
Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.
Video
Grafana plugins demo: GitHub, GitLab, JIRA, ServiceNow, and more
In this webinar, we'll show you how to use Grafana to unlock these insights and have better visibility into the performance of your software development team.
Video
All about Grafana plugins: Visualizing disparate data sources in one place
Grafana Enterprise plugins are integrations with other commercial monitoring tools (such as Datadog, Splunk, New Relic, ServiceNow, Oracle, and Dynatrace) that are created, maintained, and supported by the Grafana Labs team.