Plugins 〉Static

Data Source
community

Static

  • Overview
  • Installation
  • Change log
  • Related content

Static Data Source for Grafana

Screenshot

Grafana 9 CI codecov

Introduction

The Static Data Source is a plugin for Grafana that allows to emulate your data to test and develop panels.

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.

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.

Installing Static on Grafana Cloud:

For more information, visit the docs on plugin installation.

Changelog

2.0.0 (2022-11-01)

Features / Enhancements

  • Maintained by Volkov Labs (#19)
  • Updated based on Volkov Labs Panel Template (#19)
  • Update CI to Node 16 and Synchronize with Release workflow (#20)
  • Update to Grafana 9.2.2 (#21)
  • Refactor Components and update Theme (#22)

1.4.4 (2022-08-28)

Features / Enhancements

  • Update to Grafana 9.

1.4.3 (2021-09-03)

Features / Enhancements

  • Update dependencies

Bug fixes

  • Fix an issue where an fields and rows are added twice in development

1.4.2 (2021-07-08)

Features / Enhancements

  • Update metadata, docs, and dependencies

Bug fixes

  • Frame changes aren't being synced correctly

1.4.1 (2021-06-12)

Features / Enhancements

  • Minor docs and metadata updates
  • Changed from useState to useReducer for manipulating form model
  • Replace custom input component with Input from @grafana/ui

1.4.0 (2021-06-10)

Features / Enhancements

  • Add support for annotations
  • Add button for duplicating value rows
  • Add option to set preferred visualisation type for Explore

1.3.1 (2021-01-29)

Bug fixes

  • Set reference id on data frames

1.3.0 (2021-01-29)

Features / Enhancements

  • Update to new form styles. Bumps the minimum required Grafana version to 7.3.

1.2.1 (2020-11-27)

Features / Enhancements

  • Updated @grafana dependencies from ^7.0.0 to ^7.3.0
  • Improved release process using the new GitHub workflows for Grafana plugins