-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: provision redis plugin and redis datasource config
- Loading branch information
Showing
3 changed files
with
32 additions
and
1 deletion.
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,4 +1,4 @@ | ||
# Grafana options | ||
GF_SECURITY_ADMIN_USER=admin | ||
GF_SECURITY_ADMIN_PASSWORD=admin | ||
GF_INSTALL_PLUGINS= | ||
GF_INSTALL_PLUGINS=redis-app |
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,29 @@ | ||
# config file version | ||
apiVersion: 1 | ||
|
||
# list of datasources that should be deleted from the database | ||
deleteDatasources: | ||
- name: Redis | ||
orgId: 1 | ||
|
||
# list of datasources to insert/update depending | ||
# whats available in the database | ||
datasources: | ||
# <string, required> name of the datasource. Required | ||
- name: Redis | ||
# <string, required> datasource type. Required | ||
type: redis-datasource | ||
# <string, required> access mode. direct or proxy. Required | ||
access: proxy | ||
# <int> org id. will default to orgId 1 if not specified | ||
orgId: 1 | ||
# <string> url | ||
url: redis://redis:6379 | ||
version: 1 | ||
jsonData: | ||
client: standalone | ||
poolSize: 5 | ||
timeout: 10 | ||
pingInterval: 0 | ||
pipelineWindow: 0 | ||
editable: false |