Skip to content

Commit

Permalink
Adding AWS Athena plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
amarouane-ABDELHAK committed Jun 17, 2024
1 parent f920738 commit 4a0a86f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grafana/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM --platform=arm64 grafana/grafana:latest

# List of plugins to install...
ENV GF_INSTALL_PLUGINS=grafana-x-ray-datasource
ENV GF_INSTALL_PLUGINS=grafana-x-ray-datasource,grafana-athena-datasource

ADD provisioning/. /usr/local/grafana/provisioning

ENV GF_PATHS_PROVISIONING=/usr/local/grafana/provisioning
ENV GF_PATHS_PROVISIONING=/usr/local/grafana/provisioning
12 changes: 12 additions & 0 deletions grafana/provisioning/datasources/athena.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: 1
datasources:
- name: Athena
type: grafana-athena-datasource
jsonData:
authType: default
defaultRegion: $AWS_REGION





2 changes: 2 additions & 0 deletions stacks/grafana.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def __init__(
else f"https://{distro.distribution_domain_name}"
),
}
print(f"<====> {settings.github_oauth_secret_name}")
print(settings.github_admin_group)
if settings.github_oauth_secret_name:
env.update(
self.github_oauth_settings(
Expand Down

0 comments on commit 4a0a86f

Please sign in to comment.