Summary: | ASTERISK-28403: Add native Prometheus support to Asterisk | ||
Reporter: | Matt Jordan (mjordan) | Labels: | pjsip |
Date Opened: | 2019-05-02 13:40:12 | Date Closed: | 2019-05-21 10:13:08 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Resources/General |
Versions: | GIT | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | In a dockerized environment, Prometheus is the 'go-to' open source project for monitoring applications. It is a bit unique in that, unlike many other monitoring solutions, it operates primarily on a 'pull' model instead of a 'push' model. This actually makes it work uniquely well with Asterisk, as Asterisk's built-in HTTP server allows it to serve up Prometheus statistics natively.
This feature will: # Add a new module to Asterisk that serves up Prometheus compatible metrics # Provide basic attributes about Asterisk (build properties, version, up / reload times, etc.) # Provide APIs for future enhancements and other modules to register metrics that will be served up when a Prometheus server scrapes Asterisk Note that additional feature enhancements will be forthcoming that will add more useful statistics, i.e., channel stats, PJSIP object statistics, etc. | ||
Comments: | By: Matt Jordan (mjordan) 2019-05-02 13:40:36.014-0500 Patch to be up on Gerrit shortly... By: Friendly Automation (friendly-automation) 2019-05-21 10:13:09.440-0500 Change 11337 merged by Friendly Automation: Add core Prometheus support to Asterisk [https://gerrit.asterisk.org/c/asterisk/+/11337|https://gerrit.asterisk.org/c/asterisk/+/11337] By: Friendly Automation (friendly-automation) 2019-05-21 20:42:38.581-0500 Change 11351 merged by Friendly Automation: res_prometheus: Add Asterisk channel metrics [https://gerrit.asterisk.org/c/asterisk/+/11351|https://gerrit.asterisk.org/c/asterisk/+/11351] By: Friendly Automation (friendly-automation) 2019-05-21 21:29:43.921-0500 Change 11373 merged by Friendly Automation: res_prometheus: Add Asterisk endpoint metrics [https://gerrit.asterisk.org/c/asterisk/+/11373|https://gerrit.asterisk.org/c/asterisk/+/11373] By: Friendly Automation (friendly-automation) 2019-05-21 22:21:04.903-0500 Change 11374 merged by Friendly Automation: res_prometheus: Add Asterisk bridge metrics [https://gerrit.asterisk.org/c/asterisk/+/11374|https://gerrit.asterisk.org/c/asterisk/+/11374] By: Friendly Automation (friendly-automation) 2019-05-22 09:17:16.461-0500 Change 11375 merged by Friendly Automation: res_prometheus: Add CLI commands [https://gerrit.asterisk.org/c/asterisk/+/11375|https://gerrit.asterisk.org/c/asterisk/+/11375] By: Friendly Automation (friendly-automation) 2019-05-22 09:22:07.112-0500 Change 11372 merged by George Joseph: res_prometheus: Add metrics for PJSIP outbound registrations [https://gerrit.asterisk.org/c/asterisk/+/11372|https://gerrit.asterisk.org/c/asterisk/+/11372] |