-
Notifications
You must be signed in to change notification settings - Fork 426
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
Unifying c2s metrics #3967
Merged
Merged
Unifying c2s metrics #3967
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1289b1f
removing data.xmpp.*.compressed_size metrics
DenysGonchar c82583f
renaming global.data.xmpp.sent.message.processing_time metric into gl…
DenysGonchar c5f8d45
removing ejabberd_socket compatibility from mod_bosh_socket
DenysGonchar c8fc048
moving 'data.xmpp.sent.xml_stanza_size' metric calculation to mongoos…
DenysGonchar 2dce49c
removing 'global.data.xmpp.*.encrypted_size' metrics
DenysGonchar 7b16adf
adding 'data.xmpp.*.raw' metrics
DenysGonchar ada6625
reporting raw data metrics per transport type
DenysGonchar 75bc53e
extending bosh_SUITE
DenysGonchar 76dd07f
exteding mim_c2s_SUITE
DenysGonchar 7984f3e
extending connect_SUITE
DenysGonchar fe0e673
extending websockets_SUITE
DenysGonchar 149d420
fixinng vcard_simple_SUITE:request_search_fields/1 test case
DenysGonchar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,10 +163,6 @@ Metrics specific to an extension, e.g. Message Archive Management, are described | |
| ----------- | ---- | ----------- | | ||
| `[global, data, xmpp, received, xml_stanza_size]` | histogram | A size (in bytes) of a received stanza after decompression and decryption. | | ||
| `[global, data, xmpp, sent, xml_stanza_size]` | histogram | A size (in bytes) of a stanza sent to a client socket. | | ||
| `[global, data, xmpp, received, compressed_size]` | histogram | A size (in bytes) of a received stanza before decompression. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe describe all new metrics? |
||
| `[global, data, xmpp, sent, compressed_size]` | histogram | A size (in bytes) of a stanza after compression. | | ||
| `[global, data, xmpp, received, encrypted_size]` | histogram | A size (in bytes) of a received stanza before decryption. | | ||
| `[global, data, xmpp, sent, encrypted_size]` | histogram | A size (in bytes) of a stanza after encryption. | | ||
| `[global, data, dist]` | proplist | Network stats for an Erlang distributed communication. A proplist with values: `recv_oct`, `recv_cnt`, `recv_max`, `send_oct`, `send_max`, `send_cnt`, `send_pend`, `connections` | | ||
| `[global, data, rdbms, PoolName]` | proplist | For every RDBMS pool defined, an instance of this metric is available. It is a proplist with values `workers`, `recv_oct`, `recv_cnt`, `recv_max`, `send_oct`, `send_max`, `send_cnt`, `send_pend`. | | ||
|
||
|
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,18 @@ | |
modPrivacyStanzaAll | ||
]). | ||
|
||
-define(GLOBAL_SPIRALS, [ | ||
%% TBD report raw data metrics for s2s and components conection | ||
[data, xmpp, received, c2s, tcp, raw], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we have any plans for other suffixes than |
||
[data, xmpp, received, c2s, tls, raw], | ||
[data, xmpp, received, c2s, bosh, raw], | ||
[data, xmpp, received, c2s, websocket, raw], | ||
[data, xmpp, sent, c2s, tcp, raw], | ||
[data, xmpp, sent, c2s, tls, raw], | ||
[data, xmpp, sent, c2s, bosh, raw], | ||
[data, xmpp, sent, c2s, websocket, raw] | ||
]). | ||
|
||
-define(TOTAL_COUNTERS, [ | ||
sessionCount | ||
]). | ||
|
@@ -66,13 +78,9 @@ | |
{[erlang, memory], [function, erlang, memory, ['$dp'], value], | ||
[total, processes_used, atom_used, binary, ets, system]}]). | ||
|
||
-define(GLOBAL_HISTOGRAMS, [[data, xmpp, received, encrypted_size], | ||
[data, xmpp, received, compressed_size], | ||
[data, xmpp, received, xml_stanza_size], | ||
[data, xmpp, sent, encrypted_size], | ||
[data, xmpp, sent, compressed_size], | ||
-define(GLOBAL_HISTOGRAMS, [[data, xmpp, received, xml_stanza_size], | ||
[data, xmpp, sent, xml_stanza_size], | ||
[data, xmpp, sent, message, processing_time] | ||
[data, xmpp, message, processing_time] | ||
]). | ||
|
||
-define(DATA_FUN_METRICS, | ||
|
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note: these should be binaries too.