Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Vitaly Zhuravlev 2cd1479e77
Add grafana gitea-mixin (#17758)
vor 2 Jahren
..
dashboards Add grafana gitea-mixin (#17758) vor 2 Jahren
lib Add grafana gitea-mixin (#17758) vor 2 Jahren
.gitignore Add grafana gitea-mixin (#17758) vor 2 Jahren
Makefile Add grafana gitea-mixin (#17758) vor 2 Jahren
README.md Add grafana gitea-mixin (#17758) vor 2 Jahren
config.libsonnet Add grafana gitea-mixin (#17758) vor 2 Jahren
jsonnetfile.json Add grafana gitea-mixin (#17758) vor 2 Jahren
jsonnetfile.lock.json Add grafana gitea-mixin (#17758) vor 2 Jahren
mixin.libsonnet Add grafana gitea-mixin (#17758) vor 2 Jahren

README.md

Gitea Mixin

Gitea Mixin is a set of configurable Grafana dashboards based on the metrics exported by the Gitea built-in metrics endpoint.

Generate config files

You can manually generate dashboards, but first you should install some tools:

go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
go install github.com/google/go-jsonnet/cmd/jsonnet@latest
# or in brew: brew install go-jsonnet

For linting and formatting, you would also need mixtool and jsonnetfmt installed. If you have a working Go development environment, it’s easiest to run the following:

go install github.com/monitoring-mixins/mixtool/cmd/mixtool@latest
go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest

The files in dashboards_out need to be imported into your Grafana server. The exact details will be depending on your environment.

Edit config.libsonnet if required and then build JSON dashboard files for Grafana:

make

For more advanced uses of mixins, see https://github.com/monitoring-mixins/docs.