epgstation_exporter

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2022 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.config.file=""  [EXPERIMENTAL] Path to configuration file that can enable TLS or authentication.
      --web.listen-address=":9112"
                            The address to listen on for HTTP requests.
      --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.
      --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