Projects tigase _server server-core Issues #851
message-router/IN_QUEUE processed total IQ Missing in 7.2 (#851)
Eric Dziewa opened 8 years ago

Tigase Monitor uses and depends on that metric.

wojciech.kapcia@tigase.net commented 8 years ago

It is there, but the name changed and follows this scheme: if the is no subtype = total, for example in this set of statistics:

message-router/IN_QUEUE processed[L] = 129431
message-router/IN_QUEUE processed messages[L] = 115658
message-router/IN_QUEUE processed presences[L] = 481
message-router/IN_QUEUE processed cluster[L] = 0
message-router/IN_QUEUE processed other[L] = 749
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-sasl[L] = 744
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-sasl auth[L] = 372
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-sasl success[L] = 372
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-tls[L] = 5
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-tls starttls[L] = 5
message-router/IN_QUEUE processed IQ[L] = 12544
message-router/IN_QUEUE processed IQ no XMLNS[L] = 1524
message-router/IN_QUEUE processed IQ default-handler[L] = 400
message-router/IN_QUEUE processed IQ jabber:iq:agents[L] = 6
message-router/IN_QUEUE processed IQ http://jabber.org/protocol/disco#items[L] = 12
message-router/IN_QUEUE processed IQ jabber:iq:roster[L] = 612
message-router/IN_QUEUE processed IQ jabber:iq:auth[L] = 18
message-router/IN_QUEUE processed IQ ping[L] = 2226
message-router/IN_QUEUE processed IQ session[L] = 1
message-router/IN_QUEUE processed IQ custom[L] = 9
message-router/IN_QUEUE processed IQ not-yet-supported[L] = 6
message-router/IN_QUEUE processed IQ command[L] = 6086
message-router/IN_QUEUE processed IQ jabber:iq:version[L] = 64
message-router/IN_QUEUE processed IQ bind[L] = 736
message-router/IN_QUEUE processed IQ jabber:iq:roster-dynamic[L] = 12
message-router/IN_QUEUE processed IQ jabber:iq:privacy[L] = 578
message-router/IN_QUEUE processed IQ jabber:iq:register[L] = 128
message-router/IN_QUEUE processed IQ vCard[L] = 32
message-router/IN_QUEUE processed IQ jabber:iq:roster-load[L] = 8
message-router/IN_QUEUE processed IQ pubsub[L] = 18
message-router/IN_QUEUE processed IQ jabber:iq:private[L] = 56
message-router/IN_QUEUE processed IQ http://jabber.org/protocol/disco#info[L] = 12
  • message-router/IN_QUEUE processed[L] is the total of all processed statistics, which includes messages/presences/cluster/other/IQ;

  • message-router/IN_QUEUE processed other[L] is a total of all to message-router/IN_QUEUE processed other[L] * statistics (@message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-sasl[L]@ and message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-tls[L] which have own sub-groups).

  • message-router/IN_QUEUE processed IQ[L] is the total of all XML name spaces of IQs (including "no XMLNS").


Bottomline - you should use message-router/IN_QUEUE processed IQ[L]

Eric Dziewa commented 7 years ago

Where is that [L] coming from? Stats I'm seeing do not have that. I would like to have it to make the string unique.

message-router/IN_QUEUE processed   143126
message-router/IN_QUEUE processed messages  35968
message-router/IN_QUEUE processed presences 27237
message-router/IN_QUEUE processed cluster   0
message-router/IN_QUEUE processed other 9832
message-router/IN_QUEUE processed IQ    70088
message-router/IN_QUEUE processed IQ no XMLNS   9704
message-router/IN_QUEUE processed IQ blocklist  2
message-router/IN_QUEUE processed IQ http://jabber.org/protocol/disco#items 72
message-router/IN_QUEUE processed IQ jabber:iq:roster   31
message-router/IN_QUEUE processed IQ session    1952
message-router/IN_QUEUE processed IQ ping   3542
message-router/IN_QUEUE processed IQ mobile 120
message-router/IN_QUEUE processed IQ http://jabber.org/protocol/bytestreams 12
message-router/IN_QUEUE processed IQ error  156
message-router/IN_QUEUE processed IQ command    31525
message-router/IN_QUEUE processed IQ jabber:iq:version  15
message-router/IN_QUEUE processed IQ bind   3904
message-router/IN_QUEUE processed IQ jabber:iq:privacy  46
message-router/IN_QUEUE processed IQ enable 8
message-router/IN_QUEUE processed IQ jabber:iq:last 3
message-router/IN_QUEUE processed IQ vCard  1186
message-router/IN_QUEUE processed IQ jabber:iq:roster-load  3866
message-router/IN_QUEUE processed IQ pubsub 33
message-router/IN_QUEUE processed IQ http://jabber.org/protocol/disco#info  13903
message-router/IN_QUEUE processed IQ jabber:iq:private  8
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-sasl    7784
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-sasl auth   1955
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-sasl success    1955
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-sasl response   1937
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-sasl challenge  1937
message-router/IN_QUEUE processed other http://jabber.org/protocol/compress 13
message-router/IN_QUEUE processed other http://jabber.org/protocol/compress compress    13
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-tls 2035
message-router/IN_QUEUE processed other urn:ietf:params:xml:ns:xmpp-tls starttls    2035
Eric Dziewa commented 7 years ago

I see now, your log is coming from tigase-console.log. Mine is coming from JMX. Can we update JMX so they are the same?

wojciech.kapcia@tigase.net commented 7 years ago

We could, but this should be additional parameter (so we won't break lots of installations depending on non-suffixed version)…

However

Eric Dziewa wrote:

I would like to have it to make the string unique.

[...]

wouldn't adding \s{2,} work?

Eric Dziewa commented 7 years ago

No, it's not written in a way where that is easily do-able. I've worked around it another way.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
5697
Version
tigase-server-8.0.0
Spent time
2h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#851
Please wait...
Page is in error, reload to recover