Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Prometheus PJSIP Outbound Registration Metrics. More...
#include "asterisk.h"
#include "asterisk/stasis_message_router.h"
#include "asterisk/stasis_system.h"
#include "asterisk/res_prometheus.h"
#include "prometheus_internal.h"
Go to the source code of this file.
Functions | |
int | pjsip_outbound_registration_metrics_init (void) |
Initialize PJSIP outbound registration metrics. More... | |
static void | pjsip_outbound_registration_metrics_unload_cb (void) |
Variables | |
static struct prometheus_metrics_provider | provider |
Prometheus PJSIP Outbound Registration Metrics.
Definition in file pjsip_outbound_registrations.c.
int pjsip_outbound_registration_metrics_init | ( | void | ) |
Initialize PJSIP outbound registration metrics.
0 | success |
-1 | error |
Definition at line 342 of file pjsip_outbound_registrations.c.
References ao2_cleanup, ast_sip_get_sorcery(), ast_sorcery_instance_observer_add(), ast_sorcery_instance_observer_remove(), ast_sorcery_observer_add(), ast_sorcery_observer_remove(), ast_system_registry_type(), ast_system_topic(), cleanup(), NULL, observer_callbacks_registrations, prometheus_metrics_provider_register(), provider, registration_observer, router, stasis_message_router_add(), and stasis_message_router_create.
Referenced by load_module().
|
static |
Definition at line 323 of file pjsip_outbound_registrations.c.
References ast_sip_get_sorcery(), ast_sorcery_instance_observer_remove(), ast_sorcery_observer_remove(), NULL, observer_callbacks_registrations, registration_observer, router, and stasis_message_router_unsubscribe_and_join().
|
static |
Definition at line 337 of file pjsip_outbound_registrations.c.
Referenced by pjsip_outbound_registration_metrics_init().