agourlay / omnibus

An HTTP-friendly persistent message bus.
Apache License 2.0
70 stars 4 forks source link

The stats response doesn't provide the global information of topic #12

Closed kidi closed 10 years ago

kidi commented 10 years ago

The stat should provide the complete name of the topic; not only the current node topic name. should be discussed : 1) should add a new originEvent member : original event arrive on this topic; to be add on all stat 2) should add a new topicPath member : complete path to the topic; can be store on a extern member of the list of stats as it will the same for all stats of this topic.

In the current stat response for a /stats/topics/omnibus/bus1 we got a topicName "bus1" but it doesn't help for aggregate stat if there is another /topics/personalbus/bus1; we can't say if it we need to add an entry for the first or the second.

agourlay commented 10 years ago

Number 2 makes sense but I don't understand 1.

kidi commented 10 years ago

Refactor topicName/topicPath, add only a topic member with the full topic path.