Giter Club home page Giter Club logo

prometheus-qbittorrent-exporter's Introduction

Prometheus QBittorrent Exporter

Prometheus Exporter for QBittorrent torrent client.

Metrics

Next metrics are reported by this exporter:

Metric name Type Description
qbittorrent_status gauge Current status (connected/not connected) of QBittorrent instance
qbittorrent_dht_nodes_total gauge Number of DHT nodes, connected to
qbittorrent_downloaded_bytes counter Data downloaded since the server started, in bytes
qbittorrent_uploaded_bytes counter Data uploaded since the server started, in bytes
qbittorrent_torrent_category_total gauge Number of torrents for each category and status.

Installation

Arch Linux

  • Download release package
  • Extract the content: tar -xvzf prometheus-qbittorrent-exporter.tar.gz
  • Build and install: makepkg -si
  • (Optional) Enable bundled systemd service to autostart exporter service on boot: sudo systemctl enable --now prometheus-qbittorrent-exporter.service

Configuration

This exporter is primarily configured via CLI arguments:

--exporter-port <EXPORTER_PORT>                [default: 7071]
--qbittorrent-endpoint <QBITTORRENT_ENDPOINT>  [default: http://localhost:8080/]
--qbittorrent-username <QBITTORRENT_USERNAME>  [default: admin]
--qbittorrent-password <QBITTORRENT_PASSWORD>  [default: adminadmin]

In standard installation any of the required CLI arguments can be passed via /etc/conf.d/prometheus-qbittorrent-exporter environment file (see prometheus-qbittorrent-exporter.service systemd service for more details).

Additionally, exporter log level can be configured via RUST_LOG environment variable (see env_logger documentation for more info).

Similar projects

This project is heavily inspired by https://github.com/esanchezm/prometheus-qbittorrent-exporter.

Also, it would not possible without next libraries:

prometheus-qbittorrent-exporter's People

Contributors

dikoval avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.