Plugins docs (#21826)
* mostly minor edits while reading * Update docs/sources/plugins/developing/development.md * Update docs/sources/plugins/developing/apps.md * Update docs/sources/plugins/developing/development.md * Update docs/sources/plugins/developing/development.md * Update docs/sources/plugins/developing/development.md * Update docs/sources/plugins/developing/development.md * Update docs/sources/plugins/developing/development.md * notes updates * Update docs/sources/plugins/developing/development.md Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * update to ref tutorials Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
This commit is contained in:
@@ -17,8 +17,12 @@ time series data so that any grafana panel can then show it.
|
||||
## Data source development
|
||||
|
||||
> Our goal is not to have a very extensive documentation but rather have actual
|
||||
> code that people can look at. An example implementation of a data source can be
|
||||
> found in this [example data source repo](https://github.com/grafana/simple-json-datasource)
|
||||
> code that people can look at. Example implementations of a data source can be
|
||||
> found in these repos:
|
||||
|
||||
> - [simple-json-datasource](https://github.com/grafana/simple-json-datasource)
|
||||
> - [simple-datasource](https://github.com/grafana/simple-datasource)
|
||||
> - [simple-json-backend-datasource](https://github.com/grafana/simple-json-backend-datasource)
|
||||
|
||||
To interact with the rest of grafana the plugins module file can export 4 different components.
|
||||
|
||||
@@ -169,7 +173,6 @@ Expected result from datasource.annotationQuery:
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
## QueryCtrl
|
||||
|
||||
A JavaScript class that will be instantiated and treated as an Angular controller when the user edits metrics in a panel. This class has to inherit from the `app/plugins/sdk.QueryCtrl` class.
|
||||
|
||||
Reference in New Issue
Block a user