epgstation_exporter

command module
v0.1.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

EPGStation Exporter

ci

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

Usage

$ epgstation_exporter -h
usage: epgstation_exporter --exporter.epgstation-url=EXPORTER.EPGSTATION-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=:9112 ...
                                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.epgstation-url=EXPORTER.EPGSTATION-URL
                                URL of the EPGStation instance.
      --exporter.version        Whether to export metrics from /api/version.
      --exporter.channels       Whether to export metrics from /api/channels.
      --exporter.schedules      Whether to export metrics from /api/schedules.
      --exporter.storages       Whether to export metrics from /api/storages.
      --exporter.streams        Whether to export metrics from /api/streams.
      --exporter.encode         Whether to export metrics from /api/encode.
      --exporter.reserves-cnts  Whether to export metrics from /api/reserves/cnts.
      --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 EPGStation instance running at localhost:8888:

$ epgstation_exporter --exporter.epgstation-url=http://localhost:8888/

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