https://github.com/slashnephy/mackerel-plugin-epgstation
A Mackerel plugin to collect EPGStation metrics
https://github.com/slashnephy/mackerel-plugin-epgstation
epgstation mackerel-plugin
Last synced: 5 months ago
JSON representation
A Mackerel plugin to collect EPGStation metrics
- Host: GitHub
- URL: https://github.com/slashnephy/mackerel-plugin-epgstation
- Owner: SlashNephy
- License: mit
- Created: 2023-01-30T14:26:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-01-28T06:52:56.000Z (over 1 year ago)
- Last Synced: 2025-03-28T09:22:19.636Z (about 1 year ago)
- Topics: epgstation, mackerel-plugin
- Language: Go
- Homepage:
- Size: 32.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mackerel-plugin-epgstation
A Mackerel plugin to collect EPGStation metrics
## Example Metrics
```console
$ mackerel-plugin-epgstation
epgstation.recording.recording 1 1675135687
epgstation.encode.running 0 1675135687
epgstation.encode.waiting 0 1675135687
epgstation.storages.available 65423953920 1675135687
epgstation.storages.used 3671338823680 1675135687
epgstation.storages.total 3936818806784 1675135687
epgstation.streams.live_stream 0 1675135687
epgstation.streams.live_hls 0 1675135687
epgstation.streams.recorded_stream 0 1675135687
epgstation.streams.recorded_hls 0 1675135687
epgstation.reservation.normal 751 1675135687
epgstation.reservation.skips 0 1675135687
epgstation.reservation.overlaps 82 1675135687
epgstation.reservation.conflicts 0 1675135687
```
## Usage
1. Install via mkr / or download releases directly
```console
$ mkr plugin install SlashNephy/mackerel-plugin-epgstation
```
2. Append following configuration to `mackerel-agent.conf`
```conf
[plugin.metrics.epgstation]
command = "/opt/mackerel-agent/plugins/bin/mackerel-plugin-epgstation"
```
mackerel-plugin-epgstation has some command-line options. Check the help for details.
```console
$ /opt/mackerel-agent/plugins/bin/mackerel-plugin-epgstation --help
```