Skip to content

Commit

Permalink
configuration_manual: Fix name -> cmd_name event parameters
Browse files Browse the repository at this point in the history
This was changed in v2.3.9.
  • Loading branch information
sirainen committed Aug 8, 2023
1 parent 7613121 commit e7ca1dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/configuration_manual/event_export.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Example tab-text

.. code-block:: none
event:imap_command_finished hostname:dovecot-dev start_time:2019-06-19T10:38:25.422744Z end_time:2019-06-19T10:38:25.424812Z category:imap field:user=jeffpc field:session=xlBB1KqLz1isGwB+ field:tag=a0005 field:name=SELECT field:tagged_reply_state=OK field:tagged_reply=OK [READ-WRITE] Select completed field:last_run_time=2019-06-19T10:38:25.422709Z field:running_usecs=1953 field:lock_wait_usecs=60 field:net_in_bytes=7 field:net_out_bytes=311
event:imap_command_finished hostname:dovecot-dev start_time:2019-06-19T10:38:25.422744Z end_time:2019-06-19T10:38:25.424812Z category:imap field:user=jeffpc field:session=xlBB1KqLz1isGwB+ field:tag=a0005 field:cmd_name=SELECT field:tagged_reply_state=OK field:tagged_reply=OK [READ-WRITE] Select completed field:last_run_time=2019-06-19T10:38:25.422709Z field:running_usecs=1953 field:lock_wait_usecs=60 field:net_in_bytes=7 field:net_out_bytes=311
Transports
^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion source/configuration_manual/stats/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ For example:

.. code-block:: sh
doveadm stats add --description "IMAP SELECT commands" --exporter log-exporter --exporter-include "name timestamps" --fields "net_in_bytes net_out_bytes" --group-by "cmd_name tagged_reply_state" imap_cmd_select "event=imap_command_finished AND name=SELECT"
doveadm stats add --description "IMAP SELECT commands" --exporter log-exporter --exporter-include "name timestamps" --fields "net_in_bytes net_out_bytes" --group-by "cmd_name tagged_reply_state" imap_cmd_select "event=imap_command_finished AND cmd_name=SELECT"
Metrics can be removed dynamically by running:

Expand Down

0 comments on commit e7ca1dc

Please sign in to comment.