Prometheus exporter for the Deluge BitTorrent client.
- Python 3
- prometheus_client
- deluge-client
The exporter only supports Deluge 2. For Deluge 1.3.x, see the v1.0 tag.
The project is generally considered complete. However, there are a number of areas that could be improved, and contributions are welcome. Some areas that could use improvements are:
- Packaging: There are currently no packaging scripts nor PyPI packages
PER_TORRENT_METRICS
: Per-torrent metrics are disabled by default. Set this environment variable to1
to enable. Note that this may significantly increase the number of time series (depending on the number of torrents in your Deluge instances).LISTEN_PORT
: The port the exporter should listen on. The default is9354
.LISTEN_ADDRESS
: The address the exporter should listen on. The default is to listen on all addresses.LOG_LEVEL
:ERROR
/INFO
/DEBUG
. Defaults toERROR
if empty or unspecified.
There are two options for configuring the Deluge connection details: to specify them explicitly, or to let the exporter read them from the Deluge configuration files.
Set all of the following environment variables:
DELUGE_HOST
: The host where Deluge is running.DELUGE_PORT
: The port on which Deluge is listening.DELUGE_USER
: The username to use when authenticating.DELUGE_PASSWORD
: The password to use when authenticating.
If not all of the environment variables listed in the previous section are set, the exporter will automatically attempt to read the connection details from Deluge's configuration files (for the current user).
The following environment variables can be used to customize the behaviour:
DELUGE_CONFIG_DIR
: The directory to read the configuration files from. The default is~/.config/deluge
on Linux and%APPDATA%\deluge
on Windows.DELUGE_HOST
: Override the the host to connect to.
A docker image is available on Docker Hub and GitHub Container Registry.
Passing configuration using environment variables:
docker run -e "DELUGE_HOST=172.17.0.1" -e "DELUGE_PORT=58846" -e "DELUGE_USER=user" -e "DELUGE_PASSWORD=password" -v /etc/deluge:/root/.config/deluge/ -p 9354:9354 tobbez/deluge_exporter:latest
Or passing the deluge config directory into the container, for example:
docker run -e "DELUGE_HOST=172.17.0.1" -v /etc/deluge:/root/.config/deluge/ -p 9354:9354 tobbez/deluge_exporter:latest
On Windows, a service can be created by running the following with Administrator privileges:
sc create deluge_exporter binPath= "C:\path\to\python.exe C:\path\to\deluge_exporter_windows_service.py start" obj= .\USERNAME password= PASSWORD displayname= deluge_exporter start= auto
For details about the libtorrent session metrics, see the libtorrent manual.
Name | Type | Description |
---|---|---|
deluge_libtorrent_dht_dht_allocated_observers | gauge | libtorrent metric dht.dht_allocated_observers |
deluge_libtorrent_dht_dht_announce_peer_in_total | counter | libtorrent metric dht.dht_announce_peer_in |
deluge_libtorrent_dht_dht_announce_peer_out_total | counter | libtorrent metric dht.dht_announce_peer_out |
deluge_libtorrent_dht_dht_bytes_in_total | counter | libtorrent metric dht.dht_bytes_in |
deluge_libtorrent_dht_dht_bytes_out_total | counter | libtorrent metric dht.dht_bytes_out |
deluge_libtorrent_dht_dht_find_node_in_total | counter | libtorrent metric dht.dht_find_node_in |
deluge_libtorrent_dht_dht_find_node_out_total | counter | libtorrent metric dht.dht_find_node_out |
deluge_libtorrent_dht_dht_get_in_total | counter | libtorrent metric dht.dht_get_in |
deluge_libtorrent_dht_dht_get_out_total | counter | libtorrent metric dht.dht_get_out |
deluge_libtorrent_dht_dht_get_peers_in_total | counter | libtorrent metric dht.dht_get_peers_in |
deluge_libtorrent_dht_dht_get_peers_out_total | counter | libtorrent metric dht.dht_get_peers_out |
deluge_libtorrent_dht_dht_immutable_data | gauge | libtorrent metric dht.dht_immutable_data |
deluge_libtorrent_dht_dht_invalid_announce_total | counter | libtorrent metric dht.dht_invalid_announce |
deluge_libtorrent_dht_dht_invalid_find_node_total | counter | libtorrent metric dht.dht_invalid_find_node |
deluge_libtorrent_dht_dht_invalid_get_total | counter | libtorrent metric dht.dht_invalid_get |
deluge_libtorrent_dht_dht_invalid_get_peers_total | counter | libtorrent metric dht.dht_invalid_get_peers |
deluge_libtorrent_dht_dht_invalid_put_total | counter | libtorrent metric dht.dht_invalid_put |
deluge_libtorrent_dht_dht_invalid_sample_infohashes_total | counter | libtorrent metric dht.dht_invalid_sample_infohashes |
deluge_libtorrent_dht_dht_messages_in_total | counter | libtorrent metric dht.dht_messages_in |
deluge_libtorrent_dht_dht_messages_in_dropped_total | counter | libtorrent metric dht.dht_messages_in_dropped |
deluge_libtorrent_dht_dht_messages_out_total | counter | libtorrent metric dht.dht_messages_out |
deluge_libtorrent_dht_dht_messages_out_dropped_total | counter | libtorrent metric dht.dht_messages_out_dropped |
deluge_libtorrent_dht_dht_mutable_data | gauge | libtorrent metric dht.dht_mutable_data |
deluge_libtorrent_dht_dht_node_cache | gauge | libtorrent metric dht.dht_node_cache |
deluge_libtorrent_dht_dht_nodes | gauge | libtorrent metric dht.dht_nodes |
deluge_libtorrent_dht_dht_peers | gauge | libtorrent metric dht.dht_peers |
deluge_libtorrent_dht_dht_ping_in_total | counter | libtorrent metric dht.dht_ping_in |
deluge_libtorrent_dht_dht_ping_out_total | counter | libtorrent metric dht.dht_ping_out |
deluge_libtorrent_dht_dht_put_in_total | counter | libtorrent metric dht.dht_put_in |
deluge_libtorrent_dht_dht_put_out_total | counter | libtorrent metric dht.dht_put_out |
deluge_libtorrent_dht_dht_sample_infohashes_in_total | counter | libtorrent metric dht.dht_sample_infohashes_in |
deluge_libtorrent_dht_dht_sample_infohashes_out_total | counter | libtorrent metric dht.dht_sample_infohashes_out |
deluge_libtorrent_dht_dht_torrents | gauge | libtorrent metric dht.dht_torrents |
deluge_libtorrent_disk_arc_mfu_ghost_size | gauge | libtorrent metric disk.arc_mfu_ghost_size |
deluge_libtorrent_disk_arc_mfu_size | gauge | libtorrent metric disk.arc_mfu_size |
deluge_libtorrent_disk_arc_mru_ghost_size | gauge | libtorrent metric disk.arc_mru_ghost_size |
deluge_libtorrent_disk_arc_mru_size | gauge | libtorrent metric disk.arc_mru_size |
deluge_libtorrent_disk_arc_volatile_size | gauge | libtorrent metric disk.arc_volatile_size |
deluge_libtorrent_disk_arc_write_size | gauge | libtorrent metric disk.arc_write_size |
deluge_libtorrent_disk_blocked_disk_jobs | gauge | libtorrent metric disk.blocked_disk_jobs |
deluge_libtorrent_disk_disk_blocks_in_use | gauge | libtorrent metric disk.disk_blocks_in_use |
deluge_libtorrent_disk_disk_hash_time_total | counter | libtorrent metric disk.disk_hash_time |
deluge_libtorrent_disk_disk_job_time_total | counter | libtorrent metric disk.disk_job_time |
deluge_libtorrent_disk_disk_read_time_total | counter | libtorrent metric disk.disk_read_time |
deluge_libtorrent_disk_disk_write_time_total | counter | libtorrent metric disk.disk_write_time |
deluge_libtorrent_disk_num_blocks_cache_hits_total | counter | libtorrent metric disk.num_blocks_cache_hits |
deluge_libtorrent_disk_num_blocks_hashed_total | counter | libtorrent metric disk.num_blocks_hashed |
deluge_libtorrent_disk_num_blocks_read_total | counter | libtorrent metric disk.num_blocks_read |
deluge_libtorrent_disk_num_blocks_written_total | counter | libtorrent metric disk.num_blocks_written |
deluge_libtorrent_disk_num_fenced_check_fastresume | gauge | libtorrent metric disk.num_fenced_check_fastresume |
deluge_libtorrent_disk_num_fenced_clear_piece | gauge | libtorrent metric disk.num_fenced_clear_piece |
deluge_libtorrent_disk_num_fenced_delete_files | gauge | libtorrent metric disk.num_fenced_delete_files |
deluge_libtorrent_disk_num_fenced_file_priority | gauge | libtorrent metric disk.num_fenced_file_priority |
deluge_libtorrent_disk_num_fenced_flush_hashed | gauge | libtorrent metric disk.num_fenced_flush_hashed |
deluge_libtorrent_disk_num_fenced_flush_piece | gauge | libtorrent metric disk.num_fenced_flush_piece |
deluge_libtorrent_disk_num_fenced_flush_storage | gauge | libtorrent metric disk.num_fenced_flush_storage |
deluge_libtorrent_disk_num_fenced_hash | gauge | libtorrent metric disk.num_fenced_hash |
deluge_libtorrent_disk_num_fenced_load_torrent | gauge | libtorrent metric disk.num_fenced_load_torrent |
deluge_libtorrent_disk_num_fenced_move_storage | gauge | libtorrent metric disk.num_fenced_move_storage |
deluge_libtorrent_disk_num_fenced_read | gauge | libtorrent metric disk.num_fenced_read |
deluge_libtorrent_disk_num_fenced_release_files | gauge | libtorrent metric disk.num_fenced_release_files |
deluge_libtorrent_disk_num_fenced_rename_file | gauge | libtorrent metric disk.num_fenced_rename_file |
deluge_libtorrent_disk_num_fenced_save_resume_data | gauge | libtorrent metric disk.num_fenced_save_resume_data |
deluge_libtorrent_disk_num_fenced_stop_torrent | gauge | libtorrent metric disk.num_fenced_stop_torrent |
deluge_libtorrent_disk_num_fenced_tick_storage | gauge | libtorrent metric disk.num_fenced_tick_storage |
deluge_libtorrent_disk_num_fenced_trim_cache | gauge | libtorrent metric disk.num_fenced_trim_cache |
deluge_libtorrent_disk_num_fenced_write | gauge | libtorrent metric disk.num_fenced_write |
deluge_libtorrent_disk_num_jobs | gauge | libtorrent metric disk.num_jobs |
deluge_libtorrent_disk_num_read_back_total | counter | libtorrent metric disk.num_read_back |
deluge_libtorrent_disk_num_read_jobs | gauge | libtorrent metric disk.num_read_jobs |
deluge_libtorrent_disk_num_read_ops_total | counter | libtorrent metric disk.num_read_ops |
deluge_libtorrent_disk_num_running_disk_jobs | gauge | libtorrent metric disk.num_running_disk_jobs |
deluge_libtorrent_disk_num_running_threads | gauge | libtorrent metric disk.num_running_threads |
deluge_libtorrent_disk_num_write_jobs | gauge | libtorrent metric disk.num_write_jobs |
deluge_libtorrent_disk_num_write_ops_total | counter | libtorrent metric disk.num_write_ops |
deluge_libtorrent_disk_num_writing_threads | gauge | libtorrent metric disk.num_writing_threads |
deluge_libtorrent_disk_pinned_blocks | gauge | libtorrent metric disk.pinned_blocks |
deluge_libtorrent_disk_queued_disk_jobs | gauge | libtorrent metric disk.queued_disk_jobs |
deluge_libtorrent_disk_queued_write_bytes | gauge | libtorrent metric disk.queued_write_bytes |
deluge_libtorrent_disk_read_cache_blocks | gauge | libtorrent metric disk.read_cache_blocks |
deluge_libtorrent_disk_request_latency | gauge | libtorrent metric disk.request_latency |
deluge_libtorrent_disk_write_cache_blocks | gauge | libtorrent metric disk.write_cache_blocks |
deluge_libtorrent_net_has_incoming_connections | gauge | libtorrent metric net.has_incoming_connections |
deluge_libtorrent_net_limiter_down_bytes | gauge | libtorrent metric net.limiter_down_bytes |
deluge_libtorrent_net_limiter_down_queue | gauge | libtorrent metric net.limiter_down_queue |
deluge_libtorrent_net_limiter_up_bytes | gauge | libtorrent metric net.limiter_up_bytes |
deluge_libtorrent_net_limiter_up_queue | gauge | libtorrent metric net.limiter_up_queue |
deluge_libtorrent_net_on_accept_counter_total | counter | libtorrent metric net.on_accept_counter |
deluge_libtorrent_net_on_disk_counter_total | counter | libtorrent metric net.on_disk_counter |
deluge_libtorrent_net_on_disk_queue_counter_total | counter | libtorrent metric net.on_disk_queue_counter |
deluge_libtorrent_net_on_lsd_counter_total | counter | libtorrent metric net.on_lsd_counter |
deluge_libtorrent_net_on_lsd_peer_counter_total | counter | libtorrent metric net.on_lsd_peer_counter |
deluge_libtorrent_net_on_read_counter_total | counter | libtorrent metric net.on_read_counter |
deluge_libtorrent_net_on_tick_counter_total | counter | libtorrent metric net.on_tick_counter |
deluge_libtorrent_net_on_udp_counter_total | counter | libtorrent metric net.on_udp_counter |
deluge_libtorrent_net_on_write_counter_total | counter | libtorrent metric net.on_write_counter |
deluge_libtorrent_net_recv_bytes_total | counter | libtorrent metric net.recv_bytes |
deluge_libtorrent_net_recv_failed_bytes_total | counter | libtorrent metric net.recv_failed_bytes |
deluge_libtorrent_net_recv_ip_overhead_bytes_total | counter | libtorrent metric net.recv_ip_overhead_bytes |
deluge_libtorrent_net_recv_payload_bytes_total | counter | libtorrent metric net.recv_payload_bytes |
deluge_libtorrent_net_recv_redundant_bytes_total | counter | libtorrent metric net.recv_redundant_bytes |
deluge_libtorrent_net_recv_tracker_bytes_total | counter | libtorrent metric net.recv_tracker_bytes |
deluge_libtorrent_net_sent_bytes_total | counter | libtorrent metric net.sent_bytes |
deluge_libtorrent_net_sent_ip_overhead_bytes_total | counter | libtorrent metric net.sent_ip_overhead_bytes |
deluge_libtorrent_net_sent_payload_bytes_total | counter | libtorrent metric net.sent_payload_bytes |
deluge_libtorrent_net_sent_tracker_bytes_total | counter | libtorrent metric net.sent_tracker_bytes |
deluge_libtorrent_peer_aborted_peers_total | counter | libtorrent metric peer.aborted_peers |
deluge_libtorrent_peer_addrinuse_peers_total | counter | libtorrent metric peer.addrinuse_peers |
deluge_libtorrent_peer_banned_for_hash_failure_total | counter | libtorrent metric peer.banned_for_hash_failure |
deluge_libtorrent_peer_boost_connection_attempts_total | counter | libtorrent metric peer.boost_connection_attempts |
deluge_libtorrent_peer_broken_pipe_peers_total | counter | libtorrent metric peer.broken_pipe_peers |
deluge_libtorrent_peer_buffer_peers_total | counter | libtorrent metric peer.buffer_peers |
deluge_libtorrent_peer_cancelled_piece_requests_total | counter | libtorrent metric peer.cancelled_piece_requests |
deluge_libtorrent_peer_choked_piece_requests_total | counter | libtorrent metric peer.choked_piece_requests |
deluge_libtorrent_peer_connaborted_peers_total | counter | libtorrent metric peer.connaborted_peers |
deluge_libtorrent_peer_connect_timeouts_total | counter | libtorrent metric peer.connect_timeouts |
deluge_libtorrent_peer_connection_attempt_loops_total | counter | libtorrent metric peer.connection_attempt_loops |
deluge_libtorrent_peer_connection_attempts_total | counter | libtorrent metric peer.connection_attempts |
deluge_libtorrent_peer_connrefused_peers_total | counter | libtorrent metric peer.connrefused_peers |
deluge_libtorrent_peer_connreset_peers_total | counter | libtorrent metric peer.connreset_peers |
deluge_libtorrent_peer_disconnected_peers_total | counter | libtorrent metric peer.disconnected_peers |
deluge_libtorrent_peer_eof_peers_total | counter | libtorrent metric peer.eof_peers |
deluge_libtorrent_peer_error_encrypted_peers_total | counter | libtorrent metric peer.error_encrypted_peers |
deluge_libtorrent_peer_error_incoming_peers_total | counter | libtorrent metric peer.error_incoming_peers |
deluge_libtorrent_peer_error_outgoing_peers_total | counter | libtorrent metric peer.error_outgoing_peers |
deluge_libtorrent_peer_error_peers_total | counter | libtorrent metric peer.error_peers |
deluge_libtorrent_peer_error_rc4_peers_total | counter | libtorrent metric peer.error_rc4_peers |
deluge_libtorrent_peer_error_tcp_peers_total | counter | libtorrent metric peer.error_tcp_peers |
deluge_libtorrent_peer_error_utp_peers_total | counter | libtorrent metric peer.error_utp_peers |
deluge_libtorrent_peer_incoming_connections_total | counter | libtorrent metric peer.incoming_connections |
deluge_libtorrent_peer_invalid_arg_peers_total | counter | libtorrent metric peer.invalid_arg_peers |
deluge_libtorrent_peer_invalid_piece_requests_total | counter | libtorrent metric peer.invalid_piece_requests |
deluge_libtorrent_peer_max_piece_requests_total | counter | libtorrent metric peer.max_piece_requests |
deluge_libtorrent_peer_missed_connection_attempts_total | counter | libtorrent metric peer.missed_connection_attempts |
deluge_libtorrent_peer_no_access_peers_total | counter | libtorrent metric peer.no_access_peers |
deluge_libtorrent_peer_no_memory_peers_total | counter | libtorrent metric peer.no_memory_peers |
deluge_libtorrent_peer_no_peer_connection_attempts_total | counter | libtorrent metric peer.no_peer_connection_attempts |
deluge_libtorrent_peer_notconnected_peers_total | counter | libtorrent metric peer.notconnected_peers |
deluge_libtorrent_peer_num_banned_peers_total | counter | libtorrent metric peer.num_banned_peers |
deluge_libtorrent_peer_num_http_proxy_peers | gauge | libtorrent metric peer.num_http_proxy_peers |
deluge_libtorrent_peer_num_i2p_peers | gauge | libtorrent metric peer.num_i2p_peers |
deluge_libtorrent_peer_num_peers_connected | gauge | libtorrent metric peer.num_peers_connected |
deluge_libtorrent_peer_num_peers_down_disk | gauge | libtorrent metric peer.num_peers_down_disk |
deluge_libtorrent_peer_num_peers_down_interested | gauge | libtorrent metric peer.num_peers_down_interested |
deluge_libtorrent_peer_num_peers_down_requests | gauge | libtorrent metric peer.num_peers_down_requests |
deluge_libtorrent_peer_num_peers_down_unchoked | gauge | libtorrent metric peer.num_peers_down_unchoked |
deluge_libtorrent_peer_num_peers_end_game | gauge | libtorrent metric peer.num_peers_end_game |
deluge_libtorrent_peer_num_peers_half_open | gauge | libtorrent metric peer.num_peers_half_open |
deluge_libtorrent_peer_num_peers_up_disk | gauge | libtorrent metric peer.num_peers_up_disk |
deluge_libtorrent_peer_num_peers_up_interested | gauge | libtorrent metric peer.num_peers_up_interested |
deluge_libtorrent_peer_num_peers_up_requests | gauge | libtorrent metric peer.num_peers_up_requests |
deluge_libtorrent_peer_num_peers_up_unchoked | gauge | libtorrent metric peer.num_peers_up_unchoked |
deluge_libtorrent_peer_num_peers_up_unchoked_all | gauge | libtorrent metric peer.num_peers_up_unchoked_all |
deluge_libtorrent_peer_num_peers_up_unchoked_optimistic | gauge | libtorrent metric peer.num_peers_up_unchoked_optimistic |
deluge_libtorrent_peer_num_socks5_peers | gauge | libtorrent metric peer.num_socks5_peers |
deluge_libtorrent_peer_num_ssl_http_proxy_peers | gauge | libtorrent metric peer.num_ssl_http_proxy_peers |
deluge_libtorrent_peer_num_ssl_peers | gauge | libtorrent metric peer.num_ssl_peers |
deluge_libtorrent_peer_num_ssl_socks5_peers | gauge | libtorrent metric peer.num_ssl_socks5_peers |
deluge_libtorrent_peer_num_ssl_utp_peers | gauge | libtorrent metric peer.num_ssl_utp_peers |
deluge_libtorrent_peer_num_tcp_peers | gauge | libtorrent metric peer.num_tcp_peers |
deluge_libtorrent_peer_num_utp_peers | gauge | libtorrent metric peer.num_utp_peers |
deluge_libtorrent_peer_perm_peers_total | counter | libtorrent metric peer.perm_peers |
deluge_libtorrent_peer_piece_rejects_total | counter | libtorrent metric peer.piece_rejects |
deluge_libtorrent_peer_piece_requests_total | counter | libtorrent metric peer.piece_requests |
deluge_libtorrent_peer_timeout_peers_total | counter | libtorrent metric peer.timeout_peers |
deluge_libtorrent_peer_too_many_peers_total | counter | libtorrent metric peer.too_many_peers |
deluge_libtorrent_peer_transport_timeout_peers_total | counter | libtorrent metric peer.transport_timeout_peers |
deluge_libtorrent_peer_uninteresting_peers_total | counter | libtorrent metric peer.uninteresting_peers |
deluge_libtorrent_peer_unreachable_peers_total | counter | libtorrent metric peer.unreachable_peers |
deluge_libtorrent_picker_end_game_piece_picks_total | counter | libtorrent metric picker.end_game_piece_picks |
deluge_libtorrent_picker_hash_fail_piece_picks_total | counter | libtorrent metric picker.hash_fail_piece_picks |
deluge_libtorrent_picker_incoming_piece_picks_total | counter | libtorrent metric picker.incoming_piece_picks |
deluge_libtorrent_picker_incoming_redundant_piece_picks_total | counter | libtorrent metric picker.incoming_redundant_piece_picks |
deluge_libtorrent_picker_interesting_piece_picks_total | counter | libtorrent metric picker.interesting_piece_picks |
deluge_libtorrent_picker_piece_picker_busy_loops_total | counter | libtorrent metric picker.piece_picker_busy_loops |
deluge_libtorrent_picker_piece_picker_partial_loops_total | counter | libtorrent metric picker.piece_picker_partial_loops |
deluge_libtorrent_picker_piece_picker_rand_loops_total | counter | libtorrent metric picker.piece_picker_rand_loops |
deluge_libtorrent_picker_piece_picker_rand_start_loops_total | counter | libtorrent metric picker.piece_picker_rand_start_loops |
deluge_libtorrent_picker_piece_picker_rare_loops_total | counter | libtorrent metric picker.piece_picker_rare_loops |
deluge_libtorrent_picker_piece_picker_reverse_rare_loops_total | counter | libtorrent metric picker.piece_picker_reverse_rare_loops |
deluge_libtorrent_picker_piece_picker_sequential_loops_total | counter | libtorrent metric picker.piece_picker_sequential_loops |
deluge_libtorrent_picker_piece_picker_suggest_loops_total | counter | libtorrent metric picker.piece_picker_suggest_loops |
deluge_libtorrent_picker_reject_piece_picks_total | counter | libtorrent metric picker.reject_piece_picks |
deluge_libtorrent_picker_snubbed_piece_picks_total | counter | libtorrent metric picker.snubbed_piece_picks |
deluge_libtorrent_picker_unchoke_piece_picks_total | counter | libtorrent metric picker.unchoke_piece_picks |
deluge_libtorrent_ses_non_filter_torrents | gauge | libtorrent metric ses.non_filter_torrents |
deluge_libtorrent_ses_num_checking_torrents | gauge | libtorrent metric ses.num_checking_torrents |
deluge_libtorrent_ses_num_downloading_torrents | gauge | libtorrent metric ses.num_downloading_torrents |
deluge_libtorrent_ses_num_error_torrents | gauge | libtorrent metric ses.num_error_torrents |
deluge_libtorrent_ses_num_have_pieces_total | counter | libtorrent metric ses.num_have_pieces |
deluge_libtorrent_ses_num_incoming_allowed_fast_total | counter | libtorrent metric ses.num_incoming_allowed_fast |
deluge_libtorrent_ses_num_incoming_bitfield_total | counter | libtorrent metric ses.num_incoming_bitfield |
deluge_libtorrent_ses_num_incoming_cancel_total | counter | libtorrent metric ses.num_incoming_cancel |
deluge_libtorrent_ses_num_incoming_choke_total | counter | libtorrent metric ses.num_incoming_choke |
deluge_libtorrent_ses_num_incoming_dht_port_total | counter | libtorrent metric ses.num_incoming_dht_port |
deluge_libtorrent_ses_num_incoming_ext_handshake_total | counter | libtorrent metric ses.num_incoming_ext_handshake |
deluge_libtorrent_ses_num_incoming_extended_total | counter | libtorrent metric ses.num_incoming_extended |
deluge_libtorrent_ses_num_incoming_have_total | counter | libtorrent metric ses.num_incoming_have |
deluge_libtorrent_ses_num_incoming_have_all_total | counter | libtorrent metric ses.num_incoming_have_all |
deluge_libtorrent_ses_num_incoming_have_none_total | counter | libtorrent metric ses.num_incoming_have_none |
deluge_libtorrent_ses_num_incoming_interested_total | counter | libtorrent metric ses.num_incoming_interested |
deluge_libtorrent_ses_num_incoming_metadata_total | counter | libtorrent metric ses.num_incoming_metadata |
deluge_libtorrent_ses_num_incoming_not_interested_total | counter | libtorrent metric ses.num_incoming_not_interested |
deluge_libtorrent_ses_num_incoming_pex_total | counter | libtorrent metric ses.num_incoming_pex |
deluge_libtorrent_ses_num_incoming_piece_total | counter | libtorrent metric ses.num_incoming_piece |
deluge_libtorrent_ses_num_incoming_reject_total | counter | libtorrent metric ses.num_incoming_reject |
deluge_libtorrent_ses_num_incoming_request_total | counter | libtorrent metric ses.num_incoming_request |
deluge_libtorrent_ses_num_incoming_suggest_total | counter | libtorrent metric ses.num_incoming_suggest |
deluge_libtorrent_ses_num_incoming_unchoke_total | counter | libtorrent metric ses.num_incoming_unchoke |
deluge_libtorrent_ses_num_outgoing_allowed_fast_total | counter | libtorrent metric ses.num_outgoing_allowed_fast |
deluge_libtorrent_ses_num_outgoing_bitfield_total | counter | libtorrent metric ses.num_outgoing_bitfield |
deluge_libtorrent_ses_num_outgoing_cancel_total | counter | libtorrent metric ses.num_outgoing_cancel |
deluge_libtorrent_ses_num_outgoing_choke_total | counter | libtorrent metric ses.num_outgoing_choke |
deluge_libtorrent_ses_num_outgoing_dht_port_total | counter | libtorrent metric ses.num_outgoing_dht_port |
deluge_libtorrent_ses_num_outgoing_ext_handshake_total | counter | libtorrent metric ses.num_outgoing_ext_handshake |
deluge_libtorrent_ses_num_outgoing_extended_total | counter | libtorrent metric ses.num_outgoing_extended |
deluge_libtorrent_ses_num_outgoing_have_total | counter | libtorrent metric ses.num_outgoing_have |
deluge_libtorrent_ses_num_outgoing_have_all_total | counter | libtorrent metric ses.num_outgoing_have_all |
deluge_libtorrent_ses_num_outgoing_have_none_total | counter | libtorrent metric ses.num_outgoing_have_none |
deluge_libtorrent_ses_num_outgoing_interested_total | counter | libtorrent metric ses.num_outgoing_interested |
deluge_libtorrent_ses_num_outgoing_metadata_total | counter | libtorrent metric ses.num_outgoing_metadata |
deluge_libtorrent_ses_num_outgoing_not_interested_total | counter | libtorrent metric ses.num_outgoing_not_interested |
deluge_libtorrent_ses_num_outgoing_pex_total | counter | libtorrent metric ses.num_outgoing_pex |
deluge_libtorrent_ses_num_outgoing_piece_total | counter | libtorrent metric ses.num_outgoing_piece |
deluge_libtorrent_ses_num_outgoing_reject_total | counter | libtorrent metric ses.num_outgoing_reject |
deluge_libtorrent_ses_num_outgoing_request_total | counter | libtorrent metric ses.num_outgoing_request |
deluge_libtorrent_ses_num_outgoing_suggest_total | counter | libtorrent metric ses.num_outgoing_suggest |
deluge_libtorrent_ses_num_outgoing_unchoke_total | counter | libtorrent metric ses.num_outgoing_unchoke |
deluge_libtorrent_ses_num_outstanding_accept | gauge | libtorrent metric ses.num_outstanding_accept |
deluge_libtorrent_ses_num_piece_failed_total | counter | libtorrent metric ses.num_piece_failed |
deluge_libtorrent_ses_num_piece_passed_total | counter | libtorrent metric ses.num_piece_passed |
deluge_libtorrent_ses_num_queued_download_torrents | gauge | libtorrent metric ses.num_queued_download_torrents |
deluge_libtorrent_ses_num_queued_seeding_torrents | gauge | libtorrent metric ses.num_queued_seeding_torrents |
deluge_libtorrent_ses_num_seeding_torrents | gauge | libtorrent metric ses.num_seeding_torrents |
deluge_libtorrent_ses_num_stopped_torrents | gauge | libtorrent metric ses.num_stopped_torrents |
deluge_libtorrent_ses_num_total_pieces_added_total | counter | libtorrent metric ses.num_total_pieces_added |
deluge_libtorrent_ses_num_unchoke_slots | gauge | libtorrent metric ses.num_unchoke_slots |
deluge_libtorrent_ses_num_upload_only_torrents | gauge | libtorrent metric ses.num_upload_only_torrents |
deluge_libtorrent_ses_torrent_evicted_counter_total | counter | libtorrent metric ses.torrent_evicted_counter |
deluge_libtorrent_ses_waste_piece_cancelled_total | counter | libtorrent metric ses.waste_piece_cancelled |
deluge_libtorrent_ses_waste_piece_closing_total | counter | libtorrent metric ses.waste_piece_closing |
deluge_libtorrent_ses_waste_piece_end_game_total | counter | libtorrent metric ses.waste_piece_end_game |
deluge_libtorrent_ses_waste_piece_seed_total | counter | libtorrent metric ses.waste_piece_seed |
deluge_libtorrent_ses_waste_piece_timed_out_total | counter | libtorrent metric ses.waste_piece_timed_out |
deluge_libtorrent_ses_waste_piece_unknown_total | counter | libtorrent metric ses.waste_piece_unknown |
deluge_libtorrent_sock_bufs_socket_recv_size10_total | counter | libtorrent metric sock_bufs.socket_recv_size10 |
deluge_libtorrent_sock_bufs_socket_recv_size11_total | counter | libtorrent metric sock_bufs.socket_recv_size11 |
deluge_libtorrent_sock_bufs_socket_recv_size12_total | counter | libtorrent metric sock_bufs.socket_recv_size12 |
deluge_libtorrent_sock_bufs_socket_recv_size13_total | counter | libtorrent metric sock_bufs.socket_recv_size13 |
deluge_libtorrent_sock_bufs_socket_recv_size14_total | counter | libtorrent metric sock_bufs.socket_recv_size14 |
deluge_libtorrent_sock_bufs_socket_recv_size15_total | counter | libtorrent metric sock_bufs.socket_recv_size15 |
deluge_libtorrent_sock_bufs_socket_recv_size16_total | counter | libtorrent metric sock_bufs.socket_recv_size16 |
deluge_libtorrent_sock_bufs_socket_recv_size17_total | counter | libtorrent metric sock_bufs.socket_recv_size17 |
deluge_libtorrent_sock_bufs_socket_recv_size18_total | counter | libtorrent metric sock_bufs.socket_recv_size18 |
deluge_libtorrent_sock_bufs_socket_recv_size19_total | counter | libtorrent metric sock_bufs.socket_recv_size19 |
deluge_libtorrent_sock_bufs_socket_recv_size20_total | counter | libtorrent metric sock_bufs.socket_recv_size20 |
deluge_libtorrent_sock_bufs_socket_recv_size3_total | counter | libtorrent metric sock_bufs.socket_recv_size3 |
deluge_libtorrent_sock_bufs_socket_recv_size4_total | counter | libtorrent metric sock_bufs.socket_recv_size4 |
deluge_libtorrent_sock_bufs_socket_recv_size5_total | counter | libtorrent metric sock_bufs.socket_recv_size5 |
deluge_libtorrent_sock_bufs_socket_recv_size6_total | counter | libtorrent metric sock_bufs.socket_recv_size6 |
deluge_libtorrent_sock_bufs_socket_recv_size7_total | counter | libtorrent metric sock_bufs.socket_recv_size7 |
deluge_libtorrent_sock_bufs_socket_recv_size8_total | counter | libtorrent metric sock_bufs.socket_recv_size8 |
deluge_libtorrent_sock_bufs_socket_recv_size9_total | counter | libtorrent metric sock_bufs.socket_recv_size9 |
deluge_libtorrent_sock_bufs_socket_send_size10_total | counter | libtorrent metric sock_bufs.socket_send_size10 |
deluge_libtorrent_sock_bufs_socket_send_size11_total | counter | libtorrent metric sock_bufs.socket_send_size11 |
deluge_libtorrent_sock_bufs_socket_send_size12_total | counter | libtorrent metric sock_bufs.socket_send_size12 |
deluge_libtorrent_sock_bufs_socket_send_size13_total | counter | libtorrent metric sock_bufs.socket_send_size13 |
deluge_libtorrent_sock_bufs_socket_send_size14_total | counter | libtorrent metric sock_bufs.socket_send_size14 |
deluge_libtorrent_sock_bufs_socket_send_size15_total | counter | libtorrent metric sock_bufs.socket_send_size15 |
deluge_libtorrent_sock_bufs_socket_send_size16_total | counter | libtorrent metric sock_bufs.socket_send_size16 |
deluge_libtorrent_sock_bufs_socket_send_size17_total | counter | libtorrent metric sock_bufs.socket_send_size17 |
deluge_libtorrent_sock_bufs_socket_send_size18_total | counter | libtorrent metric sock_bufs.socket_send_size18 |
deluge_libtorrent_sock_bufs_socket_send_size19_total | counter | libtorrent metric sock_bufs.socket_send_size19 |
deluge_libtorrent_sock_bufs_socket_send_size20_total | counter | libtorrent metric sock_bufs.socket_send_size20 |
deluge_libtorrent_sock_bufs_socket_send_size3_total | counter | libtorrent metric sock_bufs.socket_send_size3 |
deluge_libtorrent_sock_bufs_socket_send_size4_total | counter | libtorrent metric sock_bufs.socket_send_size4 |
deluge_libtorrent_sock_bufs_socket_send_size5_total | counter | libtorrent metric sock_bufs.socket_send_size5 |
deluge_libtorrent_sock_bufs_socket_send_size6_total | counter | libtorrent metric sock_bufs.socket_send_size6 |
deluge_libtorrent_sock_bufs_socket_send_size7_total | counter | libtorrent metric sock_bufs.socket_send_size7 |
deluge_libtorrent_sock_bufs_socket_send_size8_total | counter | libtorrent metric sock_bufs.socket_send_size8 |
deluge_libtorrent_sock_bufs_socket_send_size9_total | counter | libtorrent metric sock_bufs.socket_send_size9 |
deluge_libtorrent_tracker_num_queued_tracker_announces | gauge | libtorrent metric tracker.num_queued_tracker_announces |
deluge_libtorrent_utp_num_utp_close_wait | gauge | libtorrent metric utp.num_utp_close_wait |
deluge_libtorrent_utp_num_utp_connected | gauge | libtorrent metric utp.num_utp_connected |
deluge_libtorrent_utp_num_utp_deleted | gauge | libtorrent metric utp.num_utp_deleted |
deluge_libtorrent_utp_num_utp_fin_sent | gauge | libtorrent metric utp.num_utp_fin_sent |
deluge_libtorrent_utp_num_utp_idle | gauge | libtorrent metric utp.num_utp_idle |
deluge_libtorrent_utp_num_utp_syn_sent | gauge | libtorrent metric utp.num_utp_syn_sent |
deluge_libtorrent_utp_utp_fast_retransmit_total | counter | libtorrent metric utp.utp_fast_retransmit |
deluge_libtorrent_utp_utp_invalid_pkts_in_total | counter | libtorrent metric utp.utp_invalid_pkts_in |
deluge_libtorrent_utp_utp_packet_loss_total | counter | libtorrent metric utp.utp_packet_loss |
deluge_libtorrent_utp_utp_packet_resend_total | counter | libtorrent metric utp.utp_packet_resend |
deluge_libtorrent_utp_utp_packets_in_total | counter | libtorrent metric utp.utp_packets_in |
deluge_libtorrent_utp_utp_packets_out_total | counter | libtorrent metric utp.utp_packets_out |
deluge_libtorrent_utp_utp_payload_pkts_in_total | counter | libtorrent metric utp.utp_payload_pkts_in |
deluge_libtorrent_utp_utp_payload_pkts_out_total | counter | libtorrent metric utp.utp_payload_pkts_out |
deluge_libtorrent_utp_utp_redundant_pkts_in_total | counter | libtorrent metric utp.utp_redundant_pkts_in |
deluge_libtorrent_utp_utp_samples_above_target_total | counter | libtorrent metric utp.utp_samples_above_target |
deluge_libtorrent_utp_utp_samples_below_target_total | counter | libtorrent metric utp.utp_samples_below_target |
deluge_libtorrent_utp_utp_timeout_total | counter | libtorrent metric utp.utp_timeout |
deluge_info | gauge | Deluge information (labels: {libtorrent_version=, version=}) |
deluge_config_send_info | gauge | Value of the deluge config setting send_info |
deluge_config_info_sent | gauge | Value of the deluge config setting info_sent |
deluge_config_daemon_port | gauge | Value of the deluge config setting daemon_port |
deluge_config_allow_remote | gauge | Value of the deluge config setting allow_remote |
deluge_config_pre_allocate_storage | gauge | Value of the deluge config setting pre_allocate_storage |
deluge_config_random_port | gauge | Value of the deluge config setting random_port |
deluge_config_listen_use_sys_port | gauge | Value of the deluge config setting listen_use_sys_port |
deluge_config_listen_reuse_port | gauge | Value of the deluge config setting listen_reuse_port |
deluge_config_random_outgoing_ports | gauge | Value of the deluge config setting random_outgoing_ports |
deluge_config_copy_torrent_file | gauge | Value of the deluge config setting copy_torrent_file |
deluge_config_del_copy_torrent_file | gauge | Value of the deluge config setting del_copy_torrent_file |
deluge_config_prioritize_first_last_pieces | gauge | Value of the deluge config setting prioritize_first_last_pieces |
deluge_config_sequential_download | gauge | Value of the deluge config setting sequential_download |
deluge_config_dht | gauge | Value of the deluge config setting dht |
deluge_config_upnp | gauge | Value of the deluge config setting upnp |
deluge_config_natpmp | gauge | Value of the deluge config setting natpmp |
deluge_config_utpex | gauge | Value of the deluge config setting utpex |
deluge_config_lsd | gauge | Value of the deluge config setting lsd |
deluge_config_enc_in_policy | gauge | Value of the deluge config setting enc_in_policy |
deluge_config_enc_out_policy | gauge | Value of the deluge config setting enc_out_policy |
deluge_config_enc_level | gauge | Value of the deluge config setting enc_level |
deluge_config_max_connections_global | gauge | Value of the deluge config setting max_connections_global |
deluge_config_max_upload_speed | gauge | Value of the deluge config setting max_upload_speed |
deluge_config_max_download_speed | gauge | Value of the deluge config setting max_download_speed |
deluge_config_max_upload_slots_global | gauge | Value of the deluge config setting max_upload_slots_global |
deluge_config_max_half_open_connections | gauge | Value of the deluge config setting max_half_open_connections |
deluge_config_max_connections_per_second | gauge | Value of the deluge config setting max_connections_per_second |
deluge_config_ignore_limits_on_local_network | gauge | Value of the deluge config setting ignore_limits_on_local_network |
deluge_config_max_connections_per_torrent | gauge | Value of the deluge config setting max_connections_per_torrent |
deluge_config_max_upload_slots_per_torrent | gauge | Value of the deluge config setting max_upload_slots_per_torrent |
deluge_config_max_upload_speed_per_torrent | gauge | Value of the deluge config setting max_upload_speed_per_torrent |
deluge_config_max_download_speed_per_torrent | gauge | Value of the deluge config setting max_download_speed_per_torrent |
deluge_config_add_paused | gauge | Value of the deluge config setting add_paused |
deluge_config_max_active_seeding | gauge | Value of the deluge config setting max_active_seeding |
deluge_config_max_active_downloading | gauge | Value of the deluge config setting max_active_downloading |
deluge_config_max_active_limit | gauge | Value of the deluge config setting max_active_limit |
deluge_config_dont_count_slow_torrents | gauge | Value of the deluge config setting dont_count_slow_torrents |
deluge_config_queue_new_to_top | gauge | Value of the deluge config setting queue_new_to_top |
deluge_config_stop_seed_at_ratio | gauge | Value of the deluge config setting stop_seed_at_ratio |
deluge_config_remove_seed_at_ratio | gauge | Value of the deluge config setting remove_seed_at_ratio |
deluge_config_stop_seed_ratio | gauge | Value of the deluge config setting stop_seed_ratio |
deluge_config_share_ratio_limit | gauge | Value of the deluge config setting share_ratio_limit |
deluge_config_seed_time_ratio_limit | gauge | Value of the deluge config setting seed_time_ratio_limit |
deluge_config_seed_time_limit | gauge | Value of the deluge config setting seed_time_limit |
deluge_config_auto_managed | gauge | Value of the deluge config setting auto_managed |
deluge_config_move_completed | gauge | Value of the deluge config setting move_completed |
deluge_config_path_chooser_show_chooser_button_on_localhost | gauge | Value of the deluge config setting path_chooser_show_chooser_button_on_localhost |
deluge_config_path_chooser_auto_complete_enabled | gauge | Value of the deluge config setting path_chooser_auto_complete_enabled |
deluge_config_path_chooser_max_popup_rows | gauge | Value of the deluge config setting path_chooser_max_popup_rows |
deluge_config_path_chooser_show_hidden_files | gauge | Value of the deluge config setting path_chooser_show_hidden_files |
deluge_config_new_release_check | gauge | Value of the deluge config setting new_release_check |
deluge_config_rate_limit_ip_overhead | gauge | Value of the deluge config setting rate_limit_ip_overhead |
deluge_config_cache_size | gauge | Value of the deluge config setting cache_size |
deluge_config_cache_expiry | gauge | Value of the deluge config setting cache_expiry |
deluge_config_auto_manage_prefer_seeds | gauge | Value of the deluge config setting auto_manage_prefer_seeds |
deluge_config_shared | gauge | Value of the deluge config setting shared |
deluge_config_super_seeding | gauge | Value of the deluge config setting super_seeding |
deluge_config_autoadd_enable | gauge | Value of the deluge config setting autoadd_enable |
deluge_config_compact_allocation | gauge | Value of the deluge config setting compact_allocation |
deluge_config_enc_prefer_rc4 | gauge | Value of the deluge config setting enc_prefer_rc4 |
deluge_torrents_by_label | gauge | The number of torrents for each label assigned to a torrent using the deluge label plugin (labels: {label=}) |
deluge_torrents | gauge | The number of torrents in a specific state (note: some states overlap) (labels: {state=active|allocating|checking|downloading|error|moving|paused|queued|seeding|total}) |
deluge_torrent_done_total | counter | The amount of data downloaded for this torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_size_total | counter | The size of this torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_uploaded_total | counter | The amount of data uploaded for this torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_num_peers | gauge | The number of peers currently connected to for this torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_num_seeds | gauge | The number of seeds currently connected to for this torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_total_peers | gauge | The number of peers in the swarm for this torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_total_seeds | gauge | The number of seeds in the swarm for this torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_active_time | gauge | The number of seconds this torrent has been active. i.e. not paused (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_seeding_time | gauge | The number of seconds this torrent has been active and seeding (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_finished_time | gauge | The number of seconds this torrent has spent in the finished state (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_all_time_download | gauge | Total number of payload bytes downloaded across all sessions (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_time_added | gauge | When this torrent was added (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_completed_time | gauge | When this torrent was completed (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_time_since_download | gauge | The number of seconds since we last downloaded payload from a peer on this torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_time_since_upload | gauge | The number of seconds since we last uploaded payload to a peer on this torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_time_since_transfer | gauge | The number of seconds since we last uploaded payload to or from a peer on this torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
deluge_torrent_last_seen_complete | gauge | The time when we last saw a seed or peers that together formed a complete copy of the torrent (labels: {hash=, name=, state=active|allocating|checking|downloading|error|moving|paused|queued|seeding}) |
Some metrics can be derived from exported ones:
- Torrent progress can be calculated as
total\_done/total\_size
- Torrent upload ratio can be calculated as
total\_uploaded/all\_time\_download