Expand description
§dbus_stats module
Handle getting statistics of our Dbus daemon/broker
Structs§
- CurMax
Pair - Current/maximum resource pair as reported by dbus-broker’s UserAccounting. Note: dbus-broker stores the current value in inverted form; actual usage = max - cur.
- DBus
BrokerC Group Accounting - Aggregated D-Bus resource accounting grouped by cgroup. Not directly present in dbus-broker stats; computed by summing peer stats that share a cgroup. Grouping by cgroup reduces metric cardinality while still identifying abusive clients.
- DBus
Broker Peer Accounting - Per-peer resource accounting from dbus-broker’s PeerAccounting stats. Each peer represents a single D-Bus connection identified by a unique bus name.
- DBus
Broker User Accounting - Per-user aggregated D-Bus resource limits and usage from dbus-broker’s UserAccounting. Each entry tracks quota consumption across all connections belonging to a Unix user.
- DBus
Stats - D-Bus daemon/broker statistics from org.freedesktop.DBus.Debug.Stats. Works with both dbus-daemon and dbus-broker; broker-specific fields are in separate maps.
Enums§
Functions§
- parse_
dbus_ stats - Pull all units from dbus and count how system is setup and behaving
- update_
dbus_ stats - Async wrapper than can update dbus stats when passed a locked struct