Section 2 · Common data sources

The Infinity data source for APIs and files.

Estimated time: 2 min

Infinity: Query any API or file

Install separately: Infinity is a plugin maintained by Grafana Labs that you install separately. It’s not included with Grafana by default.

Keep it current: On Grafana Cloud, plugins update automatically. On self-managed Grafana, check Plugins periodically so you don’t miss new features or fixes.

What it’s for: External data including REST APIs, JSON, CSV files, XML, and GraphQL endpoints.

Good to know

  • Queries REST APIs and files, parsing JSON, CSV, XML, and GraphQL responses
  • Supports multiple authentication methods for connecting to secured APIs
  • Installed as a plugin, with no separate collector to deploy
  • Because it queries external APIs, results depend on those APIs’ availability and rate limits, and you often shape the response yourself.

Best for

  • Third-party APIs (GitHub, Jira, etc.)
  • CSV/JSON data files
  • Custom internal APIs
  • Data not in traditional databases

Example Uses: GitHub stats, weather data, IoT platforms, internal service APIs


Set it up

Open this path in your Grafana Cloud stack for a fully interactive experience, or read through it to understand the process first. This path builds a dashboard from JSON data.

Learning path

Visualize JSON data

Welcome to the Grafana learning path that provides the best practice for creating a dashboard that visualizes JSON data using the Infinity data source.

15 min
Beginner
Docs & blog posts

Open in Grafana Cloud

Complete this learning path directly in your Grafana Cloud stack with an interactive learning experience.

Working with CSV files instead? Follow the Infinity CSV path.

Infinity: Query CSV data