PROMSTATSD(8)
π PROMSTATSD(8) π
okay bestie, welcome to the promstatsd(8) page from the Cyrus IMAP manual β she's the Cyrus Prometheus statistics collating daemon and she is thriving. π«Ά
β¨ NAME β¨
promstatsd β Cyrus IMAP documentation
Cyrus Prometheus statistics collating daemon π
πΈ SYNOPSIS πΈ
promstatsd [ -C config-file ] [ -v ] [ -f service-frequency ] [ -d ]
promstatsd [ -C config-file ] [ -v ] -c
promstatsd [ -C config-file ] [ -v ] -1
π¦ DESCRIPTION π¦
promstatsd is the Cyrus Prometheus statistics collating daemon. that's her whole job and she eats every time. π₯
when the prometheus_enabled setting in imapd.conf(5) is true, all the various Cyrus service processes start counting statistics as they run. promstatsd swoops in and collates all those stats into a text-based report that Prometheus can ingest. it's giving matchmaker but for numbers. β¨
the report promstatsd produces gets served by httpd(8) at the "/metrics" URL β but ONLY if "prometheus" has been set in httpmodules in imapd.conf(5). no config, no metrics, iykyk. π
promstatsd reads her configuration options out of the imapd.conf(5) file, unless you say otherwise with -C.
first synopsis β promstatsd runs as a daemon, updating the service report and (optionally) the usage report at the frequencies set by the prometheus_service_update_freq and prometheus_usage_update_freq options in imapd.conf(5). those default to 10s and disabled, respectively. the optional -f service-frequency argument can override prometheus_service_update_freq. this invocation should be run from the DAEMON section of cyrus.conf(5) (see Examples below π).
second synopsis β promstatsd cleans up ALL the statistics files and then exits. the statistics Cyrus maintains are only valid while Cyrus is running, so this invocation MUST be run from the START section of cyrus.conf(5) (see Examples below π) so she can clean up after the previous run, before any new service processes get started. no cap, it's mandatory. π
third synopsis β promstatsd immediately updates the report(s) once, then exits. this is safe to use while another promstatsd process is running in daemon form. it's the move when you need the report updated right now for some reason and you cannot wait for the daemon's next update. main character urgency. π
π OPTIONS π
-Cconfig-file β use the specified configuration file config-file instead of the defaultimapd.conf(5).-Dβ run the external debugger specified in thedebug_commandoption ofimapd.conf(5).-1β update the report(s) once and exit.-cβ clean up the stats directory and exit.-dβ debug mode βpromstatsdwill not background herself, for aid in debugging.-fservice-frequency β update the service report every service-frequency seconds. if you don't specify it, theprometheus_service_update_freqfromimapd.conf(5)gets used, and that defaults to 10 seconds.-vβ increase verbosity. can be specified multiple times. stack 'em. π
π EXAMPLES π
to regularly produce a report that Prometheus can consume, promstatsd must be run from the DAEMON section of cyrus.conf(5) as per the first synopsis, like so:
DAEMON {
promstatsd cmd="promstatsd"
}
to make sure the statistical state is clean at startup, promstatsd must be run from the START section of cyrus.conf(5) as per the second synopsis, like so:
START {
statscleanup cmd="promstatsd -c"
}
π HISTORY π
literally nothing here bestie, it's just vibes and empty space. π
π FILES π
also empty. the void said hi. π¦
π SEE ALSO π
imapd.conf(5), cyrus.conf(5), httpd(8),
π AUTHOR π
The Cyrus Team π
π COPYRIGHT π
1993β2026, The Cyrus Team
and that's the whole page, bestie β no crumbs left. πΈβ¨
version 3.12.4, dated Sep 09, 2026 β mwah, slay, periodt. π ππ«Ά
π¦ where this page comes from
- fedora 44: cyrus-imapd 3.12.4-1.fc44 Β· BSD-Attribution-HPND-disclaimer
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms