Skip to main content

Static Data Source

Grafana 9 YouTube CI codecov

Introduction

The Static Data Source is a plugin for Grafana that allows to emulate your data to test and develop panels. It is a handy little tool that leads complex tasks to successful completion.

Requirements

  • Grafana 8.5+, Grafana 9.0+ is required for version 2.X.
  • Grafana 7.3+ is required for version 1.X.

Getting Started

The Static Data Source can be installed from the Grafana Catalog or use the grafana-cli tool to install from the command line:

grafana-cli plugins install marcusolsson-static-datasource

Features

  • Create static visualizations that don't depend on a specific data source.
  • Build custom query responses for testing or developing panel plugins.
  • Store data and images directly in the dashboard.

Screenshot

Provisioning

Grafana supports managing data sources by adding one or more YAML config files in the provisioning/datasources folder.

Example of provisioning the Static Data Source.

datasources:
- name: Static
type: marcusolsson-static-datasource
access: proxy
isDefault: true
orgId: 1
version: 1
editable: true

Feedback

We love to hear from users, developers, and the whole community interested in this plugin. These are various ways to get in touch with us:

  • Ask a question, request a new feature, and file a bug with GitHub issues.
  • Sponsor our open-source plugins for Grafana with GitHub Sponsor.
  • Star the repository to show your support.

License

  • Apache License Version 2.0, see LICENSE.