[asterisk-bugs] [JIRA] (ASTERISK-28117) stasis: Add statistics for usage when in developer mode

Corey Farrell (JIRA) noreply at issues.asterisk.org
Thu Oct 18 09:18:47 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245189#comment-245189 ] 

Corey Farrell commented on ASTERISK-28117:
------------------------------------------

I wonder if these statistics could be produced by REF_DEBUG logging.  This would not require Asterisk to be compiled any special way to enable (just restart with refdebug=yes in asterisk.conf).  On the other hand it would not lend well to live statistics from Asterisk CLI, though I don't see why you wouldn't be able to run the tool against the refs log while Asterisk is still running.

The only one we probably wouldn't be able to see from refs log is how many messages a subscriber did not receive due to filtering.

> stasis: Add statistics for usage when in developer mode
> -------------------------------------------------------
>
>                 Key: ASTERISK-28117
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28117
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Stasis
>    Affects Versions: 16.0.0
>            Reporter: Joshua C. Colp
>            Severity: Minor
>
> We don't currently have statistics on Stasis usage, and as its used throughout Asterisk now it would be nice to, as a developer, get statistics to understand the actual usage patterns internally.
> Here's what I think would be useful:
> How many messages were created for each message type
> How many subscribers there are on a topic
> How many messages a subscriber did not receive due to filtering
> How many messages a subscriber received
> How many messages were created but did not get published to any subscriber (per message type)



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list