Socket
Socket
Sign inDemoInstall

github.com/ultram4rine/qbittorrent_exporter

Package Overview
Dependencies
11
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/ultram4rine/qbittorrent_exporter


Version published

Readme

Source

Prometheus qBittorrent exporter

A prometheus exporter for qBitorrent. Get metrics from a server and offers them in a prometheus format.

How to use it

- job_name: "qbittorrent_exporter"
  static_configs:
    - targets: ["yourqbittorrentexporter:port"]

The application reads configuration using environment variables:

Environment variableDefaultDescription
QBITTORRENT_ADDRhttp://localhost:8080qbittorrent server hostname
QBITTORRENT_USER""qbittorrent username
QBITTORRENT_PASS""qbittorrent password
EXPORTER_PORT9177Exporter listening port
METRICS_PREFIXqbittorrentPrefix to add to all the metrics

Metrics

These are the metrics this program exports, assuming the METRICS_PREFIX is qbittorrent:

Metric nameTypeDescription
qbittorrent_upgaugeWhether if the qBittorrent server is answering requests from this exporter. A version label with the server version is added
qbittorrent_connectedgaugeWhether if the qBittorrent server is connected to the Bittorrent network.
qbittorrent_firewalledgaugeWhether if the qBittorrent server is connected to the Bittorrent network but is behind a firewall.
qbittorrent_dht_nodesgaugeNumber of DHT nodes connected to
qbittorrent_dl_info_datacounterData downloaded since the server started, in bytes
qbittorrent_up_info_datacounterData uploaded since the server started, in bytes
qbittorrent_torrents_countgaugeNumber of torrents for each category and status. Example: qbittorrent_torrents_count{category="movies",status="downloading"}

Screenshot

Dashboard screenshot

More info

License

This software is released under the GPLv3 license.

FAQs

Last updated on 10 Oct 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc