https://github.com/coord-e/mirakurun_exporter
Prometheus exporter for Mirakurun metrics
https://github.com/coord-e/mirakurun_exporter
Last synced: 4 months ago
JSON representation
Prometheus exporter for Mirakurun metrics
- Host: GitHub
- URL: https://github.com/coord-e/mirakurun_exporter
- Owner: coord-e
- License: apache-2.0
- Created: 2021-08-31T15:41:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-19T21:59:08.000Z (over 2 years ago)
- Last Synced: 2025-09-11T17:55:53.169Z (5 months ago)
- Language: Go
- Homepage:
- Size: 125 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mirakurun Exporter
[](https://github.com/coord-e/mirakurun_exporter/actions/workflows/ci.yml)
Prometheus exporter for [Mirakurun](https://github.com/Chinachu/Mirakurun) metrics.
Pre-built binaries are available at [the releases](https://github.com/coord-e/mirakurun_exporter/releases).
Container images are available at [the packages](https://github.com/coord-e?tab=packages&repo_name=mirakurun_exporter).
## Usage
```console
$ mirakurun_exporter -h
usage: mirakurun_exporter --exporter.mirakurun-url=EXPORTER.MIRAKURUN-URL []
Flags:
-h, --help Show context-sensitive help (also try --help-long and --help-man).
--web.systemd-socket Use systemd socket activation listeners instead of port listeners (Linux
only).
--web.listen-address=:9110 ...
Addresses on which to expose metrics and web interface. Repeatable for
multiple addresses.
--web.config.file="" [EXPERIMENTAL] Path to configuration file that can enable TLS or
authentication.
--web.telemetry-path="/metrics"
Path under which to expose metrics.
--exporter.mirakurun-url=EXPORTER.MIRAKURUN-URL
URL of the Mirakurun instance.
--exporter.status Whether to export metrics from /api/status.
--exporter.tuners Whether to export metrics from /api/tuners.
--exporter.programs Whether to export metrics from /api/programs.
--exporter.services Whether to export metrics from /api/services.
--log.level=info Only log messages with the given severity or above. One of: [debug, info, warn, error]
--log.format=logfmt Output format of log messages. One of: [logfmt, json]
--version Show application version.
```
### Example
To run against a Mirakurun instance running at `localhost:40772`:
```console
$ mirakurun_exporter --exporter.mirakurun-url=http://localhost:40772/
```
## Build
```console
$ make build
```