New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0111 unregister session with timestamp #12326
Merged
zmstone
merged 9 commits into
emqx:master
from
zmstone:0111-unregister-session-with-timestamp
Feb 2, 2024
Merged
0111 unregister session with timestamp #12326
zmstone
merged 9 commits into
emqx:master
from
zmstone:0111-unregister-session-with-timestamp
Feb 2, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zmstone
force-pushed
the
0111-unregister-session-with-timestamp
branch
5 times, most recently
from
January 15, 2024 16:50
9e1178e
to
a088715
Compare
savonarola
reviewed
Jan 16, 2024
savonarola
reviewed
Jan 16, 2024
sorry, I am not quite following. |
zmstone
force-pushed
the
0111-unregister-session-with-timestamp
branch
2 times, most recently
from
January 19, 2024 16:34
81a6f2e
to
466869f
Compare
zmstone
force-pushed
the
0111-unregister-session-with-timestamp
branch
from
January 19, 2024 16:46
97b87af
to
77b5fc9
Compare
zmstone
force-pushed
the
0111-unregister-session-with-timestamp
branch
from
January 19, 2024 16:51
77b5fc9
to
386dd6b
Compare
zmstone
force-pushed
the
0111-unregister-session-with-timestamp
branch
2 times, most recently
from
January 19, 2024 20:39
3aa7ab5
to
77455bb
Compare
zmstone
force-pushed
the
0111-unregister-session-with-timestamp
branch
from
January 26, 2024 15:50
77455bb
to
0853b7e
Compare
zmstone
force-pushed
the
0111-unregister-session-with-timestamp
branch
from
January 31, 2024 08:51
0853b7e
to
3804710
Compare
thalesmg
previously approved these changes
Feb 1, 2024
zmstone
force-pushed
the
0111-unregister-session-with-timestamp
branch
from
February 1, 2024 20:45
ec88500
to
409466a
Compare
zmstone
force-pushed
the
0111-unregister-session-with-timestamp
branch
from
February 2, 2024 08:27
409466a
to
f0569d8
Compare
thalesmg
approved these changes
Feb 2, 2024
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes 11737
Release version:
v/e5.6.0
Summary
Add a new config to enable recording session unregister with a timestamp.
This timestamp can be used to count/query the number of unique clients connected during the the past X seconds/minutes/hours/days.
Demo
env EMQX_BROKER__session_history_retain='1m'
to retain expired sessions for 1 minute.0
PR Checklist
Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:
changes/(ce|ee)/(feat|perf|fix|breaking)-<PR-id>.en.md
filesChecklist for CI (.github/workflows) changes
changes/
dir for user-facing artifacts update