Skip to content

DearRude/mastodon_exporter

Repository files navigation

mastodon_exporter

https://github.com/DearRude/mastodon_exporter/actions/workflows/build.yml/badge.svg https://github.com/DearRude/mastodon_exporter/actions/workflows/lint.yml/badge.svg https://img.shields.io/github/license/dearrude/mastodon_exporter.svg https://img.shields.io/github/last-commit/dearrude/mastodon_exporter.svg

Description

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.

Setup

From source

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

$ docker run ghcr.io/dearrude/mastodon_exporter:latest

Nix

To run:

$ nix run github.com/dearrude/mastodon_exporter

To set up development environment:

$ nix develop

Licence

AGPLv3+

About

A mastodon prometheus metrics exporter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages