Plugins 〉Mock

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

0.1.1

  • Raw Frame - Raw frame editor now supports custom status codes and error messages
  • Annotations Editor - Enabled annotations editor
  • Chore - Backend compiled with latest go version 1.19.3
  • Plugin SDK - Grafana plugin SDK updated to v0.142.0

0.1.0

  • Initial version