forked from grafana/jsonnet-libs
-
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.
* Add Caddy mixin * Fix lint * Remove unecessary space * Add extra line at the end
- Loading branch information
1 parent
01397a7
commit b005c29
Showing
4 changed files
with
720 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Caddy Mixin | ||
|
||
The Caddy Mixin is a set of configurable, reusable, and extensible | ||
dashboards. | ||
|
||
To use them, you need to have `mixtool` and `jsonnetfmt` installed. If you | ||
have a working Go development environment, it's easiest to run the following: | ||
```bash | ||
$ go get github.com/monitoring-mixins/mixtool/cmd/mixtool | ||
$ go get github.com/google/go-jsonnet/cmd/jsonnetfmt | ||
``` | ||
|
||
You can then build the Prometheus rules files `alerts.yaml` and | ||
`rules.yaml` and a directory `dashboard_out` with the JSON dashboard files | ||
for Grafana: | ||
```bash | ||
$ make build | ||
``` | ||
|
||
For more advanced uses of mixins, see | ||
https://github.com/monitoring-mixins/docs. |
Oops, something went wrong.