-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
according to the base readme this option is available
--systemd.collector.enable-file-descriptor-size Enables file descriptor size metrics. Systemd Exporter needs access to /proc/X/fd files.
$ sudo systemd_exporter --systemd.collector.enable-file-descriptor-size
systemd_exporter: error: unknown long flag '--systemd.collector.enable-file-descriptor-size', try --help
$ systemd_exporter --version
systemd_exporter, version 0.7.0 (branch: HEAD, revision: 8b490c0159f2d3b80d1721c1e632a021f496f375)
build user: root@ecc5fcf2da63
build date: 20250314-08:39:11
go version: go1.24.1
platform: linux/amd64
tags: unknown
$ systemd_exporter --help
usage: systemd_exporter [<flags>]
Flags:
-h, --[no-]help Show context-sensitive help (also try --help-long and --help-man).
--systemd.collector.unit-include=".+"
Regexp of systemd units to include. Units must both match include and not match exclude to be included.
--systemd.collector.unit-exclude=".+\\.(device)"
Regexp of systemd units to exclude. Units must both match include and not match exclude to be included.
--[no-]systemd.collector.private
Establish a private, direct connection to systemd without dbus.
--[no-]systemd.collector.user
Connect to the user systemd instance.
--[no-]systemd.collector.enable-restart-count
Enables service restart count metrics. This feature only works with systemd 235 and above.
--[no-]systemd.collector.enable-ip-accounting
Enables service ip accounting metrics. This feature only works with systemd 235 and above.
--web.telemetry-path="/metrics"
Path under which to expose metrics.
--[no-]web.disable-exporter-metrics
Exclude metrics about the exporter itself (promhttp_*, process_*, go_*).
--web.max-requests=40 Maximum number of parallel scrape requests. Use 0 to disable.
--[no-]systemd.collector.enable-resolved
Enable systemd-resolved statistics
--[no-]web.systemd-socket Use systemd socket activation listeners instead of port listeners (Linux only).
--web.listen-address=:9558 ...
Addresses on which to expose metrics and web interface. Repeatable for multiple addresses. Examples: `:9100` or `[::1]:9100` for http, `vsock://:9100` for vsock
--web.config.file="" Path to configuration file that can enable TLS or authentication. See: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md
--log.level=info Only log messages with the given severity or above. One of: [debug, info, warn, error]
--log.format=logfmt Output format of log messages. One of: [logfmt, json]
--[no-]version Show application version.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels