-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turbo, Pagination, Server side transformation and bug fixes (#616)
* adding turbo * post processing * pagination models * pagination frontend * bug fix for empty frame * server side transformations. Fixes #615 * release prep * fix linting errors * fixes
- Loading branch information
1 parent
c879e5d
commit edb1978
Showing
69 changed files
with
3,614 additions
and
589 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
const changelogFunctions = { | ||
getReleaseLine: async (changeset, type, options) => { | ||
let prefix = '🎉'; | ||
if (type === 'major') { | ||
prefix = '🎉'; | ||
} else if (type === 'minor') { | ||
prefix = '🚀'; | ||
} else if (type === 'patch') { | ||
prefix = '🐛'; | ||
} | ||
if (changeset && changeset.summary) { | ||
const summary = changeset.summary || ''; | ||
if (summary.indexOf('Docs') > -1) { | ||
prefix = '📝'; | ||
} | ||
if (summary.indexOf('Chore') > -1 || summary.indexOf('grafana-plugin-sdk-go') > -1 || summary.indexOf('compiled') > -1) { | ||
prefix = '⚙️'; | ||
} | ||
return [prefix, summary].join(' '); | ||
} | ||
return [prefix, changeset?.summary].join(' '); | ||
}, | ||
getDependencyReleaseLine: async (changesets, dependenciesUpdated, options) => { | ||
return '\n'; | ||
}, | ||
}; | ||
|
||
module.exports = changelogFunctions; |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
slug: '/wiki/transformations' | ||
title: 'Transformations' | ||
previous_page_title: 'CSV' | ||
previous_page_slug: '/wiki/csv' | ||
next_page_title: 'Global Queries' | ||
next_page_slug: '/wiki/global-queries' | ||
--- | ||
|
||
## Transformations | ||
|
||
Server side transformations are introduced in Infinity 2.0. You can perform basic data manipulation in the server side. | ||
|
||
To perform server side transformations, you need to add a query type of **transformations**. Once this added, **this will perform server side transformation over all the previous infinity queries with backend parser**. | ||
|
||
> **Warning**: Infinity Transformations/Server side transformations, are not available neither for non infinity datasources nor infinity queries with non-backend parsers. | ||
## Example | ||
|
||
![image](https://github.com/yesoreyeram/grafana-infinity-datasource/assets/153843/a3116cff-d5eb-4092-83bb-2ca17ec1f052#center) | ||
![image](https://github.com/yesoreyeram/grafana-infinity-datasource/assets/153843/bf8b5787-e8b2-4847-95a7-544aa2f4848e#center) | ||
|
||
## Supported transformations | ||
|
||
### Limit | ||
|
||
Limit transformation limits the number of result items rows in each query. | ||
|
||
### Filter Expression | ||
|
||
Filter the results based on column values in each query. | ||
|
||
### Computed Column | ||
|
||
Appends a new column based on expression | ||
|
||
### Summarize / Group by | ||
|
||
Group by results based on aggregation and dimension. | ||
|
||
## Notes | ||
|
||
> **Note**: All these transformations, are done post processing. ( once server responds with data, infinity backend client manipulates the data. ). If your API supports, such transformations on server side, use those instead of this. |
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
Oops, something went wrong.