Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
None
-
None
-
None
-
apollo-99-trunk-20130221.165856-207
Description
When using dsubs with wildcard subscriptions the messages are counted multiple times in the aggregated statistics.
With the following configuration:
<topic id="foo.1"/>
<topic id="foo.2"/>
<dsub id="bar" topic="foo.*"/>
I send one message to /topic/foo.1.
Using the REST API, I can get individual topic metrics:
'id' => 'foo.1',
'dsubs' => [
'bar'
],
'metrics' =>
,
So far so good if we assume that the queue_* metrics come from the attached dsub.
'id' => 'foo.2',
'dsubs' => [
'bar'
],
'metrics' =>
,
Even with no messages received, the "queue" is not empty.
Querying the aggregated statistics (topic-metrics), I see:
'queue_items' => 2,
'queue_size' => 268,
So this single message has been double counted.