Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Latest commit

 

History

History
43 lines (36 loc) · 893 Bytes

README.md

File metadata and controls

43 lines (36 loc) · 893 Bytes

dtv-influx-exporter

A tiny tool to export statistics of DTV applications (Mirakurun, EPGStation).

Supports InfluxDB 2.x.

docker-compose.yml

version: '3.8'

services:
  mirakurun:
    # ...
  epgstation:
    # ...

  influxdb:
    container_name: InfluxDB
    image: influxdb:2.3
    restart: always
    volumes:
      - influxdb:/var/lib/influxdb

  dtv-influx-exporter:
    container_name: dtv-influx-exporter
    image: ghcr.io/slashnephy/dtv-influx-exporter:master
    restart: always
    environment:
      # メトリックの取得間隔 (秒)
      INTERVAL: 10
      # Mirakurun アドレス
      MIRAKURUN_ADDR: http://mirakurun:40772
      # EPGStation アドレス
      EPGSTATION_ADDR: http://epgstation:8888
      INFLUX_ADDR: http://influxdb:8086
      INFLUX_BUCKET: xxx
      INFLUX_ORG: org
      INFLUX_TOKEN: xxx

volumes:
  influxdb:
    local: driver