Mastodon exporter is a prometheus metric exporter for mastodon. It aims to both serve as a health checker and gather additional data about a mastodon instance.
mastodon_exporter is not still considered stable.
Have go 1.19
installed in your system.
Make a config file and fill the specified units. Alternatively, configurations can be passed in CLI flags or environment variables.
$ cp .env.sample .env
$ $EDITOR .env
$ go run .
$ docker run ghcr.io/dearrude/mastodon_exporter:latest
To run:
$ nix run github.com/dearrude/mastodon_exporter
To set up development environment:
$ nix develop
AGPLv3+