-
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.
* Make helm chart runnable * Fix envoy endpoint * init Dashboard * Initialized grafana dashboards * Extract istio envoy plugin in own helm-chart * Add release chart workflow * Change version * test * Add CR_SKIP_EXISTING: true * Added grafana provisioning setup * Added the grafana configuration to the helm chart. * Removed legacy grafana config files * Prepare for merge: Moved hawk service definition to deployment * Push to other repository * Change to master and set target directory to charts/ * Added all dashboards from the report and created config map. * Extended Readme and added Screenshots * Revert "Resolved merge confict" This reverts commit 602f512, reversing changes made to 3e15175. * Fixed helm deployment * Cleaned up grafana folder and extended the readme * Added Grafana to .helmignore * Realigned with working commit c0f4422 * Update README and add submodule for integrations * Add grafana configMap * Add `API_URL` to hawk-monitor --------- Co-authored-by: ciphersmaug <39407479+ciphersmaug@users.noreply.github.com>
- Loading branch information
1 parent
290c07a
commit 400e557
Showing
41 changed files
with
4,919 additions
and
551 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,49 +1,36 @@ | ||
name: Build and deploy to GitHub Packages | ||
name: Commit to Helm Charts Repository | ||
|
||
env: | ||
CHART_NAME: "hawk" | ||
|
||
|
||
on: | ||
push: | ||
tags: | ||
- '*.*.*' | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
push-to-repo: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Checkout source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Helm Installation | ||
uses: azure/setup-helm@v1.1 | ||
with: | ||
version: v3.7.0 | ||
- name: Package Helm Chart | ||
run: helm package . | ||
- name: Index packaged Helm chart | ||
run: helm repo index . | ||
- name: Commit and push to another repository | ||
run: | | ||
mkdir -p hawk-helm-charts/${{ env.CHART_NAME }} | ||
cp -r README.md values.yaml Chart.yaml Chart.lock templates .helmignore "hawk-helm-charts/${{ env.CHART_NAME }}" | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Hawk Helm Chart ${{ github.ref }} | ||
draft: false | ||
prerelease: true | ||
- name: Upload Package to Release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: '*.tgz' | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
file_glob: true | ||
- name: Upload Index to Release | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: index.yaml | ||
asset_name: index.yaml | ||
asset_content_type: application/x-yaml | ||
- name: Pushes to public repository | ||
id: push_directory | ||
uses: cpina/github-action-push-to-another-repository@ssh-deploy-key | ||
env: | ||
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} | ||
with: | ||
source-directory: hawk-helm-charts/${{ env.CHART_NAME }} | ||
destination-github-username: 'PrivacyEngineering' | ||
destination-repository-name: 'hawk-helm-charts' | ||
user-email: $GITHUB_ACTOR@users.noreply.github.com | ||
commit-message: pushed from $GITHUB_REF | ||
target-directory: charts/${{ env.CHART_NAME }} | ||
target-branch: master |
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 +1,3 @@ | ||
.idea | ||
.idea | ||
|
||
charts/ |
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,4 @@ | ||
[submodule "integrations/hawk-envoy-plugin"] | ||
path = integrations/hawk-envoy-plugin | ||
url = https://github.com/PrivacyEngineering/hawk-envoy-plugin.git | ||
branch = v2 |
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 |
---|---|---|
|
@@ -21,3 +21,4 @@ | |
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: postgresql | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 12.6.6 | ||
digest: sha256:eea00e724f08def137f8205b5a6170559a2ae6d8205be5cf3a713f8d1978c6ba | ||
generated: "2023-07-18T17:26:54.029647604+02:00" |
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
File renamed without changes.
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,33 @@ | ||
# Hawk Grafana Monitor | ||
|
||
The Hawk grafana dashboards enable capable privacy insights. | ||
|
||
We provide four dashboards in the hawk directory: | ||
- Dashboard | ||
- Service Graph | ||
- Field Details | ||
- Endpoint Details | ||
|
||
![Grafana folder structure screenshot](./images/folder-structure.png) | ||
|
||
## Dashboard screenshots | ||
### Overview | ||
This dashboard acts as a general overview over all hawk information. | ||
![Overview dashboard screenshot](./images/overview.png) | ||
|
||
### Service Graph | ||
This service graph shows all observed services and the amount of API Requests between them. | ||
![Service Graph dashboard screenshot](./images/service-graph.png) | ||
|
||
### Field Details | ||
This Dashboard shows detailed information on a specified field. | ||
Select a privacy related field on the top left. | ||
Click on an endpoint to open a detailed endpoint overview dashboard. | ||
![Field Details dashboard screenshot](./images/field-details.png) | ||
|
||
|
||
### Endpoints Details | ||
This dashboard shows the amount of requests of a specific endpoint over time. | ||
On the top right hand side, the time frame for this analysis is specified. | ||
On the top left, the graph can be updated for each existing endpoint. | ||
![Endpoints Details](./images/endpoint-details.png) |
Oops, something went wrong.