All Projects → atx → Prometheus Tor_exporter

atx / Prometheus Tor_exporter

Licence: mit
Prometheus exporter for the TOR daemon

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Prometheus Tor exporter

Pihole Exporter
A Prometheus exporter for PI-Hole's Raspberry PI ad blocker
Stars: ✭ 352 (+1660%)
Mutual labels:  prometheus, prometheus-exporter
Statping
Status Page for monitoring your websites and applications with beautiful graphs, analytics, and plugins. Run on any type of environment.
Stars: ✭ 5,806 (+28930%)
Mutual labels:  prometheus, prometheus-exporter
Exitmap
A fast and modular scanner for Tor exit relays. The canonical repository (including issue tracker) is at https://gitlab.torproject.org/tpo/network-health/exitmap
Stars: ✭ 440 (+2100%)
Mutual labels:  tor, tor-network
Postgresql exporter
A Prometheus exporter for some postgresql metrics
Stars: ✭ 26 (+30%)
Mutual labels:  prometheus, prometheus-exporter
Json Exporter
Prometheus exporter which fetches JSON from a URL and exports one of the values as gauge metrics
Stars: ✭ 26 (+30%)
Mutual labels:  prometheus, prometheus-exporter
Torwall
Tallow - Transparent Tor for Windows
Stars: ✭ 346 (+1630%)
Mutual labels:  tor, tor-network
Nginx Vts Exporter
(NOT MAINTAINED) Simple server that scrapes Nginx vts stats and exports them via HTTP for Prometheus consumption
Stars: ✭ 477 (+2285%)
Mutual labels:  prometheus, prometheus-exporter
Kube State Metrics
Add-on agent to generate and expose cluster-level metrics.
Stars: ✭ 3,433 (+17065%)
Mutual labels:  prometheus, prometheus-exporter
Statsd exporter
StatsD to Prometheus metrics exporter
Stars: ✭ 608 (+2940%)
Mutual labels:  prometheus, prometheus-exporter
Mongodb exporter
A Prometheus exporter for MongoDB including sharding, replication and storage engines
Stars: ✭ 602 (+2910%)
Mutual labels:  prometheus, prometheus-exporter
Consul exporter
Exporter for Consul metrics
Stars: ✭ 323 (+1515%)
Mutual labels:  prometheus, prometheus-exporter
Snmp exporter
SNMP Exporter for Prometheus
Stars: ✭ 705 (+3425%)
Mutual labels:  prometheus, prometheus-exporter
Toriptables2
Tor Iptables script is an anonymizer that sets up iptables and tor to route all services and traffic including DNS through the Tor network.
Stars: ✭ 287 (+1335%)
Mutual labels:  tor, tor-network
Ebpf exporter
Prometheus exporter for custom eBPF metrics
Stars: ✭ 829 (+4045%)
Mutual labels:  prometheus, prometheus-exporter
Kminion
KMinion is a feature-rich Prometheus exporter for Apache Kafka written in Go. It is lightweight and highly configurable so that it will meet your requirements.
Stars: ✭ 274 (+1270%)
Mutual labels:  prometheus, prometheus-exporter
Haproxy exporter
Simple server that scrapes HAProxy stats and exports them via HTTP for Prometheus consumption
Stars: ✭ 465 (+2225%)
Mutual labels:  prometheus, prometheus-exporter
prometheus-hetzner-sd
Prometheus Service Discovery for Hetzner
Stars: ✭ 15 (-25%)
Mutual labels:  prometheus, prometheus-exporter
Exporterhub.io
A Curated List of Prometheus Exporters
Stars: ✭ 252 (+1160%)
Mutual labels:  prometheus, prometheus-exporter
Nexclipper
Metrics Pipeline for interoperability and Enterprise Prometheus
Stars: ✭ 533 (+2565%)
Mutual labels:  prometheus, prometheus-exporter
Multitor
Create multiple TOR instances with a load-balancing.
Stars: ✭ 624 (+3020%)
Mutual labels:  tor, tor-network

prometheus-tor_exporter

Prometheus exporter for the TOR daemon.

prometheus-tor-exporter

(the JSON descriptor file for this dashboard can be found here)

Installation

Get the latest release and install using dpkg.

wget 'https://github.com/atx/prometheus-tor_exporter/releases/download/v0.3/prometheus-tor-exporter_0.3_all.deb'
dpkg -i prometheus-tor-exporter_0.3_all.deb
apt install -f

You can also build from source.

apt install git debhelper devscripts
git clone https://github.com/atx/prometheus-tor_exporter
cd prometheus-tor_exporter
debuild --no-tgz-check -uc -us
dpkg -i ../prometheus-tor-exporter_0.3_all.deb

Afterwards, you need to enable the installed systemd service.

systemctl enable --now prometheus-tor-exporter

Configuration

prometheus-tor_exporter is configured using the /etc/default/prometheus-tor-exporter

# Additional parameters for prometheus-tor-exporter
ARGS="-p 8800"

The parameters can be listed py running prometheus-tor-exporter.py -h

usage: prometheus-tor-exporter.py [-h] [-a ADDRESS] [-c CONTROL_PORT]
                                  [-p LISTEN_PORT] [-b BIND_ADDR]

optional arguments:
  -h, --help            show this help message and exit
  -a ADDRESS, --address ADDRESS
                        Tor control IP address
  -c CONTROL_PORT, --control-port CONTROL_PORT
                        Tor control port
  -p LISTEN_PORT, --listen-port LISTEN_PORT
                        Listen on this port
  -b BIND_ADDR, --bind-addr BIND_ADDR
                        Bind this address

Exported metrics

Name Description
tor_written_bytes Running total of written bytes.
tor_read_bytes Running total of read bytes.
tor_version{version="..."} Tor daemon version as a tag
tor_version_status={version_status="..."} Tor daemon version status as a tag
tor_network_liveness Network liveness (1.0 or 0.0)
tor_reachable{port="OR|DIR"} Reachability of the OR/DIR ports (1.0 or 0.0)
tor_circuit_established Indicates whether the daemon is capable of establishing circuits (1.0 or 0.0)
tor_dormant Indicates whether tor is currently active (1.0 or 0.0) (note that 1.0 means "dormant", see the specs for details)
tor_effective_rate Shows the effective rate of the relay
tor_effective_burst_rate Shows the effective burst rate of the relay
tor_fingerprint{fingerprint="..."} Node fingerprint as a tag
tor_nickname{nickname="..."} Node nickname as a tag
tor_flags{flag="Authority|BadExit|Exit|Fast|
Guard|HSDir|NoEdConsensus|Stable|
Running|Valid|V2Dir"}
Indicates whether the node has a certain flag (1.0 or 0.0)
tor_accounting_read_bytes Amount of bytes read in the current accounting period
tor_accounting_left_read_bytes Amount of read bytes left in the current accounting period
tor_accounting_read_limit_bytes Read byte limit in the current accounting period
tor_accounting_write_bytes Amount of bytes written in the current accounting period
tor_accounting_left_write_bytes Amount of write bytes left in the current accounting period
tor_accounting_write_limit_bytes Write byte limit in the current accounting period
tor_uptime Uptime of the tor process (in seconds)

A more in-depth explanation of the various variables can be found in the control port manual

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].