mirakurun_exporter

command module
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

README

Mirakurun Exporter

CI

Prometheus exporter for Mirakurun metrics. Pre-built binaries are available at the releases. Container images are available at the packages.

Usage

$ mirakurun_exporter -h
usage: mirakurun_exporter --exporter.mirakurun-url=EXPORTER.MIRAKURUN-URL [<flags>]

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:

$ mirakurun_exporter --exporter.mirakurun-url=http://localhost:40772/

Build

$ make build

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL