No description
Find a file
dependabot[bot] 270f26b38e
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-08 07:29:55 +00:00
.github Bump actions/checkout from 3 to 4 2023-09-08 07:29:55 +00:00
.gitignore 🚚 Adjust naming for Docker Image 2022-11-04 21:10:15 +01:00
.goreleaser.yml 🚚 Adjust naming for Docker Image 2022-11-04 21:10:15 +01:00
collector.go fix memory leak 2022-12-08 00:59:50 +01:00
Dockerfile Bump alpine from 3.18.2 to 3.18.3 (#19) 2023-08-11 07:36:27 +00:00
go.mod Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 (#17) 2023-06-16 07:59:00 +00:00
go.sum Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 (#17) 2023-06-16 07:59:00 +00:00
LICENSE 🎉 Bootstrap project 2022-11-04 21:02:52 +01:00
main.go 🎉 Bootstrap project 2022-11-04 21:02:52 +01:00
README.md ✏️ Fix typo in README.md 2022-11-04 21:06:20 +01:00

prometheus-mastodon-exporter

Integration Quality Release

Prometheus Exporter for Mastodon written in Go.

Usage

go install github.com/systemli/prometheus-mastodon-exporter@latest
$GOPATH/bin/prometheus-mastodon-exporter -mastodon-url=https://mastodon.social

Commandline options

  -mastodon-url string
        Url from the Mastodon Instance (e.g.: https://mastodon.social)
  -web.listen-address string
        Address on which to expose metrics and web interface. (default ":13120")

Metrics

# HELP mastodon_domains Total number of known domains
# TYPE mastodon_domains gauge
mastodon_domains{host="mastodon.social"} 27289
# HELP mastodon_statuses Total number of all statuses
# TYPE mastodon_statuses gauge
mastodon_statuses{host="mastodon.social"} 4.0143351e+07
# HELP mastodon_users Total number of all users
# TYPE mastodon_users gauge
mastodon_users{host="mastodon.social"} 817561
# HELP mastodon_weekly_logins Total number of weekly logins
# TYPE mastodon_weekly_logins gauge
mastodon_weekly_logins{host="mastodon.social"} 34851
# HELP mastodon_weekly_registrations Total number of weekly registration
# TYPE mastodon_weekly_registrations gauge
mastodon_weekly_registrations{host="mastodon.social"} 281
# HELP mastodon_weekly_statuses Total number of weekly published statuses
# TYPE mastodon_weekly_statuses gauge
mastodon_weekly_statuses{host="mastodon.social"} 80742

Docker

docker run -p 13120:13120 systemli/prometheus-mastodon-exporter:latest -mastodon-url=https://mastodon.social

License

GPLv3