---
title: "Mock data source plugin for Grafana"
description: "Grafana mock datasource. Mock data source plugin for Grafana by Grafana Labs. Available in Grafana Cloud and self-managed Grafana."
---

> This is the Markdown version of https://grafana.com/grafana/plugins/grafana-mock-datasource/

# Mock

- Developer: Grafana Labs
- Version: 0.2.5
- [Change log](https://grafana.com/grafana/plugins/grafana-mock-datasource/changelog.md)

# 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 `yarn dev` to watch frontend changes )
- Build the backend `mage -v`
- Run the plugin locally `docker compose up` or `GRAFANA_VERSION=10.4.8 docker compose up` to specify the grafana version
