Plugins 〉Mock


Developer
Grafana Labs

Sign up to receive occasional product news and updates:



Data Source
grafana

Mock

  • Overview
  • Installation
  • Change log
  • Related content

Grafana Mock datasource plugin

:warning: This datasource plugin is in beta. It is designed for validating various grafana compatibility issues. Don't use it in any production environments.

Grafana mock datasource plugin is an utility datasource plugin useful for grafana developers and grafana plugin developers. This plugin is used debug/simulate various scenarios related to plugins.

Develop locally

  • Clone the repo git clone https://github.com/grafana/mock-datasouce and cd mock-datasource
  • Install dependencies yarn install
  • Build the frontend yarn build or just yarn devto build without tests
  • Build the backend mage -v
  • Run the plugin locally docker-compose up or GR_VERSION=9.0.1 docker-compose up to specify the version.
  • Watch frontend changes yarn watch

Installing Mock on Grafana Cloud:

For more information, visit the docs on plugin installation.

Changelog

v0.1.9 - 2024-09-18

  • ⚙️ Chore: Updated dependencies

v0.1.8 - 2024-09-12

  • ⚙️ Chore: Updated dependencies

v0.1.7 - 2024-03-06

  • ⚙️ Chore: Updated golang version to 1.22.1
  • ⚙️ Chore: Updated plugin SDK to v0.212.0 from v0.162.0
  • ⚙️ Chore: Updated backend dependencies
  • ⚙️ Chore: Updated frontend dependencies
  • ⚙️ Chore: Updated create-plugin configuration yarn create @grafana/plugin update

v0.1.6 - 2023-12-20

  • ⚙️ Chore: Updated frontend dependencies

v0.1.5 - 2023-06-02

  • ⚙️ Chore: adding distributed tracing support
  • ⚙️ Chore: Updated grafana plugin SDK from v0.159.0 to v0.162.0

v0.1.4 - 2023-04-19

  • ⚙️ Chore: Backend binaries are now compiled with golang:1.20.3 which contain security fixes
  • ⚙️ Chore: Backend grafana SDK dependencies are updated

v0.1.3 - 2023-04-19

  • 🚀 Feature: Added support for typeVersion property in frame meta
  • ⚙️ Chore: Grafana plugin SDK updated to v0.148.0
  • ⚙️ Chore: Backend compiled with latest go version 1.19.5
  • ⚙️ Chore: Migrated build process from @grafana/toolkit to @grafana/create-plugin

v0.1.2 - 2022-12-13

  • ⚙️ Chore: Backend compiled with latest go version 1.19.4
  • ⚙️ Chore: Grafana plugin SDK updated to v0.145.0

v0.1.1 - 2022-11-11

  • 🚀 Feature: Raw frame editor now supports custom status codes and error messages
  • 🚀 Feature: Enabled annotations editor
  • ⚙️ Chore: Backend compiled with latest go version 1.19.3
  • ⚙️ Chore: Grafana plugin SDK updated to v0.142.0

v0.1.0 - 2022-10-20

  • Initial version