https://github.com/coord-e/epgstation_exporter
Prometheus exporter for EPGStation metrics
https://github.com/coord-e/epgstation_exporter
Last synced: 6 months ago
JSON representation
Prometheus exporter for EPGStation metrics
- Host: GitHub
- URL: https://github.com/coord-e/epgstation_exporter
- Owner: coord-e
- License: apache-2.0
- Created: 2022-09-25T10:46:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-19T01:59:43.000Z (over 2 years ago)
- Last Synced: 2025-07-14T11:46:18.816Z (7 months ago)
- Language: Go
- Homepage:
- Size: 99.6 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EPGStation Exporter
[](https://github.com/coord-e/epgstation_exporter/actions/workflows/ci.yml)
Prometheus exporter for [EPGStation](https://github.com/l3tnun/EPGStation/) metrics.
Pre-built binaries are available at [the releases](https://github.com/coord-e/epgstation_exporter/releases).
Container images are available at [the packages](https://github.com/coord-e?tab=packages&repo_name=epgstation_exporter).
## Usage
```console
$ epgstation_exporter -h
usage: epgstation_exporter --exporter.epgstation-url=EXPORTER.EPGSTATION-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=: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`:
```console
$ epgstation_exporter --exporter.epgstation-url=http://localhost:8888/
```
## Build
```console
$ make build
```