-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for version 20200828-grafana6
- Loading branch information
Nicolas Ferrero
committed
Aug 28, 2020
1 parent
3295d3c
commit ec0c7ac
Showing
17 changed files
with
75 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,51 @@ | ||
# KairosDB enhanced Grafana data source plugin | ||
|
||
Description | ||
=========== | ||
|
||
This plugin gives access to a new data source called `KairosDB`. | ||
## Description | ||
|
||
This plugin gives front-end access to `KairosDB` data source within Grafana. | ||
|
||
Unlike the original plugin it has dynamic generation of query UI depending on the actual features available on the KairosDB server, such as group-by and aggregators, using the KairosDB `features` API. | ||
|
||
|
||
* Automatically proposes all features available on server | ||
* Entirely interactive query construction | ||
* Query construction UI is self documented (using mouse over) | ||
* Supports modifications of the features for existing queries | ||
* Include validation rules provided by the features API | ||
|
||
It allows you to build queries for `KairosDB` in a very intuitive way. | ||
|
||
It allows you to build queries for `KairosDB`. | ||
A query is the operation that fetches data from the database, executes some processing (aggregation,..), and returns the result in the form of time series. | ||
|
||
For more information about queries and Grafana please refer to the official Grafana documentation. | ||
For more information about queries and Grafana please refer to the official Grafana and KairosDB documentation. | ||
|
||
This code and binaries are provided as-is, with no warranty whatsoever, but you can reuse the source code, the license is permissive :-) | ||
|
||
## Installation | ||
|
||
This plugin needs to be extracted to the Grafana plugins directory. | ||
It cannot be installed through Grafana CLI. | ||
|
||
|
||
## Plugin releases mechanism | ||
|
||
Each release version is identified by the **version of Grafana** the plugin supports, followed by **the date** at which it has been generated. | ||
|
||
It is important to mention that the open source version of this plugin is automatically generated by C/I scripts. | ||
|
||
Issues and pull requests are welcome but will not be merged directly since this repository is a build artifact. | ||
|
||
We are welcoming comments, issues and even pull requests, even if pull requests cannot be merged directly. | ||
|
||
|
||
## Why is this repository a build artifact? | ||
|
||
Because we have built an extensive data processing plugin on top of KairosDB... Our software adds capabilities that would not work with a core KairosDB instance. | ||
|
||
Then developped a better plugin for our own software features from Grafana... And we really like the results, so we wanted to share this new plugin with the community, but without having to maintain two codebases. | ||
|
||
Therefore, this repository is automatically generated in C/I by removing specific features from our plugin and providing access to core KairosDB features. | ||
|
||
We hope you appreciate this work and we will share changes and new capabilities in the near future. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<div class="gf-form-query gf-form-group" ng-if="ctrl.datasource.initialized"> | ||
<ng-include src="'public/plugins/grafana-kairosdb-datasource/partials/metric.name.row.html'"></ng-include> | ||
<ng-include src="'public/plugins/grafana-kairosdb-datasource/partials/tags.editor.html'"></ng-include> | ||
<ng-include src="'public/plugins/grafana-kairosdb-datasource/partials/metric.time.override.html'" | ||
<ng-include src="'public/plugins/grafana-kairosdb-enhanced-datasource/partials/metric.name.row.html'"></ng-include> | ||
<ng-include src="'public/plugins/grafana-kairosdb-enhanced-datasource/partials/tags.editor.html'"></ng-include> | ||
<ng-include src="'public/plugins/grafana-kairosdb-enhanced-datasource/partials/metric.time.override.html'" | ||
ng-if="ctrl.datasource.type === 'grafana-skyminer-datasource'"></ng-include> | ||
<kairosdb-feature ng-if="ctrl.showFeatures()" | ||
<kairosdb-enhanced-feature ng-if="ctrl.showFeatures()" | ||
ng-repeat="feature in ctrl.features track by $index" | ||
template="feature" | ||
feature="ctrl.target.query.features[$index]" | ||
variables="ctrl.templateVariables" | ||
></kairosdb-feature> | ||
></kairosdb-enhanced-feature> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<ng-include src="'public/plugins/grafana-kairosdb-datasource/partials/metric.names.loading.html'" ng-if="!ctrl.datasource.initialized"></ng-include> | ||
<ng-include src="'public/plugins/grafana-kairosdb-enhanced-datasource/partials/metric.names.loading.html'" ng-if="!ctrl.datasource.initialized"></ng-include> | ||
<query-editor-row query-ctrl="ctrl" can-collapse="true" ng-if="ctrl.datasource.initialized"> | ||
<ng-include src="'public/plugins/grafana-kairosdb-datasource/partials/metric.name.row.html'"></ng-include> | ||
<ng-include src="'public/plugins/grafana-kairosdb-datasource/partials/tags.editor.html'"></ng-include> | ||
<ng-include src="'public/plugins/grafana-kairosdb-datasource/partials/metric.time.override.html'" | ||
<ng-include src="'public/plugins/grafana-kairosdb-enhanced-datasource/partials/metric.name.row.html'"></ng-include> | ||
<ng-include src="'public/plugins/grafana-kairosdb-enhanced-datasource/partials/tags.editor.html'"></ng-include> | ||
<ng-include src="'public/plugins/grafana-kairosdb-enhanced-datasource/partials/metric.time.override.html'" | ||
ng-if="ctrl.datasource.type === 'grafana-skyminer-datasource'"></ng-include> | ||
<kairosdb-feature ng-if="ctrl.showFeatures()" | ||
<kairosdb-enhanced-feature ng-if="ctrl.showFeatures()" | ||
ng-repeat="feature in ctrl.features track by $index" | ||
template="feature" | ||
feature="ctrl.target.query.features[$index]" | ||
variables="ctrl.templateVariables" | ||
></kairosdb-feature> | ||
></kairosdb-enhanced-feature> | ||
</query-editor-row> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters