Are there any examples of the utility of doveadm stats? in the man page:> dump accepts following types: command, session, user, domain, ip and > global. > > Filter can be > > user=<wildcard> > Match given user.I've tried the following commands after looking at the (sparse and example-less) man page. # doveadm stats dump metric_name field count sum min max avg median stddev %95 # doveadm stats dump user Error: Extraneous arguments found: user # doveadm stats dump user user="*" Error: Extraneous arguments found: user user=* # doveadm stats dump global Error: Extraneous arguments found: global # doveadm stats dump global user="*" Error: Extraneous arguments found: global user=* # I assume there is more to the configuration for stats than merely making it not report an error. So, the first question is what sorts of stats would be most likely to be useful and what do I do in the configuration to get those? Second question is why is this required to be enabled if, by default, it has no functionality? -- Beware of geeks bearing .GIF's
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <br> </div> <blockquote type="cite"> <div> On 12 April 2019 15:48 @lbutlr via dovecot < <a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> Are there any examples of the utility of doveadm stats? </div> <div> <br> </div> <div> in the man page: </div> <blockquote type="cite"> <div> dump accepts following types: command, session, user, domain, ip and </div> <div> global. </div> <div> <br> </div> <div> Filter can be </div> <div> <br> </div> <div> user=<wildcard> </div> <div> Match given user. </div> </blockquote> <div> <br> </div> <div> I've tried the following commands after looking at the (sparse and example-less) man page. </div> <div> <br> </div> <div> # doveadm stats dump </div> <div> metric_name field count sum min max avg median stddev %95 </div> <div> # doveadm stats dump user </div> <div> Error: Extraneous arguments found: user </div> <div> # doveadm stats dump user user="*" </div> <div> Error: Extraneous arguments found: user user=* </div> <div> # doveadm stats dump global </div> <div> Error: Extraneous arguments found: global </div> <div> # doveadm stats dump global user="*" </div> <div> Error: Extraneous arguments found: global user=* </div> <div> # </div> <div> <br> </div> <div> I assume there is more to the configuration for stats than merely making it not report an error. So, the first question is what sorts of stats would be most likely to be useful and what do I do in the configuration to get those? </div> <div> <br> </div> <div> Second question is why is this required to be enabled if, by default, it has no functionality? </div> <div> <br> </div> <div> <br> </div> <div> -- </div> <div> Beware of geeks bearing .GIF's </div> </blockquote> <div> Sorry about this. That manpage was supposed to be renamed as doveadm old-stats. See https://wiki.dovecot.org/Statistics on how to use the new ones. </div> <div class="io-ox-signature"> <pre>--- Aki Tuomi</pre> </div> </body> </html>