Plugins 〉Static
Static
Static Data Source for Grafana
Introduction
The Static Data Source is a plugin for Grafana that allows to store and emulate your data.
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.
- Supports variables in the text fields.
- Uses Number input for Number, Date Time Picker for Time fields.
- Uses Text Area for String inputs with more than 100 symbols.
- Allows to temporary hide values for specific fields.
Documentation
Feedback
We love to hear from you. 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.
Grafana Cloud Pro
- $25 / user / month and includes a free trial for new users
- Available with a Grafana Cloud Pro plan
- Access to 1 Enterprise plugin
- Fully managed service (not available to self-manage)
Grafana Cloud Advanced / Grafana Enterprise
- Available with a Grafana Cloud Advanced plan or Grafana Enterprise license
- Access to all Enterprise plugins
- Run fully managed or self-manage on your own infrastructure
Installing Static on Grafana Cloud:
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
For more information, visit the docs on plugin installation.
Installing on a local Grafana:
For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.
1. Install the Data Source
Use the grafana-cli tool to install Static from the commandline:
grafana-cli plugins install
The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.
Alternatively, you can manually download the .zip file for your architecture below and unpack it into your grafana plugins directory.
Alternatively, you can manually download the .zip file and unpack it into your grafana plugins directory.
2. Configure the Data Source
Accessed from the Grafana main menu, newly installed data sources can be added immediately within the Data Sources section.
Next, click the Add data source button in the upper right. The data source will be available for selection in the Type select box.
To see a list of installed data sources, click the Plugins item in the main menu. Both core data sources and installed data sources will appear.
Changelog
2.1.0 (2022-12-29)
Breaking changes
Refactoring may introduce breaking changes. Please test before upgrading in Production.
Features / Enhancements
- Update CI to upload signed artifacts (#23)
- Add "Static data source for Grafana | Mimic any data source | Tutorial and examples" video in README (#23)
- Update to Grafana 9.3.2 (#24)
- Refactoring and improving Test Coverage for data source (#25)
- Update Field and Values Editors to labels and fields structure (#27)
- Remove Frame Reducer to simplify code (#28)
- Refactoring frame, field utilities (#29)
- Add Date Time Picker, Number and Text Area Inputs (#30)
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