Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions misc/grafana/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor/
34 changes: 34 additions & 0 deletions misc/grafana/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Grafana dashboard

This directory contains a Grafana dashboard for monitoring matrix-authentication-service.

It is defined using [jsonnet] and the [grafonnet] library.

## Usage

The built dashboard is available at `dashboard.json`.
Import it into Grafana to start using it.

## Development and customization

Requirements:

- [go-jsonnet]
- [jsonnet-bundler]

First install the dependencies using [jsonnet-bundler]:

```sh
jb install
```

Regenerate the dashboard using [go-jsonnet]:

```sh
jsonnet -J vendor -o dashboard.json dashboard.libsonnet
```

[jsonnet]: https://jsonnet.org/
[go-jsonnet]: https://github.com/google/go-jsonnet
[grafonnet]: https://github.com/grafana/grafonnet
[jsonnet-bundler]: https://github.com/jsonnet-bundler/jsonnet-bundler
Loading
Loading