-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4994 from consideRatio/pr/dashboards-dev
AWS cost attribution: distinguish total costs for attributable costs and the AWS account's total
- Loading branch information
Showing
5 changed files
with
85 additions
and
39 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,21 @@ | ||
# About these grafana dashboard files | ||
|
||
These are dashboard definitions as jsonnet templates. They are deployed using a | ||
Python script from https://github.com/jupyterhub/grafana-dashboard, which can be | ||
done via the deployer command: | ||
|
||
```bash | ||
deployer grafana deploy-dashboards $CLUSTER_NAME | ||
``` | ||
|
||
Running this command has a pre-requisite that you have jsonnet installed, | ||
specifically the jsonnet binary built using golang called go-jsonnet. | ||
|
||
To just render the jsonnet templates, which is relevant during development, you | ||
can: | ||
|
||
1. Clone https://github.com/jupyterhub/grafana-dashboard somewhere | ||
2. Go to that folder, and then run something like: | ||
```bash | ||
jsonnet -J vendor /some/path/2i2c-org/infrastructure/grafana-dashboards/cloud-cost-aws.jsonnet | ||
``` |
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