Skip to content

Commit 7634439

Browse files
committed
Initial Grafana dashboard
1 parent 0a27e29 commit 7634439

File tree

8 files changed

+1817
-0
lines changed

8 files changed

+1817
-0
lines changed

misc/grafana/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vendor/

misc/grafana/README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Grafana dashboard
2+
3+
This directory contains a Grafana dashboard for monitoring matrix-authentication-service.
4+
5+
It is defined using [jsonnet] and the [grafonnet] library.
6+
7+
## Usage
8+
9+
The built dashboard is available at `dashboard.json`.
10+
Import it into Grafana to start using it.
11+
12+
## Development and customization
13+
14+
Requirements:
15+
16+
- [go-jsonnet]
17+
- [jsonnet-bundler]
18+
19+
First install the dependencies using [jsonnet-bundler]:
20+
21+
```sh
22+
jb install
23+
```
24+
25+
Regenerate the dashboard using [go-jsonnet]:
26+
27+
```sh
28+
jsonnet -J vendor -o dashboard.json dashboard.libsonnet
29+
```
30+
31+
[jsonnet]: https://jsonnet.org/
32+
[go-jsonnet]: https://github.com/google/go-jsonnet
33+
[grafonnet]: https://github.com/grafana/grafonnet
34+
[jsonnet-bundler]: https://github.com/jsonnet-bundler/jsonnet-bundler

0 commit comments

Comments
 (0)