-
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.
Update depreciated
getBackendSrv().datasourceRequest
to`getBackendS…
…rv().fetch()` (#41) * Replace deprecated getBackendSrv().datasourceRequest to getBackendSrv().fetch() * Add tests for the new code * Remove console.log * Update Docker configuration * Format Co-authored-by: Mikhail <[email protected]>
- Loading branch information
Showing
8 changed files
with
228 additions
and
117 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
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,24 @@ | ||
version: '3.4' | ||
|
||
services: | ||
grafana: | ||
container_name: grafana | ||
image: grafana/grafana:master | ||
ports: | ||
- 3000:3000/tcp | ||
environment: | ||
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin | ||
- GF_AUTH_ANONYMOUS_ENABLED=true | ||
- GF_AUTH_BASIC_ENABLED=false | ||
- GF_ENABLE_GZIP=true | ||
- GF_USERS_DEFAULT_THEME=light | ||
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=redis-app,redis-datasource,redis-explorer-app | ||
# Uncomment to run in debug mode | ||
# - GF_LOG_LEVEL=debug | ||
volumes: | ||
- ../dist:/var/lib/grafana/plugins/redis-explorer-app | ||
- ../../grafana-redis-app:/var/lib/grafana/plugins/redis-app | ||
- ../../grafana-redis-datasource:/var/lib/grafana/plugins/redis-datasource | ||
- ../provisioning/plugins:/etc/grafana/provisioning/plugins | ||
# Uncomment to preserve Grafana configuration | ||
# - ./data:/var/lib/grafana |
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
Oops, something went wrong.